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

#1 2010-10-03 07:04:29

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

How can I hide a Sprite?

using squeak how can I hide a sprite from the bar at the bottom so that it appears to not be there but all the scripts work fine and you can see the sprite on stage. Just not on the sprite bar at the bottom. Can someone answer this? Thanks.  big_smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#2 2010-10-03 07:10:26

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: How can I hide a Sprite?

This is very simple and doesn't require hacking.

The-Whiz wrote:

There is a way to make your projects almost impregnable. Here it is:
1. Click the new sprite button.
2. Move the window that appears.
3. Click the new sprite button again.
4. Click cancel in the window.
5. Double click the white square in the middle of the screen.
6. It's there, but it doesn't appear in the sprites box.

Offline

 

#3 2010-10-03 07:24:24

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: How can I hide a Sprite?

mathematics wrote:

This is very simple and doesn't require hacking.

The-Whiz wrote:

There is a way to make your projects almost impregnable. Here it is:
1. Click the new sprite button.
2. Move the window that appears.
3. Click the new sprite button again.
4. Click cancel in the window.
5. Double click the white square in the middle of the screen.
6. It's there, but it doesn't appear in the sprites box.

Thanks but I already know of that, what I want is to make a feature in my mod were a user can do just that with out having sort of do it through a glitch if you know what I mean.  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#4 2010-10-03 07:29:02

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: How can I hide a Sprite?

The you basicly want it to create a special sprite which has the hide/show blocks removed, and is hidden by default.


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#5 2010-10-03 07:30:23

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: How can I hide a Sprite?

Sperry wrote:

The you basicly want it to create a special sprite which has the hide/show blocks removed, and is hidden by default.

But that will still appear at the bottom.

Offline

 

#6 2010-10-03 07:55:56

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: How can I hide a Sprite?

no, still has hide/show blocks still is shown on the stage but isn't shown in the sprite bar at the bottom:
http://img825.imageshack.us/img825/6651/spritebar.png
There could be loads of hidden sprites in this bar but they still execute all the scripts and show on the stage. Basically I want an option to set the sprite to not show the scripts.  big_smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#7 2010-10-03 08:37:13

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: How can I hide a Sprite?

Ill have a look...


You can now reach me on Twitter @johnnydean1_

Offline

 

#8 2010-10-03 08:42:59

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: How can I hide a Sprite?

johnnydean1 wrote:

Ill have a look...

okay!  big_smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#9 2010-10-03 11:28:58

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

Re: How can I hide a Sprite?

Well, this is actually a question of REMOVING a feature rather than adding it  tongue
I think ScratchFrameMorph adds library icons of every stage submorph. You could use an extra instance variable (don't forget to record it on the ObjStream, too!) which the frame checked before adding the icon.


nXIII

Offline

 

#10 2010-10-03 12:41:46

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: How can I hide a Sprite?

nXIII wrote:

Well, this is actually a question of REMOVING a feature rather than adding it  tongue
I think ScratchFrameMorph adds library icons of every stage submorph. You could use an extra instance variable (don't forget to record it on the ObjStream, too!) which the frame checked before adding the icon.

okay, thanks!  big_smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#11 2010-10-03 12:43:01

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: How can I hide a Sprite?

actually, my laptop has just got the blue screen of death and died on me  mad   sad 
So I think I've lost my mod. I think it's back to the drawing board with that then  sad
PS: I hate the 60 sec rule!!!!  mad


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

Board footer