Discuss Scratch

16jpulsipher4
Scratcher
5 posts

Clones shooting

I have currently been working on a little space shooter, and I've finally finished world 1. However, I'm running into some issues with world 2- I want the enemies (Clones that I randomly spawn on the edges) to shoot at the player, but it seems to be beyond my problem solving skills.
Link
drmcw
Scratcher
1000+ posts

Clones shooting

You want the start x and y position and direction for the shot, so create 3 global variables then when you want a clone to shoot, set the variables to the shooting clones x,y positions and direction and then create clone of laser shot. In the laser shot sprite the when I start as clone script should set the clone's x,y position and direction from the global variables. You have all the rest.
jamy_hensley
Scratcher
100+ posts

Clones shooting

My ghost shooter game might be helpful for what you want to do. See the link below:

https://scratch.mit.edu/projects/67741360/

When your ennemy shoots at you the sprite should change costume from ship to laser. I based my game from the logfather project Firing clones from clones.

Powered by DjangoBB