I am using 'repeat 0 say "comment"' constructs for comments in newer projects, but I have not had the energy to go back and add comments to my old projects.
You should do what I did with my Gravity Simulator project, kevin_karplus: use detached Say blocks in your scripting. Though I guess that wouldn't work with the scripting in the stage...
the only way i could think was that at regular intervlals a sprite would remember speed and turning or direction and location. it could then use your technique to stamp a pattern (eg the darker it is the faster it was going and the redder it is the more it was turning) i have put the URL in if you would care to have a look. (link to project) Also is there any way a sprite can react to how dark a colour is? thankyou
i have created a racing game and am wondering if i could use a similar technique to remember your previous lap so you can race against your last lap. would this technique work or would that be to complex?
The bug was mine, I was relying on a broadcast having been acted on before the next broadcast-and-wait. The change in v13 made the order of the broadcasts different, and the race condition resulted in a vriable being tested before being set.
Changing to explicit broadcast-and-wait fixed the problem
Very good idea! I always was wondering how to store this kind of information in SCRATCH e.g. to implement Simon. It (the screen) was all the timee in front of my eyes. Thanks for making me seeing it :-)
Download the 6 sprites and 30 scripts of "Simon" and open it in Scratch
Project Notes
This game is a minimal version of Simon,
implemented mainly as a programming exercise in
using the screen to store information, since scratch
lamentably lacks arrays.
To play, you have to memorize the order the buttons are displayed in, and click them in the same order as the sequence gradually lengthens.
Comments
You need to be logged in to post comments
Add a Comment
I remembered 13!!! Needs to have a score.
Sonic, nice gravedig. Even though I just re-dug this.
(link to project) coool
HELP ME!!! (link to forums)
nice! i REALLY wish scratch had arrays
Scratch does now.
yo buddy im new to all this so am still a tad sketchy but tel me what part of the code makes it randomise
Nice game I got 11 rounds! :)
You make awesome games!
another one of my favorite, classic games, scraych on Kev!
my name is Simon.
I'll ad this to my gallery
cool
I GOT 41 ROUNDS
Reminds me of when I was a kid. I will test it out with my own 9 year old daughter.
i like the sound that red makes but i died right after i got there. i pressed the backround
so hard!:0 great game!
Nice game! Now I can just go on my computer to play "Simon." :)
I am using 'repeat 0 say "comment"' constructs for comments in newer projects, but I have not had the energy to go back and add comments to my old projects.
You should do what I did with my Gravity Simulator project, kevin_karplus: use detached Say blocks in your scripting. Though I guess that wouldn't work with the scripting in the stage...
the only way i could think was that at regular intervlals a sprite would remember speed and turning or direction and location. it could then use your technique to stamp a pattern (eg the darker it is the faster it was going and the redder it is the more it was turning) i have put the URL in if you would care to have a look. (link to project) Also is there any way a sprite can react to how dark a colour is? thankyou
I was recording a series of 4 different choices. What do you need to record about your "last lap"?
i have created a racing game and am wondering if i could use a similar technique to remember your previous lap so you can race against your last lap. would this technique work or would that be to complex?
14, good game :D gonna download this to see how it works. sometimes it is quite musical, and the arrays make nice patterns
The bug was mine, I was relying on a broadcast having been acted on before the next broadcast-and-wait. The change in v13 made the order of the broadcasts different, and the race condition resulted in a vriable being tested before being set. Changing to explicit broadcast-and-wait fixed the problem
v13 applet seems to have broken Simon! This project was working fine when I last showed my kids. Now its broken and won't play.
Kaydoodle13, yes, you have to hit the buttons. They're pretty big though.
I like it but when you accidentally click the backround, you lose!
This is really brilliant. I was trying to figure out how to implement an array--using the screen as a storage structure is very clever.
Excellent. Another member has provided a simple demo of how arrays work if you want to build one into your own project: (link to project)
Very good idea! I always was wondering how to store this kind of information in SCRATCH e.g. to implement Simon. It (the screen) was all the timee in front of my eyes. Thanks for making me seeing it :-)
This is the standard game "Simon". It plays a gradually lengthening series of lights, and you have to remember the sequence and play it back.
What does it do?
I'm glad you like it. Figuring out how to store a long list of random numbers without arrays or other data structures was not trivial!
This is a wonderful project