8000 GitHub - sahara2001/rail_road_tutorials
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sahara2001/rail_road_tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rail_road_tutorials

This messy little demo might give you some idea about how gosu works.

Personal Understanding

Gosu engine will loop and update each object in gosu framework after they are initialized. In each iteration (20 ms), gosu called update and draw method of objects in gosu in order to update status of objects and render them as graphics on your computer.

In this small game, only WhackARuby class is in gosu. Other classes such as Player class define two functions for rendering object and update object to get involved in the game (here they are named draw). In draw function, we use built in function in gosu image class to render player (member defined in Player class). update here is not implemented cuz I move its functionality to update function in WhackARuby class.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0