I need help on my Mario Game: http://scratch.mit.edu/projects/Dan_Test/337419
I have two problems:
-First when you press the green flag, sometimes the Goomba automatically starts under Mario.
-Second, sometimes the ? boxes don't change when you hit them.
Any help would be great.
Offline
Dan01 wrote:
I need help on my Mario Game: http://scratch.mit.edu/projects/Dan_Test/337419
I have two problems:
-First when you press the green flag, sometimes the Goomba automatically starts under Mario.
-Second, sometimes the ? boxes don't change when you hit them.
Any help would be great.
The thing that I did for the sensing of the coin block was changing the top test y position to:
<set y to( (( <{ gravity of Mario }> <+> 3 ))
I think this gave it the little extra height it needed. I could not figure out the Goomba problem however.
Offline
It works fine to me...
Offline
shadow_7283 wrote:
Dan01 wrote:
I need help on my Mario Game: http://scratch.mit.edu/projects/Dan_Test/337419
I have two problems:
-First when you press the green flag, sometimes the Goomba automatically starts under Mario.
-Second, sometimes the ? boxes don't change when you hit them.
Any help would be great.The thing that I did for the sensing of the coin block was changing the top test y position to:
<set y to( (( <{ gravity of Mario }> <+> 3 ))
I think this gave it the little extra height it needed. I could not figure out the Goomba problem however.
Work's better, but it still isn't perfect - sometimes it works, sometimes it doens't =\ Anyway, thanks for the help.
Offline
Dan01 wrote:
Still need help to make this perfect..
I'm uploading a perfect version now! You just needed to move the death variable, location delete, and location add (in the goomba) under the script that set the position of the goomba. That fixed the goomba's problems and there were random waits lying around in the box's scripts which I removed. Hope that helps.
Offline
demosthenes wrote:
Dan01 wrote:
Still need help to make this perfect..
I'm uploading a perfect version now! You just needed to move the death variable, location delete, and location add (in the goomba) under the script that set the position of the goomba. That fixed the goomba's problems and there were random waits lying around in the box's scripts which I removed. Hope that helps.
Your solution was better than mine, but I looked at it and the "?" blocks still won't work. Hmmm . . .
Offline
You're right, I managed to make a final version that works!
Offline