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 guy doesn't walk

Author
Message
zao420
22
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 7th Aug 2003 10:30
hi everyone.. i am new to darkbasic. and been trying setup a working little world. i am almost got everything working but for some reason my gy won't walk forward or back.. unless i use the other walk code i have commented out. but that doesn't work with the collison detection.. some the the code is from the roomdemo, and other sources..

anyways could someone look at the code and help me figure out why he doesn't move..
UnderLord
22
Years of Service
User Offline
Joined: 2nd Aug 2003
Location:
Posted: 7th Aug 2003 23:48
well if you'd give the code then we could look at it i see no code here

http://www.freewebs.com/independant
Scorpyo
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 7th Aug 2003 23:58
you're having 2 do-loop cycles..
when you enter or call the 2nd one it may never return to the 1st..

i just had a quick look...not really reviewed the code in depth..
haXor
23
Years of Service
User Offline
Joined: 12th May 2003
Location: United States
Posted: 8th Aug 2003 03:05
ooo guys, i actualy got it! ok, u have the contorl hero subroutine before the make hero subby, so ur trying to move somthing that isnt there, atleast thats what i think it is

Sup Kids
zao420
22
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 8th Aug 2003 04:11
it calls the make hero befor the control hero. anyway i think i got it all worked out. it seams i didn't set the camera right. so for now i am just using a basic camera untill i learn how to do it right. and i spent to much time getting it working so i am gong to do other stuff then go back to it later..

Login to post a reply

Server time is: 2026-07-06 20:15:16
Your offset time is: 2026-07-06 20:15:16