Project

ConsoleGL

0.0
No commit activity in last 3 years
No release in over 3 years
Rendering Engine for Ruby kind of similar to OpenGL. It runs in the console: 1.1.1 Updates: Fixed Keyboard Input. Please see the wiki on the github repo to learn how to use it
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

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