1

So I am creating a game TD like game and I want it to be when a certain number of kills are achieved you get a grenade power-up. So I wanted a grenade image to visually appear when you achieve the required amount of kills and also be able to have multiple grenades at once. In this case I want to have another grenade image next to the previous one but when I code it, it just ends up shooting the grenade image of the screen. It might be obvious but I am a beginner. Can anyone help? The code is in the main loop.

if powerup_counter >= 2:
            grenade_counter += 1
            screen.blit(grenade_small, (90, -10))
night_ID
  • 11
  • 1
  • Can you please explain "TD like game". This is not really enough code to help - there is no error in the included code. Maybe you could also explain "it just ends up shooting the grenade image of the screen" - what is "it", how does it "shoot"? Did you mean this *literally* or *figuratively*? – Kingsley Jun 14 '20 at 22:54

0 Answers0