Search results
Shooting Projectiles with Trajectories. In Scratch, the Trajectory formula is used for projects such as: Rocket or baseball simulators; Tank games; Anything that includes the curve of a projectile; The formula(e) calculate(s) where on the screen the projectile should be.
2D Shooter Scratch Game: In this instructable, I'm going to be showing you how to make a 2D shooter scratch game. It is pretty simple to make, but hopefully, you'll learn some things along the way, and soon make your own scratch games!
I need to know how to make the player shoot a projectile when clicking for a game. Does anyone know how to do that?
Make lists of all properties of projectiles on the screen, such as its postion, damage, velocity, lifespan, you name it, make a list for it. A hitbox will also be necessary. Each enemy has a hitbox defined by parameters - Clone's X +20 to X-20 for example.
Second, i will like to add a magic attack into the game like shooting magic balls or beams at your enemy. This is my code for my melee attack: when f key pressed. if key f pressed? and touching enemy slime? then wait 3 / fps secs change enemy slime health by -50.
Projectiles are used in a wide variety of games, such as shooters, and are not very complicated to make. This details have to make a projectile engine on Scratch. Script. Here is the script for the projectile engine:
Project Downloading is when the code of a Scratch project is downloaded from the Scratch Website to the user's computer. This allows a user to work on a project in Scratch 1.4 , Scratch 2.0 and Scratch 3.0 offline editors , or other programs that can read Scratch files.