This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-04-07 18:04:06

Dr_Cranberry
New Scratcher
Registered: 2011-04-06
Posts: 2

How to I make a scene that puts me in the next level?

So for my project I wanna make the ability for a transporter to take me to the next level so how do I make it so that when my character goes into the transporter a black screen with the words: LEVEL 2! Will appear?

Bonus question:For my other project How do I make a level up system so that when my character kills an enemy the bar will fill and when its full the words: LEVEL UP! Will appear?

Offline

 

#2 2011-04-07 22:12:41

kingofdallamas
Scratcher
Registered: 2010-03-07
Posts: 500+

Re: How to I make a scene that puts me in the next level?

Script for main sprite:
When green flag clicked
forever
if touching transporter
broadcast level two and wait
end script

Level two sprite's scripts:
When green flag clicked
hide
go to front
When I receive level two
show
wait two secs
hide

You can have another option of just dimming the level two sprite with a nive effect to it, with using the script set ghost effect to 100 to hide it, and then slowly forever change ghost effect by -10 to show up, and then change ghost effect by 10 to go back hiding. Hope you found this helpful!


http://i853.photobucket.com/albums/ab99/Gilgamesh1192/Ninja%20Saga/ElementalJutsus2.gifhttp://i27.photobucket.com/albums/c192/BoomKaTish/GIF/thgfhgfhfhgf.gif
ハロー友だち!

Offline

 

#3 2011-04-08 09:51:01

SCRATCHERMASTER
New Scratcher
Registered: 2011-04-08
Posts: 1

Re: How to I make a scene that puts me in the next level?

For Your Bonus Question, You could make a variable. Every time you defeat an enemy, use the block: add (How many EXP or level up points the enemy gives you) to Variable EXP (Or What ever you called it)

Offline

 

#4 2011-04-16 23:56:29

armaghan12
Scratcher
Registered: 2011-03-27
Posts: 4

Re: How to I make a scene that puts me in the next level?

: (

Offline

 

Board footer