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

#1 2011-01-20 21:11:13

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Adding buttons to presentation mode

I wanted to add a button to presentation mode to toggle full screen mode for my Scratch EXE Creator, but when I added it (using the "enter presentation mode" icon, or wanting to at least) and tried to enter presentation mode, it threw me this error:
http://i53.tinypic.com/2m82liu.png
(I think I got all the necessary details in there.)
Any idea what I'm doing wrong? Do I need to post more details to figure out the problem? Help would be helpful (duh  tongue ) and will get you a place in Scratch EXE Creator's credits.


Yawn.

Offline

 

#2 2011-01-21 11:51:15

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Adding buttons to presentation mode

I think it's to do with the variable in the scratch skin not being the name of your button. Try keeping the button exactly the sam,e but only changing to tooltip!

Offline

 

#3 2011-01-21 21:53:46

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Adding buttons to presentation mode

Um, the icon's name is the same as the one that's used in the view buttons in ScratchFrameMorph, and I made another method to use (that doesn't work yet). Speaking of that method, is there a way to detect whether or not the program is in full screen mode?


Yawn.

Offline

 

#4 2011-01-21 21:56:31

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Adding buttons to presentation mode

yes, that there is!

Go to http://scratch.mit.edu/forums/viewtopic … 08&p=9

it's about quarter down

Code:

johnnydean1
in presentation mode?
b
#0494DC
^ (self ownerThatIsA: OffscreenWorldMorph) notNil

Last edited by ssss (2011-01-21 21:59:23)


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#5 2011-01-21 22:04:53

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Adding buttons to presentation mode

ssss wrote:

yes, that there is!

Go to http://scratch.mit.edu/forums/viewtopic … 08&p=9

it's about quarter down

Code:

johnnydean1
in presentation mode?
b
#0494DC
^ (self ownerThatIsA: OffscreenWorldMorph) notNil

Um, that's not exactly what I want... I want to find if Scratch is in full screen mode, not presentation mode, as the project will be in presentation mode all the time, but the presentation mode will be windowed by default.


Yawn.

Offline

 

#6 2011-01-28 18:57:16

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Adding buttons to presentation mode

Bump? D:


Yawn.

Offline

 

#7 2011-01-29 15:17:58

paperninjamaster
Scratcher
Registered: 2010-08-23
Posts: 40

Re: Adding buttons to presentation mode

I Wish I Could Help But I Know Nothing About Squek


This is a message to new Scratchers
Just keep on Scratching  smile

Offline

 

#8 2011-02-25 18:09:00

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Adding buttons to presentation mode

Bumpz. Help meh!!! I really want to release a new version of Scratch EXE Creator!


Yawn.

Offline

 

#9 2011-02-25 18:35:08

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Adding buttons to presentation mode

meowmeow55 wrote:

I wanted to add a button to presentation mode to toggle full screen mode for my Scratch EXE Creator, but when I added it (using the "enter presentation mode" icon, or wanting to at least) and tried to enter presentation mode, it threw me this error:
http://i53.tinypic.com/2m82liu.png
(I think I got all the necessary details in there.)
Any idea what I'm doing wrong? Do I need to post more details to figure out the problem? Help would be helpful (duh  tongue ) and will get you a place in Scratch EXE Creator's credits.

Is the error:
key not found?
That happens a lot when reloading the scratch skin, you have to just keep trying. (I cannot view tinypic)


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#10 2011-02-25 18:45:22

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Adding buttons to presentation mode

hey pecola1, RKT working now!


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#11 2011-02-25 19:21:07

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Adding buttons to presentation mode

Pecola1 wrote:

meowmeow55 wrote:

I wanted to add a button to presentation mode to toggle full screen mode for my Scratch EXE Creator, but when I added it (using the "enter presentation mode" icon, or wanting to at least) and tried to enter presentation mode, it threw me this error:
http://i53.tinypic.com/2m82liu.png
(I think I got all the necessary details in there.)
Any idea what I'm doing wrong? Do I need to post more details to figure out the problem? Help would be helpful (duh  tongue ) and will get you a place in Scratch EXE Creator's credits.

Is the error:
key not found?
That happens a lot when reloading the scratch skin, you have to just keep trying. (I cannot view tinypic)

Yes, it is "key not found", but I wasn't reloading the skin, and I'm not using the source.


Yawn.

Offline

 

#12 2011-02-26 14:49:54

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Adding buttons to presentation mode

Bumpz.................................


Yawn.

Offline

 

#13 2011-02-26 15:08:01

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Adding buttons to presentation mode

You need toggleFullScreenButtonBlack and toggleFullScreenButtonBlackPressed images in the ScratchSkin folder. Here: (I'm not sure jpegs will work but they were converted when I uploaded them)
http://i51.tinypic.com/2j0huu8.jpg http://i56.tinypic.com/2mi5chj.jpg

EDIT: Oh, I put the arrows facing the wrong way.
http://i54.tinypic.com/mt73ba.jpg http://i56.tinypic.com/24yokuu.jpg

Last edited by nXIII (2011-02-26 15:10:10)


nXIII

Offline

 

#14 2011-04-29 20:33:18

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Adding buttons to presentation mode

Bump! I tried putting in the ScratchSkin folder and reloading the skin, but no luck. And nXIII, I want a toggle button.


Yawn.

Offline

 

#15 2011-05-30 09:49:58

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Adding buttons to presentation mode

Bump! I want to put this in before I add support for mods, because if I do that, then find out how to do this, I'll have to release new versions for those mods again!


Yawn.

Offline

 

Board footer