Can someone help me with this? I'm trying to make an achievements screen to finish "Would you rather", but i can't wrap my head around this loop. I want it so that when i tap on a sprite, a description of it shows up on the top screen.
well what i see it your touch box.
the Y is >10 and <10
this mean it cant do it.
its like saying you have to be atleast 20 feet forward but not greater then 20 feet (it would be 19 i think)
so just make sure the 2nd x or y is always > then the first.
(maybe change it to 20..)
it works the same as gbox.
ah ok sorry I think I see another problem.. first, the xscreen, this only needs to be put ONCE, at the top of your code, (as you have, but not in the if) cause it just makes the bottom screen available to use, another thing is add a VSYNC (if you don't know, it makes your program run smooth instead of a million frames a second) and lastly theres one other thing.
though I will go check in my code
ok so I the vsync is important, this is just a little test thing I made in a few secs.
though I would recommend using while/wend loops.
they have less "issues", but as I always say only do it if you are ready or at least want to.. anyways I hope this helps.
The effective ranges of the touch operation are more than 5 ….
TCY>1 △
TCY>4 〇
And, the second XSCREEN 2 is unnecessary, isn't it?
XSCREEN 2:DISPLAY 0
↓
DISPLAY 0