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.

Code Snippets / [DBP] FPS Camera

Author
Message
n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 3rd Jul 2009 23:32 Edited at: 29th Jul 2009 22:00
An FPS camera system I made for a project I'm working on. Thought some people on this forum might find it useful

Functions:



How you use it:



"I have faith, that I shall win the race, even though I have no legs, and am tied to a tree." ~Mark75
Monk
15
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 7th Jul 2009 22:48
I like the little minimap in the top, very nice =)



[link]http://forum.thegamecreators.com/?m=forum_view&t=153466&b=1[/link]
Softwizz
14
Years of Service
User Offline
Joined: 14th May 2009
Location: U.K.
Posted: 11th Jul 2009 15:32
Runtime error 7006 - object number illegal at line 13

Line 13 is:



Nothing to see here, move along please.
Softwizz
14
Years of Service
User Offline
Joined: 14th May 2009
Location: U.K.
Posted: 11th Jul 2009 15:55 Edited at: 11th Jul 2009 15:56
I think I got it to work by adding the line:


after the line:


in the 'Setup_FPSCamera' function.

Is this whats its supposed to look like?, it seems to work well.



Nothing to see here, move along please.

Attachments

Login to view attachments
n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 29th Jul 2009 03:10
Yeah. What was happening before?

"I have faith, that I shall win the race, even though I have no legs, and am tied to a tree." ~Mark75
Softwizz
14
Years of Service
User Offline
Joined: 14th May 2009
Location: U.K.
Posted: 29th Jul 2009 21:38 Edited at: 29th Jul 2009 21:42
nothing happened before cos it wouldnt compile.
I used it in a code snippet here:
http://forum.thegamecreators.com/?m=forum_view&t=154103&b=6

Nothing to see here, move along please.
n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 29th Jul 2009 22:00
Weird, because I just tried using the Lib in another program and it worked... <.<

Oh wait! You're right, I messed up the example Sorry, was used to __CamObj before I changed it x.x

"I have faith, that I shall win the race, even though I have no legs, and am tied to a tree." ~Mark75

Login to post a reply

Server time is: 2024-05-05 08:19:10
Your offset time is: 2024-05-05 08:19:10