Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » I need help with a game script
- cupcake1502
-
Scratcher
100+ posts
I need help with a game script
Game link: https://scratch.mit.edu/projects/620913651/
How do I make the bullet shoot out of all the cannons for all 30 tanks?
If you give me some code that works, I'll give you a shoutout on my profile and give you credit on that project.
Thanks,
@cupcake1502
How do I make the bullet shoot out of all the cannons for all 30 tanks?
If you give me some code that works, I'll give you a shoutout on my profile and give you credit on that project.
Thanks,
@cupcake1502
- Atocatnow
-
Scratcher
23 posts
I need help with a game script
Hi, I looked at the game, but I don't quite understand what you are saying can you be just a little more specific
when this sprite clicked
if <[cat] = [cat]> then
say [Pretty cat] for (2) secs
broadcast [Friend v]
end
- Atocatnow
-
Scratcher
23 posts
I need help with a game script
It doesn't look like 30 tanks just five. Maybe separate the cannons and create more bullets and like kind of assign them to the separate tanks.
Or make more bullets and have them go near the tanks
Or make more bullets and have them go near the tanks
- cIoudyness
-
Scratcher
500+ posts
I need help with a game script
that's an insane amount to ask for lmao
- deck26
-
Scratcher
1000+ posts
I need help with a game script
If all the cannons are attached to the same sprite then the bullets just need to have different offsets for their startign directions - eg one points in the same direction as the sprite and another points in that direction + 15 degrees or whatever. You don't say what controls which cannons are firing.
- cIoudyness
-
Scratcher
500+ posts
I need help with a game script
If all the cannons are attached to the same sprite then the bullets just need to have different offsets for their startign directions - eg one points in the same direction as the sprite and another points in that direction + 15 degrees or whatever. You don't say what controls which cannons are firing.(i still feel that asking someone for the largest part of your project may be a bit much, but anyways)
how would you store bullet direction offsets? just a list containing strings of directions (or maybe multiple lists but that just seems unprofessional)
- deck26
-
Scratcher
1000+ posts
I need help with a game script
Impossible to answer without more info from the OP. But that's me done in the forum for up to a week.If all the cannons are attached to the same sprite then the bullets just need to have different offsets for their startign directions - eg one points in the same direction as the sprite and another points in that direction + 15 degrees or whatever. You don't say what controls which cannons are firing.(i still feel that asking someone for the largest part of your project may be a bit much, but anyways)
how would you store bullet direction offsets? just a list containing strings of directions (or maybe multiple lists but that just seems unprofessional)
- cupcake1502
-
Scratcher
100+ posts
I need help with a game script
It doesn't look like 30 tanks just five. Maybe separate the cannons and create more bullets and like kind of assign them to the separate tanks.scroll down and look at the remaining 25 tanks
Or make more bullets and have them go near the tanks
- Discussion Forums
- » Help with Scripts
-
» I need help with a game script



