examples
examples copied to clipboard
:space_invader: Example apps using Ruby 2D
Ruby 2D Examples
Color Dodge Game
Try to survive the endless wave of colored squares! Stay alive as long as you can and your score will go up! Touch sufficient colored squares to empty your life bar and you'll have to start again!
KeyEvent
An example using the on method to capture KeyEvents.
It displays the keys you type, like stamps on the screen.
Toggle Switch
An example of a simple switch that when toggled will change its appearance to reflect its state as well as change the background color of the application.
Triangle Game
A simple "Triangle Game" that allows you to move a Roguelike '@' around the window (and off of it).