On Wed, August 15, 2007 4:08 am, Kevin wrote: > You could always try Bible Dave, too (yeah yeah, religious, still a > pretty useful game). http://pygame.org/projects/20/285/ > > As far as the subject of side-scrolling games goes, I'd love to see a > really good tutorial some day. It seems to be one of the most "want to do" > 2D > games, even though it's rather hard compared to something like Asteroids.
Be glad she isn't proposing to write an MMORPG! A side-scroller is another case where it's helpful to think of object locations in terms of a set of absolute world coordinates, rather than screen coordinates. A good way to get started building one would be to load some animation frames from an image into an object -- you're welcome to raid the "nixie" module from the code I've got online, if it's clear enough to be comprehensible -- and then try putting a few objects into a game-world object such that you can scroll the screen independently from the objects' coordinates. Only then would I worry about game logic like gravity, collisions, and player control. If I were doing a tutorial or building a sidescroller, that's how I'd go about it.
