mercredi 26 mars 2014

creating random objects using pygame


Vote count:

0




i am developing a game in python 3.3 using pygame. can i please have a code which can do the following : create a screen of size say 800 * 800. On the screen rectangles of a fixed size of 30*30 appear from the right and move slowly towards the left. as soon as they collide with the left wall, they disappear. the rectangles should come at random heights and fixed speed.


Thanks !



asked 35 secs ago






Aucun commentaire:

Enregistrer un commentaire