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

#1 2012-07-09 12:34:32

DonutCannon
New Scratcher
Registered: 2012-07-02
Posts: 29

Visible Variables without Gray/Orange Box

So, I was working on my game, and as I was added a score variable, I realized it was too small and oddly colored for the theme of my game. So I tried in the pen tools to see if you could print variables in anyway. It seems you couldn't, atleast not in an obvious manner. So, yeah. I need help with this.

Offline

 

#2 2012-07-09 12:38:54

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Visible Variables without Gray/Orange Box

See this.


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#3 2012-07-09 12:47:41

DonutCannon
New Scratcher
Registered: 2012-07-02
Posts: 29

Re: Visible Variables without Gray/Orange Box

SciTecCf wrote:

See this.

The thing is, I don't want the border at all. I just want the text, nothing else.

Offline

 

#4 2012-07-09 12:54:40

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Visible Variables without Gray/Orange Box

DonutCannon wrote:

SciTecCf wrote:

See this.

The thing is, I don't want the border at all. I just want the text, nothing else.

Oh.

Then you will have to use the same thing, just click "Dismiss me" instead of "Menu for Me". Do the same with the border.


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#5 2012-07-09 13:24:14

DonutCannon
New Scratcher
Registered: 2012-07-02
Posts: 29

Re: Visible Variables without Gray/Orange Box

So, I found this: http://scratch.mit.edu/forums/viewtopic.php?pid=1118545#p1118545

It works the way I need it, except the game doesn't seem to understand

length of <variable>
as it inputs the score but has an infinite chain of 0s afterwards. Any fixes?

Offline

 

#6 2012-07-09 13:33:18

DonutCannon
New Scratcher
Registered: 2012-07-02
Posts: 29

Re: Visible Variables without Gray/Orange Box

DonutCannon wrote:

So, I found this: http://scratch.mit.edu/forums/viewtopic.php?pid=1118545#p1118545

It works the way I need it, except the game doesn't seem to understand

length of <variable>
as it inputs the score but has an infinite chain of 0s afterwards. Any fixes?

Nevermind. I decided to scrap using this method of stamping and do it another way.

Offline

 

#7 2012-07-09 13:40:20

DonutCannon
New Scratcher
Registered: 2012-07-02
Posts: 29

Re: Visible Variables without Gray/Orange Box

SciTecCf wrote:

DonutCannon wrote:

SciTecCf wrote:

See this.

The thing is, I don't want the border at all. I just want the text, nothing else.

Oh.

Then you will have to use the same thing, just click "Dismiss me" instead of "Menu for Me". Do the same with the border.

Removes the entire variable. Unless I'm doing it wrong.

Offline

 

#8 2012-07-11 20:11:20

Spiro0
Scratcher
Registered: 2011-04-22
Posts: 22

Re: Visible Variables without Gray/Orange Box

Look at the scoring sprites for this project. No stamping, very simple. Computer Space 2

Last edited by Spiro0 (2012-07-11 20:13:31)


I LOVE PURPLE!!!!!!!!!!!!!! 8 |||||||||||||||||||||||||||

Offline

 

#9 2012-07-11 20:57:26

Smozzick
Scratcher
Registered: 2011-10-23
Posts: 100+

Re: Visible Variables without Gray/Orange Box

For an example of how to use stamping to produce the score see this project.

EDIT: The infinite chain of 0s thing is a glitch I've had before in another project but I can't quite remember why but it was definitely fixable.

Last edited by Smozzick (2012-07-11 20:58:44)


http://i50.tinypic.com/ded8m.png

Offline

 

#10 2013-04-22 17:33:26

joshuaho
Scratcher
Registered: 2012-08-20
Posts: 100+

Re: Visible Variables without Gray/Orange Box

DonutCannon wrote:

So, I was working on my game, and as I was added a score variable, I realized it was too small and oddly colored for the theme of my game. So I tried in the pen tools to see if you could print variables in anyway. It seems you couldn't, atleast not in an obvious manner. So, yeah. I need help with this.

YOu can actually hack scratch to do that. First, click on the R in the scratch logo on the top left. Then, click turn fill screen off. Then, click on the white part of the screen. A menu will appear. Click on open, then browser. Then, you will have accessed the change menu( a green box). Click on scratch objects, then scriptablescratchmorph, then click on variables, then click on variableblockcolor. To make a variable green, change the default to this:
h:120
S:1.5
v:60
The, right click on the green box and click accept. Then, turn fill screen off and then, click on the scratch R logo, turn fill screen on and click save image for end user.
Then, you will have hacked scratch and changed the variables. This is known as morphing, but some people say that it is hacking it. You will then have changed the variable color differently and permanently. To change the color again, you will need to hack it again.

I hope this helps...  smile


Did you know that you can go to space and see Mars by clicking here?

Offline

 

#11 2013-04-22 20:33:32

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: Visible Variables without Gray/Orange Box

Here is my engine for this, hope it works for you.  smile

Regards,

CAA14

Offline

 

Board footer