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

#1 2011-02-19 19:57:49

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Fullscreen Mode Sensor?

Is there some way to sense if a Scratch project is in fullscreen mode?

I need to know if there is, because my next Scratch project would use it.

Thanks(?)

Last edited by TheGameMaster1231 (2011-02-19 19:58:09)

Offline

 

#2 2011-02-19 23:46:59

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Fullscreen Mode Sensor?

I have not found a way to detect full screen mode, but you can easily detect if your project is running in the offline player.  The offline player is currently required for full screen play.

Here is a bunch of detectors that work: http://scratch.mit.edu/galleries/view/100496


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#3 2011-02-20 07:15:30

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Fullscreen Mode Sensor?

BoltBait wrote:

I have not found a way to detect full screen mode, but you can easily detect if your project is running in the offline player.  The offline player is currently required for full screen play.

Here is a bunch of detectors that work: http://scratch.mit.edu/galleries/view/100496

Yeah, I know how to do that, I usually just do

<move( (( 0 </> 0 )) )steps>

But for my project, I need a sensor to know if the project in fullscreen mode.  hmm

Last edited by TheGameMaster1231 (2011-02-20 07:17:09)

Offline

 

#4 2011-02-20 07:36:43

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Fullscreen Mode Sensor?

Go here, then add this in both ScratchSpriteMorph and ScratchStageMorph:

Code:

('in presentation mode?' #b #inPresentationMode)

Offline

 

#5 2011-02-20 08:41:20

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Fullscreen Mode Sensor?

scimonster wrote:

Go here, then add this in both ScratchSpriteMorph and ScratchStageMorph:

Code:

('in presentation mode?' #b #inPresentationMode)

But if I do that, nobody else would be able to do it.  hmm

Without hacking?

Offline

 

#6 2011-02-20 08:46:56

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: Fullscreen Mode Sensor?

Here

There's a bunch there. Including presentation mode.


http://i46.tinypic.com/dw7zft.png

Offline

 

#7 2011-02-20 09:04:41

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Fullscreen Mode Sensor?

SeptimusHeap wrote:

Here

There's a bunch there. Including presentation mode.

Great, but if you start in presentation mode, it says "Yes" then when you exit, it says "No. But then, when you go back into presentation mode, it still says "No".

Other than that, it's great.

If you could figure out how to fix that, then I'd be very grateful.  smile

Offline

 

#8 2011-02-20 14:41:04

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Fullscreen Mode Sensor?

Bump.

'Cause I just need this sensor.

Offline

 

Board footer