Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Problem with script, simultaneous actions not working
- EROE30
- Scratcher
2 posts
Problem with script, simultaneous actions not working
I'm working on a small game project and I have a problem.
The idea of my game is that a monkey should collect the falling stars but avoid the falling skates. The different colour stars give a different amount of points. When a star or a skate hits the monkey there should be a) score going either up or down, b) a sound and c) the hitting object should disappear.
The problem is that as the objects are made to disappear when hitting the monkey © the parts a (score) and b (sound) stop working.
Can anyone help me with this?
You can see my game via this link: http://scratch.mit.edu/projects/26361443/
Thank you in advance!
EROE30
The idea of my game is that a monkey should collect the falling stars but avoid the falling skates. The different colour stars give a different amount of points. When a star or a skate hits the monkey there should be a) score going either up or down, b) a sound and c) the hitting object should disappear.
The problem is that as the objects are made to disappear when hitting the monkey © the parts a (score) and b (sound) stop working.
Can anyone help me with this?
You can see my game via this link: http://scratch.mit.edu/projects/26361443/
Thank you in advance!
EROE30
- lederniersamourai
- Scratcher
500+ posts
Problem with script, simultaneous actions not working
The hitting object can disappear with “hide” then change the score, then wait the song stops, then stop the hitting object.
- Ante22
- Scratcher
100+ posts
Problem with script, simultaneous actions not working
You should add play sound script and change score script in stars and skates.
And 1 other thing, check this and click see inside, try to move characters with arrows. http://scratch.mit.edu/projects/26148581/
This shoud help you make your movement smooth. It's very easy.
And 1 other thing, check this and click see inside, try to move characters with arrows. http://scratch.mit.edu/projects/26148581/
This shoud help you make your movement smooth. It's very easy.
- Discussion Forums
- » Help with Scripts
- » Problem with script, simultaneous actions not working