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 / RPG's controls

Author
Message
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 26th Jan 2006 18:34 Edited at: 26th Jan 2006 18:36
I wonder if someone could help me on a litlle problem. I tried to make an RPG control system But I'm having some problems on some areas sutch as:
-Move the character (because the comand move object it's kinda fast and I don't know if is the best option for this case)
-Move left/right (I want the character to mode to left and not to turn to left.... the problem is that the way I'm doing may be kinda complicated to handle the camera later)
- Move the camera (moving the camera along with the character it's no problem but if the character turns left I would want the camera to rotate till it was pointed to the character's back)

Here's the previous code:


The rotate code was created by Sven and I thank him for that but it's not simple as I whould want it to be :


KiTsUnE wOrKsHoP
ThinkDigital
19
Years of Service
User Offline
Joined: 18th Aug 2005
Location: A galaxy far, far away...
Posted: 28th Jan 2006 16:37
Assuming that this is in 3rd person view, just the person in there, move it's object, and use set camera to follow


x1b
20
Years of Service
User Offline
Joined: 19th Sep 2004
Location:
Posted: 28th Jan 2006 17:00
If you check the codeBase for Juxta Tempus,you'll find some RPG sourcecode there. http://darkbasicpro.thegamecreators.com/?m=codebase

- Do it, Do it Right, Do it right now..
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 28th Jan 2006 18:49
stepping left/right is easy, just rotate the player, move it, then rotate it back again.

life's one big game
Thebeely
19
Years of Service
User Offline
Joined: 4th May 2005
Location: Croatia
Posted: 28th Jan 2006 19:31
Quote: "stepping left/right is easy, just rotate the player, move it, then rotate it back again."

Or use "move object left"/"move object right".

Za dom - spremni!
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 31st Jan 2006 12:07
Quote: "Or use "move object left"/"move object right"."

um yes that is true...
but i used classic for a long time and these commands aren't available.

life's one big game
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 31st Jan 2006 22:22
then...

and


Login to post a reply

Server time is: 2024-09-24 15:28:33
Your offset time is: 2024-09-24 15:28:33