thecplusplusguy

Simple sidescroller game - README

Jul 14th, 2011
2,097
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. This is the source code for the simple side scroller game. Basically everything is like we left in the tutorial, except, I added a lots of comments and I changed some very minor things.
  2. The compile works like it works before -lSDL and -lSDL_ttf flag is needed.
  3. To run it, you need a 2000x640 background called endless.bmp (which we made earlyer the sidescrolling tutorial)
  4. A font called air.ttf
  5. An image called enemy.bmp (80x40)
  6. An image called player.bmp (200x50)
  7. An image called bullet.bmp (10x10)
  8. An image called blocks.bmp (which can contain any number of 50x50 tiles)
  9. Feel free to change, make the source code better.
  10.  
  11. And a few last thing:
  12. I don't thing, that this series goes too well, I made too much mistakes and I don't explained a lot of things clearly (according to my opinion), and it took 18 tutorial to finish it. Basically this game has the same functionality than I showed you in the FINAL RESULT tutorial, but the loading other map function is not implemented (obviously you can make it with a few minor changes).
  13. Read the comments on the files, if you don't understand something, if it doesn't help you, feel free to comment or send a private message to me, and I try my best to help you.
  14. Thank you for all of my subscribers I really appreciate it, and thanks all of the kindly comments, good rates I get.
  15.  
  16. http://www.youtube.com/user/thecplusplusguy
Advertisement
Add Comment
Please, Sign In to add comment