プレイ日記
Ep17 EmPx17
is there an easy way to get the coords for the of an area of the screen?
0そうだね
プレイ済み
返信[1]
親投稿
Aaron Krondelo
I think the easiest was is to use a debugging loop, just print the coords on the screen and give yourself a way to move them in real tim3.
0そうだね
プレイ済み
返信[2]
親投稿
Ep17 EmPx17
ok but how d0 i mak3 a debug l00p?
0そうだね
プレイ済み
返信[3]
親投稿
Aaron Krondelo
Ugh dude.. @debug CLS ? "x:";x ? "y:";y B=BUTTON(2) IF B AND #RIGHT THEN X=X+1 IF B AND #LEFT THEN X=X-1 IF B AND #UP THEN Y=Y-1 IF B AND #DOWN THEN Y=Y+1 LOCATE X,Y ? "0" VSYNC GOTO @debug
0そうだね
プレイ済み
返信[4]
親投稿
Ep17 EmPx17
0k thx
1そうだね
プレイ済み
返信[5]
親投稿
Aaron Krondelo
Yep, NP. Alternatively, you can replace thd LOCATE X,Y command with whatever you're testing for.
0そうだね
プレイ済み