トピック
TekeMan gameboyfan12345

Is there a way to set platforms and gravity through the bg command?

0そうだね
プレイ済み
返信[1]
親投稿
Zee Storybookten9
There are a ton of BG commands, so try being more specific.
0そうだね
プレイ済み
返信[2]
親投稿
Shy Guy™ shyguy224
No... Detecting collison through an array is all you can do. Like this: SPSET 0,0:YVEL=0:Y=0 DEF COLLISON IF MAP[X/16,Y/16]==1 THEN COLL=1 END DEF GRAVITY INC YVEL,0.25 IF COLL==1 THEN YVEL=0 SPOFS 0,199,Y END @LOOP COLL=0 COLLISON:GRAVITY:VSYNC 1 GOTO @LOOP IDK if it works though. Didn't check. May have clipping issues.
1そうだね
プレイ済み