Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
1
次のページ(過去)
トピック
受付中
shurgurdur ManlyPinkPony

collision imitation?

Okay, so essentially I have drawn a text image from an array so if the array val = 0 it prints a bit of text at a location determined by the value of a for loop + a coordinate. Basically I want to know if you can make it so the value of my dudes x,y coordinates cant = the coordinates at the location a wall was printed. plz ignore the green code i commented out
0そうだね
プレイ済み
返信[6]
親投稿
shurgurdur ManlyPinkPony
sorry i meant in @house not @h1. and i meant i want it so my dude CANT go to the locations of P1 and P2
0そうだね
プレイ済み
返信[5]
親投稿
shurgurdur ManlyPinkPony
oh thats a handy shortcut! it didnt change anything though =/ basically whenever my dude runs into a wall he replaces the tile then gets pushed back again. i want it so he can move to the location of that tile at all. the lication of the tiles i dont want the guy to step on is P1 and P2 in @gosub @h1 when the value in arr1==0. the above pic is what I want my dude not to do
0そうだね
プレイ済み
返信[3]
親投稿
shurgurdur ManlyPinkPony
can anyone help?
0そうだね
プレイ済み
返信[2]
親投稿
shurgurdur ManlyPinkPony
and here at the bottom is my buggy collision immitation. it makes it so my dude can still walk into the wall but it kicks him back a space every vsync tick
0そうだね
プレイ済み
返信[1]
親投稿
shurgurdur ManlyPinkPony
here is where all the text drawing happens
0そうだね
プレイ済み