Discuss Scratch
- Discussion Forums
- » Requests
- » SWITCHING LEVELS
- smileyalex
- Scratcher
16 posts
SWITCHING LEVELS
ok so i made a game and i want to switch levels i made it so if the next level sprite is clicked, it will broadcast level2 and the player will go to its starting place for the next level. The code for the player is below. but when i click the sprite, it god to its place but then drops to the bottom. i think its because i set it so it god their only if your clicking the next level bottom, but i don't know how to fix it. plz help the code i used for the player to go to its place is down below.
plz help.
-smileyalex
when I receive [ v]
go to x: () y: ()
show
plz help.
-smileyalex
- danielhal
- Scratcher
100+ posts
SWITCHING LEVELS
ok so i made a game and i want to switch levels i made it so if the next level sprite is clicked, it will broadcast level2 and the player will go to its starting place for the next level. The code for the player is below. but when i click the sprite, it god to its place but then drops to the bottom. i think its because i set it so it god their only if your clicking the next level bottom, but i don't know how to fix it. plz help the code i used for the player to go to its place is down below.when I receive [ v]
go to x: () y: ()
show
plz help.
-smileyalex
I could help but this isn't enough code, I'd need to see the full project
- danielhal
- Scratcher
100+ posts
SWITCHING LEVELS
ok so i made a game and i want to switch levels i made it so if the next level sprite is clicked, it will broadcast level2 and the player will go to its starting place for the next level. The code for the player is below. but when i click the sprite, it god to its place but then drops to the bottom. i think its because i set it so it god their only if your clicking the next level bottom, but i don't know how to fix it. plz help the code i used for the player to go to its place is down below.when I receive [ v]
go to x: () y: ()
show
plz help.
-smileyalex
Fixed it!when I receive [Level 2 v]
set [gravity v] to [0]
go to x: () y: ()
show
notwhen I receive [ v]
go to x: () y: ()
show
Click HERE for the fix!
Hope I helped!
Last edited by danielhal (May 27, 2014 09:05:09)
- smileyalex
- Scratcher
16 posts
SWITCHING LEVELS
Again thanks so much check out the new improved project HERE
- Discussion Forums
- » Requests
- » SWITCHING LEVELS