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 / Movement (Urgent)

Author
Message
Darkbasic MADPSP
19
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 31st Jul 2005 21:42
fps movement needed please help any mods or experinced coders because it's needed so i can test the world i created

life's a game and a games a life More games at www.freewebs.com/halorc
ZioNz
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 31st Jul 2005 22:10
Try this:

Xolatron old
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 31st Jul 2005 22:16 Edited at: 31st Jul 2005 22:18
Darkbasic MAD, please do not put '(Urgent)' in your post header - there are many threads just as urgent for develompent as yours.

(Thank you for posting this here, rather than DBpro Discussion, though )

You should try something like:


-Xol

Heckno
20
Years of Service
User Offline
Joined: 8th Sep 2004
Location: Palm Coast, FL
Posted: 31st Jul 2005 22:39 Edited at: 31st Jul 2005 23:22
crap, I thought i was in the other forum...sorry!!!!
Xolatron old
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 31st Jul 2005 23:00 Edited at: 31st Jul 2005 23:01
If you've seen any of his posts in DarkBASIC Pro discussion... I think he started using DBp a few days ago. Now that he is in the 'Newcomers Corner' we should be obliged to help him because he isn't spamming DBpro discussion

-Xol

master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 1st Aug 2005 08:28
I would use this to walk around intially, then add Xolatron's mouse movements:

That ought to let you test the game, you can position the camera whereever, just make sure to turn off the autocam with autocam off. Other than that, you're in pretty good shape.

__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk
Darkbasic MADPSP
19
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 1st Aug 2005 14:11
where you have put camera 5 would i have to replace all the 5 with the camera number of the main camera 1?

life's a game and a games a life More games at www.freewebs.com/halorc
BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 3rd Aug 2005 03:45
check the help file for the syntax. master programmer's suggestion works for DBC since DBC doesn't support multiple cameras.
Xolatron old
20
Years of Service
User Offline
Joined: 25th Jan 2004
Location: The Star Forge Language: DBpro
Posted: 3rd Aug 2005 04:42
5 is simply the amout of movement. The camera number is implied (in DBpro) as 0 if not specified, like above.

-Xol

master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 3rd Aug 2005 05:26
Yeah, you can change the move camera 5 to anything. The 5 is just the amount of movement per pixel. You can go 1,2,3,4,5 and so on. Any number, it just depends on what you want and how far you want to walk. 5 is just my default number for moving.

DB Classic does support multiple cameras, but, it just is too slow, so I don't use them in DBC.

--------------------------------------
Vote for Excelsis on the Puzzle Game Compo

__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk

Login to post a reply

Server time is: 2024-09-24 01:29:19
Your offset time is: 2024-09-24 01:29:19