ChicoTeam / chingu

OpenGL accelerated 2D game framework for Ruby
http://ippa.se/chingu
GNU Lesser General Public License v2.1
1 stars 0 forks source link

example7: loop back to start #8

Closed russplaysguitar closed 13 years ago

russplaysguitar commented 13 years ago

The example ends after getting through all the fills (using the space bar). It would be nice if it looped back to the beginning.

natedanner commented 13 years ago

Now loops back to beginning. Placed the pushes into a function and added a class wide integer variable to get it to loop back around.