プレイ日記
TekeMan gameboyfan12345
How can I count the collisions my sprite makes using the gputchr command?
2そうだね
プレイ済み
返信[1]
親投稿
Zee Storybookten9
I'm not sure that GPUTCHR is what you're looking for... GPUTCHR has nothing to do with sprites. All it does is put a text character on the graphic screen. You might need to use a for loop to test collisions instead.
0そうだね
プレイ済み
返信[2]
親投稿
TekeMan gameboyfan12345
How would I do that though, i just need a simple code to count collisions
1そうだね
プレイ済み
返信[3]
親投稿
Zee Storybookten9
FOR I=0 to 511 IF I==TEST THEN CONTINUE IF SPHITSP(TEST,I) THEN INC HIT NEXT
0そうだね
プレイ済み