GithubHelp home page GithubHelp logo

consolegl's Introduction

ConsoleGL

ConsoleGL is a rendering engine which makes it easier to render stuff in the console with Color.

Get Started

Need to get up and running with ConsoleGL? Here is a quick template which could help you out.

First Install ConsoleGL

$ gem install ConsoleGL

If you already have ConsoleGL Installed then check for ConsoleGL Updates

$ gem update ConsoleGL

Once you have the gem installed/updated make a new ruby file and paste this in

require 'ConsoleGL'

counter = 0
currentColor = Color.WHITE

while true do

    if counter == 0
        currentColor = Color.WHITE
    elsif counter == 1
        currentColor = Color.GREEN
    else
        currentColor = Color.RED
    end



    Console.Draw(Console.BigSquareMiddle(currentColor))

    if counter > 4
        counter = 0
        Console.NewLine
    else
        counter += 1
    end

end

Change Log

Version 1.1.1

Fixed Input Class

Community

Want to be part of the Community? Look Here!

Discord

Join the Official Discord Server of ConsoleGL: TopTecholgies

Contributors


OkiStuff

consolegl's People

Contributors

okistuff avatar

Stargazers

 avatar

Watchers

 avatar  avatar

consolegl's Issues

About Wiki

Question

Color and Input both only have one thing right now on the wiki, is there going to be more like Input.GetAnyKey or Color.LastColor (idk what color and input should have im just making stuff up)

151,155 not in self

on line 151 and 155 you can see the functions SetConsoleColor and ResetConsoleColor() dont have self.

How to exit on pressed key

Question

The title explains it already but I have this code that I want to end once a key is pressed.

Color not working

After updating to ConsoleGL 1.0.9 every time I add any color to anything
Screenshot (97)
It doesnt show anything (cant post a screenshot because it automatically closes when I open the rb file)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.