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

#1 2010-06-13 08:24:29

erinv
Scratcher
Registered: 2010-05-16
Posts: 10

Creating a check button

I'm currently in the process of creating a Sudoku game, and I want to have a check button. I have it set now to where whenever you press the space bar, if the number inputted is incorrect, it switches to a different costume, as long as you are still pressing the space bar. It worked in the beginning when there was only one block to check, but now, with more blocks, it's not working.  sad   For example, if you have 2 blocks, and you put a number in one, but not the other, and check it, it will start messing up the second block, switching costumes like crazy. Or numbers that are correct switch when they aren't suppose to. Any ideas on a different script? Thanks

Offline

 

#2 2010-06-13 09:05:32

Subh
Scratcher
Registered: 2010-05-25
Posts: 100+

Re: Creating a check button

Can you Upload the script? Then I can help


http://wiki.scratch.mit.edu/skins/scratch/logo.png     I'M IN Scratch Wiki .... ARE YOU ????

Offline

 

#3 2010-06-13 13:06:16

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Creating a check button

It seems as if you are using the
[blocks]<next costume>[/blocks]
block. Unfortunately, this will make it switch like crazy. Use the
[blocks]<switch to costume[]>[/blocks]
block.

Last edited by Greatdane (2010-06-13 13:06:50)


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

Board footer