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

#1 2008-11-16 08:34:49

Dark_Fighter
Scratcher
Registered: 2008-11-16
Posts: 10

Screen Resolution

How can i adjust the resolution of the screen where the sprites are shown?(I don't mean the full screen option).And something else is there any greek forum, like this, for the scratch?

Offline

 

#2 2008-11-16 09:03:10

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: Screen Resolution

Hi Dark_Fighter,

the stage has a fixed size of 480x360 pixels and cannot be changed in Scratch. Presentation mode just doubles (or rather quadruples) that extent.


Jens Mönig

Offline

 

#3 2008-11-16 10:20:17

Dark_Fighter
Scratcher
Registered: 2008-11-16
Posts: 10

Re: Screen Resolution

Ok, thanks, but i have one more question.How can i made some buttons function only after some others had been already used?

Offline

 

#4 2008-11-16 15:40:29

Dark_Fighter
Scratcher
Registered: 2008-11-16
Posts: 10

Re: Screen Resolution

anyone?

Offline

 

#5 2008-11-17 01:43:09

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: Screen Resolution

Hi again, Dark_Fighter,

if you want to make a sprite react to some buttons or keys only after something else has already happened, using variables is probably your best shot. That way you can make your sprite "remember" things which have happened at some previous time.

An example:

Let's say you want your sprite to do something when the user presses the space key, but only if the "second level" of your game has been reached, and that in order to reach the second level, your sprite has to touch another sprite first.

You could then code something like this:

[blocks]
<when green flag clicked>
<set{ level }to( 1
<wait until> <touching[ other sprite
<set{ level }to( 2

<when[ space ]key pressed>
<if> <( <{ level }> <=> 2 )>
<say[ Hi! ]for( 2 )secs>
<end>
[/blocks]

Does this help you?


Jens Mönig

Offline

 

#6 2008-11-17 10:37:40

Dark_Fighter
Scratcher
Registered: 2008-11-16
Posts: 10

Re: Screen Resolution

A lot, thx. If ihave any other questions i'll be back.

Offline

 

Board footer