プレイ日記
TekeMan gameboyfan12345
Why does my HP not work¿¿¡¡?!?!!¿¿ ignore the hp2 part...
1そうだね
プレイ済み
返信[1]
親投稿
Josh josh.h7
If you have "HP=100" inside of the loop then it will stay at 100 or is that not in a loop?
0そうだね
プレイ済み
返信[2]
親投稿
TekeMan gameboyfan12345
Its not a loop, should it be?
0そうだね
プレイ済み
返信[3]
親投稿
Josh josh.h7
If its for any input then it should be in a place where you have time to press the button.
0そうだね
プレイ済み
返信[4]
親投稿
Aaron Krondelo
Yes,the code runs sequentially, and very fast. It can't detect your button input unless it has time/loop, or is waiting for it. Easiest way is to infinitely loop, then exit loop when button is pushed.
0そうだね
プレイ済み
返信[5]
親投稿
TekeMan gameboyfan12345
How would I do that
0そうだね
プレイ済み
返信[6]
親投稿
Aaron Krondelo
@LOOP:B=button(3):If B AND #A THEN GOTO @CODETODO:VSYNC 1:GOTO @LOOP
0そうだね
プレイ済み