You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.
Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.
rem Move player down due to gravity
rem Increase player gravity to give the effect of accelerating
rem (Detect collision here)
rem (Adjust player position here due to collision)
rem Set the player gravity to 0 if you are on top of an object or under it
if get static collision y()<>0 then player_grav#=0
position object x_pos#,y_pos#,z_pos#
Login to post a reply