Im trying to make a soccer game with multiple ppl on each team but im having some trouble... all the sprites move at the same time when i try to only control 1. i want to be able to switch between sprites to i can change characters to make the game more intense
Offline
Lol. This would require variable usage!
If 1 pressed
set var to 1
if 2 pressed
set var to 2
__
etc etc
__
Then:
player sprite 1
if var = 1
move
else
dont move
player sprite 2
if var = 2
move
else
dont move
etc etc
(It's in short hand)
Offline
You could use the script above, or make a sprite like a blue circle. When 1 clicked go to sprite1, then use the if touching block for the movement script. Or you could use variables AND a sprite for this, when space pressed set variable to pick random 1 to 11. 1 being sprite1, 2 being sprite2, etc. This should also work with ssss's suggestion
Offline
This should be in All About Scratch.
Offline
MoreGamesNow wrote:
This should be in All About Scratch.
It could be considered advanced
Offline
SheppardProductions wrote:
MoreGamesNow wrote:
This should be in All About Scratch.
It could be considered advanced
No.
Advanced Topics are topics that deal with Scratch as a programming language.
Only VERY few topics that could be in AAS, are in AT. But that’s because their VERY advanced.
Unlike this.
Offline
henley wrote:
SheppardProductions wrote:
MoreGamesNow wrote:
This should be in All About Scratch.
It could be considered advanced
No.
Advanced Topics are topics that deal with Scratch as a programming language.
Only VERY few topics that could be in AAS, are in AT. But that’s because their VERY advanced.
Unlike this.
If it bugs you so much, report it so someone can get it moved.
Offline
Thanks, I think the variable idea would work. Im also running into another problem, im having trouble creating a PK shootout and its taking a lot of time. any suggestions?
Offline