make sure you do this:
then
THEN click on the 4 block [] > [] statement seperately. you have to click pause each time you see a result bubble.
make sure you do this:
I don’t know all I saw when I did that it just said it was true if one of the variables was greater than 0. The only other thing I can think of is that its updating to fast
what does this mean?
you're definitely not using single stepping then. can you please post a screen shot?
no
Does this help?
This is the same script but it has more descriptive names that should help you see the issue.
Technically, the script you have does work, but not for the reason that you think/thought:
When a block that expects a Boolean gets a number or a text, it always treats it as true unless the value is zero:
Oh wow I don’t know how I didn’t see it before!
I think they were, but the script does technically work (see previous post), and they weren't seeing what was wrong. Note also that from time to time single stepping fails to show intermediate result bubbles.
@mark4sisb is the Ai that you made possible to beat?
Yes, it is, but if you think it is too hard, remember you can tweak the "2.9" number to slow down or speed up the paddle.
Ok just making Sure!
I noticed that the question about what game mode to play went of the screen. Here is a cool trick in Snap! for when you want to ask for an answer from a list of options:
Also, for your game end script, the game keeps going for 11 seconds while you show the game end message on the screen. Here are a couple of other options:
say []
won't say nothing, it will remove the message on the screen).
Thank you!
I don't know how I didn’t see it before!
here's why:
you:
single stepping
THEN click on the 4 block [] > [] statement separately
you have to click pause each time you see a result bubble.
so yeah. thats why.
THE SMERGE IS SO ANOYING IT MAKES THE BALL GO LIKE 50 MILION STEPS WHEN I SLECT A MODE! ahhhh
If I click the green flag without first clicking the stop sign, the game will get a bug where it won't stop playing but the menu will appear. Maybe you can figure out how to fix this.
stop [all but this script V]
Im still thinking on new updates I don’t know what to put.
ok? I would say then now's the time you should move on to a new project. maybe join other people's collab instead of starting another one.
I agree with sathvikrias
, but I personally think you should try working on something by yourself.
Working on something alone is probably the best way to learn about Snap!, it would be more beneficial to your understanding of the editor.
Rather than working on a project where multiple people contribute and create scripts for you, you can learn to make more things on your own.
You can still come to the forums and ask for help with things, I don't think anyone minds, and that, too, will help you learn!
Ok I’ll move on to a different Project. And i did make the whole game script by myself ( for the start of it) @mark4sisb and @sathvikrias gave me some code and mobility too