11.1.1 Projectile Variations

Besides basic gameplay, standard 2D shooting games often feature character enhancements. For example, picking up an “Energy Ball” might strengthen the player’s abilities or change the missiles fired. There are many types of projectile variations: simple damage increase, size increase, quantity increase, or shape changes.

We will use a simple example to teach you how to increase the number of bullets or change their appearance. We will demonstrate with the simplest method. The image below shows the block for firing projectiles:

Let’s start with changing the appearance. First, duplicate the “on [A] button [pressed]” block and change it to “B button.”

Next, change the projectile image in the “on [B] button [pressed]” block, and test the effect using the Game Simulator.

What if you want a Shotgun (Spread) effect? It’s very simple: just add a few more projectile blocks inside the container. (=゚Д゚=) ▄︻┻┳━ ·…`.

Leave a comment

Your email address will not be published. Required fields are marked *