プレイ日記
*J.P.*[P]£ aj2003aj
i have a problem, so ive been trying to do BGcollision, and everything i try just fails and does nothing, first i thought i was doing it wrong, so finally i tracked it down to my jumping code, after testing this on 3 working BGcollision games it was very clear that it was the cause, but i cant figure out why. so if anyone can tell me how to fix it or just a better code to use, please do tell me.
4そうだね
プレイ済み
返信[1]
親投稿
Kl'Dck Hul HissingToaster
What's the actual error / symptom?
0そうだね
プレイ済み
返信[2]
親投稿
*J.P.*[P]£ aj2003aj
VX = GX - OX VY = GY - OY VM = SQRT(POW(VX,2)+POW(VY,2)) 'magnitude 'find unit vector UX = VX/VM UY = VY/VM 'UX and UY are then your unit vector values in the X and Y directions and can be used in movementor something like thatG is gravity point, O is object
0そうだね
プレイ済み
返信[3]
親投稿
Drake Drake001
That's just the same thing I'm using, but with 2 points of gravy. Kinda funky tho.
0そうだね
プレイ済み
返信[4]
親投稿
*J.P.*[P]£ aj2003aj
oh me and a friend came up with that on the computer and copy and pasted it so we wouldnt lose it,does it work?
0そうだね
プレイ済み
返信[5]
親投稿
Drake Drake001
my double gravy is quite functonial. (I be RealTiP, btw, so ye might know meh)
0そうだね
プレイ済み
返信[6]
親投稿
*J.P.*[P]£ aj2003aj
realTIP? idk. maybe... do you know any Picy3's?
0そうだね
プレイ済み
返信[7]
親投稿
Drake Drake001
not too sure, but I think I might of heard mention from gastropod_
0そうだね
プレイ済み