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.

DarkBASIC Professional Discussion / Please help with movment engine..

Author
Message
Coop
23
Years of Service
User Offline
Joined: 16th Jul 2003
Location:
Posted: 21st Jul 2003 06:19
Ok I think... that I need to type this.
IF keystate(17)=1
camera position x+1

I was hoping this would make the char move foward.
Can somone tell me if its right...and if not where to figure it out.
Kanzure
23
Years of Service
User Offline
Joined: 19th Feb 2003
Location:
Posted: 21st Jul 2003 06:51
IF upkey()=1 then camera position x+1


try that

~Morph/Kanzure
CodeNation
Coop
23
Years of Service
User Offline
Joined: 16th Jul 2003
Location:
Posted: 21st Jul 2003 22:40
How would I add in my model?

keeblerElf
23
Years of Service
User Offline
Joined: 11th Jun 2003
Location: United States
Posted: 21st Jul 2003 22:51
There's a post in the 2d forum that explains all this

Xander
23
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 21st Jul 2003 23:24
2D forum? I thought this was 3D stuff...

The camera is seperate from the 3D objects. Read some tutorials to get everything straightend out. Don't worry, you will get it.

Good Luck

Xander
Bolt of Bolt Software Productions
Megaman Zero
23
Years of Service
User Offline
Joined: 25th Jan 2003
Location: United States
Posted: 22nd Jul 2003 02:17
Actually, that code should be something more like this coop...

IF keystate(17)=1
camera position x+1
endif

When I gave you that code, I forgot to add the endif statement. ^^

Zero (Formerly Shadow Guyver)
NRTP(TM)http://heero_yuy1983.tripod.com/
NRTP Message Boardshttp://nrtp.proboards22.com/index.cgi
Coop
23
Years of Service
User Offline
Joined: 16th Jul 2003
Location:
Posted: 22nd Jul 2003 02:28
@Bolt where are some good tutorials?

Login to post a reply

Server time is: 2026-07-21 05:56:23
Your offset time is: 2026-07-21 05:56:23