Help with Directional Projectile Loops

Hi Coders! :slight_smile:

I’ve been playing a game on Steam called “Vampire Survivors” and I want to recreate the projectile effect (see gif)

GIF 11-08-2023 15-56-19

arcade-Zombie-Survivor

I think I need to use the timer block (from extensions) but I’m not sure how I can loop the projectiles so that they increase their firing speed/amount of projectiles from pickups.

Please advise :slight_smile:

Woody

1 Like

If you’re making a vampire survivors type game check out Sophie’s Castle Adventure (Vampire Survivor like game) or my take Robot Survival v10-5

2 Likes

Better way to share the game so far so you guys can see the code :slight_smile:

2 Likes

You can use a forever block for this. Here’s some sample code for you:

Press A to increase the number of projectiles in each burst, and press B to decrease the time between shots. That example also has comments in the code explaining things

1 Like

The code looks pretty solid just change the Projectile_One_Timer variable

1 Like