Hi some of my blocks don't work like the [block]<if>[/block] and basically all the number blocks please help this information is extemly crucial to my game please help!
Last edited by joeisawesome (2008-06-12 16:05:10)
Offline
All the blocks are in scratch
the [block]<if>[/block] block is fine but whenever i put somthing in the hexagonal area ( like [block]<if>[/block]touching sprite 2 or [block]<if>[/block] [block]<( 7 <>>2 )>[/block]) it dosent work.
The other thing is all the number blocks in scratch don't work either( especially the greater, less than and equal blocks).
help!
Last edited by joeisawesome (2008-06-12 16:06:51)
Offline
How do they not work right? Did you put something in the If block?
What version of Scratch do you have? It may be a glitch with the program and your computer. If you have an older version you should try downloading the newest version and see if it works.
Offline
Without anything in the if block it's fine but whenn i put something in it that when it dosen't work
I have Scratch 1.2.1 (6-Dec-07)
Offline
Could you share your project online so we could take a look at it and try to figure out what is not working?
Offline
I think I know why. Are you using a variable for each number, or one of them? If it is a set number, like 7>2, it will always be true, so you should just put it into a forever block.
Offline
i tried forever if block but it dosn't work
Paddle2see, i have not yet put in an if block but i will be happy to share a quick demo
Pokemon scratch verzion demo
Offline
Have you tried
<forever>
<if>
<end>
<end>
Offline
Okay, I pulled down your demo. Now, which sprite has the block you can't get to work? And what are you trying to get it to do?
Offline
Paddle2See wrote:
Okay, I pulled down your demo. Now, which sprite has the block you can't get to work? And what are you trying to get it to do?
Nothing is wrong with the demo i just wanted to share it! ( you like it?)
Offline
Some one hhhhhhhhhhhhheeeeeeeeeeeeeeeeeeelllllllllllllllllllllllllllllllllpppppppppppppppp me with my problem!
Offline
joeisawesome wrote:
Some one hhhhhhhhhhhhheeeeeeeeeeeeeeeeeeelllllllllllllllllllllllllllllllllpppppppppppppppp me with my problem!
Well, you've got me confused! I asked you to post the project with your problem. You posted a project, I pulled it down and then you told me there was nothing wrong with it, you just wanted to share it (see post a couple above this one). So I assumed that you had solved your problem.
Now you say you still have a problem! So....again I ask you, what is the problem? You need to be very specific, please. The best way to solve it is to share the project with the problem to the web with a detailed description of what you are trying to do and what seems to be wrong. Okay?
Offline
Paddle2See wrote:
joeisawesome wrote:
Some one hhhhhhhhhhhhheeeeeeeeeeeeeeeeeeelllllllllllllllllllllllllllllllllpppppppppppppppp me with my problem!
Well, you've got me confused! I asked you to post the project with your problem. You posted a project, I pulled it down and then you told me there was nothing wrong with it, you just wanted to share it (see post a couple above this one). So I assumed that you had solved your problem.
Now you say you still have a problem! So....again I ask you, what is the problem? You need to be very specific, please. The best way to solve it is to share the project with the problem to the web with a detailed description of what you are trying to do and what seems to be wrong. Okay?
I said nothing is wrong with the project because i didn't use any number blocks or the if block
I still have the problem...
Offline
Okay. You are having trouble with the IF block and numbers. Please tell me what you are trying to do in your project. What do you want the IF block to do? What numbers are you working with? Is it a Score? Number of times a player jumps? Please try to describe what you are trying to do, not the problem you are having.
Offline
Wait, i got it! the if block works perfectly it's just these 3 blocks that make it not work because i put them in the if block.
<( <<> )> the less than block
<( <=> )> the equal bllock
<( <>> )> the greater block
Last edited by joeisawesome (2008-06-26 07:38:34)
Offline
Zelda123 wrote:
Try this and see what the effect is:
<when green flag clicked>
<forever>
<if> <( 3<<> 6 )>
<say[ Hello
<else>
<say[ Bye
<end>
<end>
THAT works but i'm talking about when i put something like this in it:
<when green flag clicked>
<forever>
<if> <( costume # of Sprite 1 <=> 4 )>
<say[ yo ]for( 5 )secs>
<else>
<think[ wassup? ]for( 3 )secs>
<end><end>
Offline
joeisawesome wrote:
Zelda123 wrote:
Try this and see what the effect is:
<when green flag clicked>
<forever>
<if> <( 3<<> 6 )>
<say[ Hello
<else>
<say[ Bye
<end>
<end>THAT works but i'm talking about when i put something like this in it:
<when green flag clicked>
<forever>
<if> <( costume # of Sprite 1 <=> 4 )>
<say[ yo ]for( 5 )secs>
<else>
<think[ wassup? ]for( 3 )secs>
<end><end>
How doesn't it work right? Does the sprite1 have 4 different costumes? What costume number was the sprite on and what did it say/think?
Offline