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 / How come my monster doesnt move?

Author
Message
Oneka
20
Years of Service
User Offline
Joined: 24th Apr 2004
Location: Hampton,VA
Posted: 4th Jun 2004 05:16
How come it doesnt move? heres the code


A 1 man team
EVIL SIG!
Arkheii
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 4th Jun 2004 14:06 Edited at: 4th Jun 2004 14:08
You aren't updating the mX, mY and mZ variables, so it always repositions the object in the old location, then always moves it forward by 6 units, then does that again loop after loop.



Unrem those.

Oneka
20
Years of Service
User Offline
Joined: 24th Apr 2004
Location: Hampton,VA
Posted: 4th Jun 2004 15:26
ok well now I need him to wait like in other games before he moves again without using a sleep proc or wait proc..

A 1 man team
EVIL SIG!
GameKit
21
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 5th Jun 2004 07:56
Use the "Timer()" command... If you just want him to move step by step...



This should make the moster move once a second...

...Well... I hope I helped...

Programming isn’t an addiction, its more of a mental and social dependancy.
Oneka
20
Years of Service
User Offline
Joined: 24th Apr 2004
Location: Hampton,VA
Posted: 15th Jun 2004 23:47
Ok now I need help on making it so that when he moves it doesnt move all chunky like it does...some please help >_<

A 1 man team
EVIL SIG!

Login to post a reply

Server time is: 2024-11-26 21:24:41
Your offset time is: 2024-11-26 21:24:41