Discuss Scratch

rylie100
Scratcher
19 posts

How do you make levels?

I'm trying lo make a level game but I have no idea how ! I told my classmates I was making one so please tell me!
drmcw
Scratcher
1000+ posts

How do you make levels?

Depends what you mean by level? You could start with a variable called level and set it to 1 then when you want to change the level
change [level v] by (1)
If instead of
when green flag clicked
you have
when I receive [Next level v]
You can then change level with
broadcast [Next Level v]
It's then a case of changing backdrops for different levels, making enemies move faster as level increases or whatever it is you want your levels to do.

Last edited by drmcw (Dec. 23, 2013 08:33:25)


10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
rylie100
Scratcher
19 posts

How do you make levels?

Which one do I use? Like minecraft and like cutiem179

Last edited by rylie100 (Dec. 22, 2013 18:12:34)

jontmy00
Scratcher
500+ posts

How do you make levels?

rylie100 wrote:

Which one do I use? Like minecraft and like cutiem179
Are those the names of your broadcasts? You have to create a new one, then follow the post above.
drmcw
Scratcher
1000+ posts

How do you make levels?

rylie100 wrote:

Which one do I use? Like minecraft and like cutiem179
I don't know what you mean by that I'm afraid. Can you share your project?

Last edited by drmcw (Dec. 23, 2013 08:40:56)


10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
pigletdiglet
Scratcher
100+ posts

How do you make levels?

You can do, if you're making a platform game…

Say this is a character:
___________________________________________________

o o
——

_____________________________________-
And when he moves to the end of the screen, say for example,
when green flag clicked
forever

if <(x position) > [220]> then

broadcast [NEXT LEVEL v]
end
end

Then…

when I receive [NEXT LEVEL v]
switch backdrop to [next level backdrop v]

drmcw
Scratcher
1000+ posts

How do you make levels?

pigletdiglet wrote:

You can do, if you're making a platform game…

Say this is a character:
___________________________________________________

o o
——

_____________________________________-
And when he moves to the end of the screen, say for example,
when green flag clicked
forever

if <(x position) > [220]> then

broadcast [NEXT LEVEL v]
end
end

Then…

when I receive [NEXT LEVEL v]
switch backdrop to [next level backdrop v]
You'll need to set x to -220 say in the when I receive otherwise it will keep broadcasting next level.

Last edited by drmcw (Dec. 23, 2013 16:01:03)


10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
pigletdiglet
Scratcher
100+ posts

How do you make levels?

drmcw wrote:

pigletdiglet wrote:

You can do, if you're making a platform game…

Say this is a character:
___________________________________________________

o o
——

_____________________________________-
And when he moves to the end of the screen, say for example,
when green flag clicked
forever

if <(x position) > [220]> then

broadcast [NEXT LEVEL v]
end
end

Then…

when I receive [NEXT LEVEL v]
switch backdrop to [next level backdrop v]
You'll need to set x to -220 say in the when I receive otherwise it will keep broadcasting next level.

Yeah I forgot to include that

rylie100
Scratcher
19 posts

How do you make levels?

Hu? Still don't get it.
drmcw
Scratcher
1000+ posts

How do you make levels?

Does this help?

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
13taiwom
New to Scratch
3 posts

How do you make levels?

Hey guys,
How do you create levels on Pac-man games. I mean, I understand what your saying- but how do I produce a signal -giving it permission- to change the level?
e.g. When it has 8 points how do I change the level?
and…
Thanksxxx
rylie100
Scratcher
19 posts

How do you make levels?

13taiwom wrote:

Hey guys,
How do you create levels on Pac-man games. I mean, I understand what your saying- but how do I produce a signal -giving it permission- to change the level?
e.g. When it has 8 points how do I change the level?
and…
Thanksxxx




me to

Powered by DjangoBB