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

#1 2011-07-10 02:48:55

saroon92
New Scratcher
Registered: 2011-07-10
Posts: 5

I need help please..!

im doing a game with 3 levels but i dunno how to move to other level with changing the score and everything and i want to show more animation in the other levels how? please help

Offline

 

#2 2011-07-10 10:11:22

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: I need help please..!

This sounds like a lot of work...in order to help, I'll probably need more details:

1) Are your levels in the background? or are they a sprite?
2) How does the score change?  What events cause this to happen?
3) What type of animation do you want? Transition? Moving level parts? Enemies?

Answer these questions and I should be able to tell you everything  you need to know.


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#3 2011-07-10 12:00:01

saroon92
New Scratcher
Registered: 2011-07-10
Posts: 5

Re: I need help please..!

1)yes level in background and and i want to change the sprite from level to level
2)for example , level 1 you have to get the score 10 to go to the next level  and for level 2 you have to reach the score to 20 and for level 3 the score is increasing to 30
3)i want moving level parts or transition
Thank you

Offline

 

#4 2011-07-10 12:01:08

daroflcopter
Scratcher
Registered: 2010-07-06
Posts: 13

Re: I need help please..!

I just tried using the block function, but it didnt work. I'm going to replace them with something I can do. [When green flag clicked] [If (score)=(your amount)] [Set (platform) costume to (level 2)]
[When green flag clicked] [If (score)=(Your amount)] [Set (score) to (0)]
That was the level change anyway, the (score) is a variable btw. If you want, I could tell you how the points work.


http://i.imgur.com/VwYRW.png

Offline

 

#5 2011-07-10 12:16:31

saroon92
New Scratcher
Registered: 2011-07-10
Posts: 5

Re: I need help please..!

can you tell me how the points work please?

Offline

 

#6 2011-07-10 12:52:39

daroflcopter
Scratcher
Registered: 2010-07-06
Posts: 13

Re: I need help please..!

saroon92 wrote:

can you tell me how the points work please?

Ok, You need to creat a variable called "points" for a start.
If there are point bubbles, it can go like:
[When green flag clicked] [If (touching sprite-prize bubble(or whatever))] [ Change (points) by (Your amount)] I think that should be it, but there may be more I haven't covered.


http://i.imgur.com/VwYRW.png

Offline

 

#7 2011-07-11 07:33:07

Spiro0
Scratcher
Registered: 2011-04-22
Posts: 22

Re: I need help please..!

AtomicBawm3 wrote:

1) Are your levels in the background? or are they a sprite?
2) How does the score change?  What events cause this to happen?
3) What type of animation do you want? Transition? Moving level parts? Enemies?

That's right. What are the answers?


I LOVE PURPLE!!!!!!!!!!!!!! 8 |||||||||||||||||||||||||||

Offline

 

#8 2011-07-11 10:40:47

saroon92
New Scratcher
Registered: 2011-07-10
Posts: 5

Re: I need help please..!

Spiro0 wrote:

AtomicBawm3 wrote:

1) Are your levels in the background? or are they a sprite?
2) How does the score change?  What events cause this to happen?
3) What type of animation do you want? Transition? Moving level parts? Enemies?

That's right. What are the answers?

This is the answer:1)yes level in background and and i want to change the sprite from level to level
2)for example , level 1 you have to get the score 10 to go to the next level  and for level 2 you have to reach the score to 20 and for level 3 the score is increasing to 30
3)i want moving level parts or transition
Thank you

Offline

 

#9 2011-07-11 11:51:42

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: I need help please..!

Do your points reset after each level? It doesn't change much in this script, but it would be nice to know:

When Flag Clicked
set points to 0
set level to 1
forever
  if points>level*10-1:
     set points to 0
     change level by 1
  else
     script of character here


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

Board footer