Discuss Scratch

C0nyc0n
Scratcher
100+ posts

Hiding and showing sprite specific variables

show variable [x position v]::operators

hide variable [costume # v]::operators
By sprite specific variables, I mean all these:

x position
y position
direction
backdrop #
backdrop name
(costume name::looks)
size
volume
EZ-Games
Scratcher
1000+ posts

Hiding and showing sprite specific variables

You could make variables for each one of those reporter blocks and then show the value that way:
set [x position v] to (x position)
show variable [x position v]


God did not send his Son into the world to condemn the world, but to save the world through him.
John 3:17

Advice:
Saying “Support” or “No Support” doesn't contribute anything to the conversation.
A question that has already been answered doesn't need to be answered twice with the same answer - bring something new to the table.
C0nyc0n
Scratcher
100+ posts

Hiding and showing sprite specific variables

EZ-Games wrote:

You could make variables for each one of those reporter blocks and then show the value that way:
set [x position v] to (x position)
show variable [x position v]
I use the color of them for my games (eg: blue health and green health) by setting the x position of a hidden sprite and pen colour, this makes it look like I have coloured variables.
DoNotFoIIowMe
Scratcher
100+ posts

Hiding and showing sprite specific variables

C0nyc0n wrote:

-snip-
I use the color of them for my games (eg: blue health and green health) by setting the x position of a hidden sprite and pen colour, this makes it look like I have coloured variables.

So your suggestion is indirectly just trying to get coloured variables…?

I understand what you're trying to do here, but in the future, please be straight forward and explain what you really want.

~DoNotFoIIowMe~

Just Nambaseking01 on a social experiment account!
My name is DoNotFoIIowMe (do not follow me or comment on my profile, you!) and I am a New Scratcher willing to help out on the Scratch community. If you see any of my posts, don't think I'm new myself and that I'm not supposed to be teaching you because I have quite a wide knowledge about Scratch. Just so you know though, following me will ruin my life. People have already disobeyed.

Powered by DjangoBB