Sorry your browser is not supported!

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.

Newcomers DBPro Corner / Help need to make a door way

Author
Message
Don3784
11
Years of Service
User Offline
Joined: 15th Apr 2013
Location:
Posted: 15th Apr 2013 21:26
Trying to figure out how to make a doorway fairly new to this i know all the ands are wrong any body got any idea how to improve this

do

paste image 2, 0, 0

if upkey() = 1 and ypos => 110 then ypos = ypos - 4
if downkey() = 1 and ypos =< 377 then ypos = ypos + 4
if rightkey() = 1 and xpos =< 570 then xpos = xpos + 4
if leftkey() = 1 and xpos => 30 then xpos = xpos - 4
[u]if xpos => 60 and xpos =< 90 and ypos => 90 then upkey()= ypos - 4


PASTE SPRITE 1,xpos,ypos
sync
loop
Don3784
11
Years of Service
User Offline
Joined: 15th Apr 2013
Location:
Posted: 17th Apr 2013 03:15
never mind figured it out

Login to post a reply

Server time is: 2024-11-23 14:50:40
Your offset time is: 2024-11-23 14:50:40