トピック
shark blamawam

plz help

how do you make it if two sprites touch each other one dose something
3そうだね
プレイ済み
返信[1]
親投稿
LEE HALP HOW DO DELETE GAMES FROM SD CARD *Shakes u by shoulders and slaps u* XDXD
0そうだね
未プレイ
返信[2]
親投稿
Josh josh.h7
Sets the sprites SPSET 0,1 SPSET 1,1 Sets sprite collision detection information SPCOL 0,TRUE SPCOL 1,TRUE Sets a movement speed for sprite collision detection SPCOLVEC 0 SPCOLVEC 1 @LOOP Detects sprite collision HIT=SPHITSP(0,1) IF HIT==1 THEN PRINT "WORKED" GOTO @LOOP
0そうだね
プレイ済み
返信[3]
親投稿
********** itd12d
'Set the sprites...SPSET spriteNo,defNo 'defNo can be specified in SPDEF. SPSET 0,0:SPSET 1,1 'Set sprites collision...SPCOL spNo[,scale-support-flag] 'If you want to use SPSCALE after SPCOL, you must to set scale-support-flag to 1(true). SPCOL 0:SPCOL 1 'Loop begin WHILE 1 'Detect sprite hit...SPHITSP(spNo) 'If spNo is hit other sprite, SPHITSP return other than -1 hitsp=SPHITSP(0)
0そうだね
未プレイ
返信[4]
親投稿
********** itd12d
IF hitsp!=-1 then beep VSYNC 1 'loop end WEND
1そうだね
未プレイ