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 Discussion / Switching To...

Author
Message
Evil Inside
19
Years of Service
User Offline
Joined: 1st Jun 2005
Location:
Posted: 25th Jun 2005 21:01
Hey,

I'm making a third person shooting game and I need help...

How do you make the object move and switch to a walking animation once you press UP?

Can anyone help please?


-- Amazing Isn't It? --
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 27th Jun 2005 03:35 Edited at: 27th Jun 2005 03:37
Evil Inside,



I prefer, given my own preferances, not to use the move object command. However, it simplifies this example.


+NanoBrain+
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 27th Jun 2005 10:51
If you don't understand that, in DarkBasic, look under help-tutorials and click on 3D that walks. Observe the coding as it loads the "Idle" file and appends the "walk" file. Then look on the same code for
'If Upkey()=1 then...' Observe how the upkey is used to change the objects position by chosen amount, although it looks like the object is walking becaus ethe "walk" file is appended to the object. Later learn how to set the frames, and what not.

Enjoy Life while your still alive.
Enjoy a recees anytime!
Evil Inside
19
Years of Service
User Offline
Joined: 1st Jun 2005
Location:
Posted: 2nd Jul 2005 18:47 Edited at: 2nd Jul 2005 18:48
Ok thanks

Sorry I took a long time to reply...


"Are we going INSANE?!"

Login to post a reply

Server time is: 2025-05-22 21:51:46
Your offset time is: 2025-05-22 21:51:46