Click to See Complete Forum and Search --> : SDL side-scroller


jrcow97
01-29-2002, 04:07 PM
I'm planning out how to make a side-scroller in SDL for an RPG/side-scroll action. Does anyone have a simple example of SDL that loads a large bitmap onto a screen, and have a sprite in the center. It should trap a keypress events left, and right, and when it does, it scrolls the image accordingly. Hey, if anyone's interested in helping develope games, go to Little Green Men Entertainment (http://lgme.scurvypenguin.net) The site is lead by Bakemono.

kmj
01-29-2002, 09:36 PM
I suggest you do a search for "SDL" at sourceforge and see what you can find. I know a year or two ago, I found a program that used SDL. didn't do much more than place a sprite on the screen and move it around, at the time I checked it. Forgot the name of the project, now; sorry. Anyway, you should find some SDL code there, in various levels of development.

I'd love to have some examples of SDL code on CCAE (http://www.codeexamples.org), hint hint. :D