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

#1 2008-04-20 13:11:24

Leethaxorz
Scratcher
Registered: 2008-04-12
Posts: 1

Scenes/Rooms/Areas?

I'm not going to make this too complicated.
Scratch is great, but when you try making great games with scratch, you become swamped with scripts like the following:
[blocks]<when I receive[ example[/blocks]
[blocks]<hide>[/blocks]
or
[blocks]<show>[/blocks]

Why? It's because if you try to make menus, multiple levels, or simply single levels with lots of sprites, then for every sprite that appears, you'll have to tell it to show when the greenflag is clicked, and hide when something else happens.
To me, this is a huge nuisance. But when I started using Adobe Flash CS3, I noticed you could have multiple scenes, which were like multiple scratch projects in one.

I thought it would be great to have these in scratch, since then it would be A LOT easier when trying to make really cool games.
There could be tabs or buttons at the top of the page, with names like "Tab1", "Tab2" etc. and you could rename them; "Main Menu Tab", "Level 1", "Level 2" etc.

I believe the scratch team could implement this, and I really hope they will. Because right now, the only thing stopping me from using scratch is the knowledge that I'll have to make all thos sprites show and hide, re-appear, disappear and whatever.

Thanks for looking!

~Leet

Offline

 

#2 2008-04-20 18:30:42

Hobbs1100
Scratcher
Registered: 2008-02-16
Posts: 500+

Re: Scenes/Rooms/Areas?

That's what I used to do. In PixBites 1.0, I didn't have variables. Variables are the most important blocks on Scratch, when it comes to time saving. Try this:
<when green flag clicked>
<forever>

<if> <(<{ Background# }>  <=> 1  )>

<show>

<else>

<hide>

Hopefuly this works. This is what I do:

<when green flag clicked>
<set{ Background# }to( 1 )

<when I receive[ Start ]
<set{ Background# }to( 2 )

Last edited by Hobbs1100 (2008-04-20 18:31:30)

Offline

 

Board footer