added basic format for powerups it-
1)randomly spawns a circle in a rectangular region in the grey circle.(to be changed to multiple different colour circles)
2) circle spwans for 3 seconds and then disappears for a random cooldown of 6-12 seconds.
3)Circle to be replaced by sprites later.
changes made.
added constant "spawn" in constants.py
2.made a new class for powerups with an init and update funcs.
in render functions, called the function to update powerup.
further changes to be made
add touch function which checks touching with striker.
2.replace with sprites.
add multiple powreups.
Help =Can we extend the rectangular region to be a circle of the grey region, any ideas on how to do it?
added basic format for powerups it- 1)randomly spawns a circle in a rectangular region in the grey circle.(to be changed to multiple different colour circles) 2) circle spwans for 3 seconds and then disappears for a random cooldown of 6-12 seconds. 3)Circle to be replaced by sprites later.
changes made.
further changes to be made
Help =Can we extend the rectangular region to be a circle of the grey region, any ideas on how to do it?