You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a game of asteroids, thrown together one Friday afternoon in Lua, then ported word-for-word to C++ to teach myself how to use Irrlicht in 2d.
I can't recommend either as examples of how to code 2d games. If you base anything off them, you'll pick up all sorts of bad habits. Be warned. Having said that, as not-too-complex examples of basic syntax, there might be something in there. animage.cpp is pretty useful, I plucked the main draw2DImage function off a forum post.