Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » "go to x() y()" issues
- rightonman
- New to Scratch
2 posts
"go to x() y()" issues
I'm having problems with the “go to x() y()” block. I programed several sprites to recognize a variable and “go to x() y()” for ()secs but it won't appear at the desired coordinates. For one sprite the x coordinate only works for numbers 72 or larger and the y coordinate only works for numbers -54 of smaller. For another sprite x has to be at least 60 and y -45 or less. For yet another sprite it doesn't work for x values less than -1 or y values greater than 1. The last sprite has the same problem as the last.
Put more plainly:
sprite 1: will NOT go to x < 72, y > -54
sprite 2: will NOT go to x < 60, y > -45
sprite 3: will NOT go to x < -1, y > 1
sprite 4: will NOT go to x < -1, y > 1
I have 2 more sprites that will have similar scripts that I have yet to create but I anticipate something similar will happen to them.
I isolated each of these sprites and experimented until I found these limits. I checked through all the scripts and didn't find anything that might cause these issues. I can provide screenshots on request if that would help.
I am a new Scratcher and this is really frustrating, does anyone have a solution to the problem or a way around it. I think I could adjust the center so that it would appear where I wanted as long as its coordinates meet the limits I just described.
If you are curious, I am trying to make a version of Tic Tac Toe for 3 players or so. It is three dimensional and adds a game of Tic Tac Toe inside each spot of the larger board. I am trying to create something like chess notation but for Tic Tac Toe. There are 729 individual spots you could go so I am trying to come up with a creative way for the scripts to recognize where exactly you want to play without having to program each spot individually.
Thanks for any help!
Put more plainly:
sprite 1: will NOT go to x < 72, y > -54
sprite 2: will NOT go to x < 60, y > -45
sprite 3: will NOT go to x < -1, y > 1
sprite 4: will NOT go to x < -1, y > 1
I have 2 more sprites that will have similar scripts that I have yet to create but I anticipate something similar will happen to them.
I isolated each of these sprites and experimented until I found these limits. I checked through all the scripts and didn't find anything that might cause these issues. I can provide screenshots on request if that would help.
I am a new Scratcher and this is really frustrating, does anyone have a solution to the problem or a way around it. I think I could adjust the center so that it would appear where I wanted as long as its coordinates meet the limits I just described.
If you are curious, I am trying to make a version of Tic Tac Toe for 3 players or so. It is three dimensional and adds a game of Tic Tac Toe inside each spot of the larger board. I am trying to create something like chess notation but for Tic Tac Toe. There are 729 individual spots you could go so I am trying to come up with a creative way for the scripts to recognize where exactly you want to play without having to program each spot individually.
Thanks for any help!
- mitchboy
- Scratcher
1000+ posts
"go to x() y()" issues
I don't exactly understand what you're saying. Screenshots would help. Change the costume center of the sprites to see what happens.
P.S: For the first two, you switched the greater than and less than signs.
P.S: For the first two, you switched the greater than and less than signs.
Capsicum annuum.
- rightonman
- New to Scratch
2 posts
"go to x() y()" issues
https://drive.google.com/folderview?id=0B-GwtT-QT_L_V3dVdXFtSFVLeDg&usp=sharing
Here are the screenshots, hope they help. Sorry about the mistake you pointed out, it will not go to x < 72, y > -54. I haven't tried changing their center yet but will reply once I do. Thanks for the help.
Here are the screenshots, hope they help. Sorry about the mistake you pointed out, it will not go to x < 72, y > -54. I haven't tried changing their center yet but will reply once I do. Thanks for the help.
Last edited by rightonman (July 6, 2013 23:10:43)
- scubajerry
- Scratcher
1000+ posts
"go to x() y()" issues
If you share your project, it would be easier to see what is happening.
- Discussion Forums
- » Bugs and Glitches
- » "go to x() y()" issues