Hello scratchers, veterans and noobs! I am the phantom.exe, and I'm making this forum because not enough people know about variables, and most of the people that do don't like using them for some reason.
READ THIS PART IF YOU READ NOTHING ELSE: If you are making a complex project, you will probably have at least 2 variables per sprite. I know that's a lot, but these orange numbers are as essential to projects of any level of complexity as command blocks.
Variables
A variable is a value that can be set, changed, or even set to a word or letter (they really can, try it sometime). The most common use of a variable is as a score. The purpose of variables is to allow sprites to send messages to other sprites, the stage, or even themselves. An offensively complex sprite could have as many as 7 or more variables devoted solely to communicating with itself, and almost every single sprite I've ever made has had at least one variable. They are essential. If you have something to ask or say about variables, post here.
Offline
If you want to know about operators, I'll make a forum for that too.
Offline
With Extremely complex and large projects, including projects with stages and a menu system, you will have to a variable called "stage", "status" or "mode" these variables are essential as they are used for automatic background switching and game-mode switching, if you wish to see an example of "stage" variable, check out my escape project.
Offline
You should post examples in scratchblocks on how to use them! That might be more of a help to Scratchers than just explaining it.
Offline
If only I'd seen this before I started playing around with Scratch. I once made a project (my first one that I deleted from my computer, I never uploaded it) that used costumes as variables. It got really tricky, but I was able to work it out.
Offline
Would you please make a thread about lists? Thanks.
~Firedrake969
Offline
I'll look into lists. Wow, it's only been one day, and look how far this has come! Scratch really needed this.
Offline
Phantom.exe, maybe you can help me (a brand new Scratcher). Is there a way I can write my variables to a txt file automatically (not with me having to click on the list and do it manually) either in Scratch, BOB or Panther. I know that there is a "write __ to __ file" in Panther, but I can't seem to find the .txt file when I look for it later.
Offline