View Single Post
  #1 (permalink)  
Old 09-24-2008, 12:47 PM
nmuntz nmuntz is offline
Newbie
 
Join Date: Sep 2008
Posts: 1
Credits: 0
Rep Power: 0
nmuntz is on a distinguished road
Lightbulb PyGame Generate Background?

Hi,

I am fairly new to game programming need some help with the logic of how to "generate a simple "skyline background" of buildings with different sizes.
Each time the program is launched, it should generate buildings of different sizes.

I need help with the logic of doing this, how should I generate buildings inside the screen, define limits, and so on.

And what would be the easiest way to do this? Should I use images for this or is it easier to generate rectangular shapes?

Thanks a lot in advance.
Reply With Quote

Sponsored Links