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.

Dark GDK / FPS error C2065

Author
Message
tvzen
14
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 22nd Jan 2010 00:14
im making a FPS game and i got error C2065
here is the code


can anyone help?
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 22nd Jan 2010 00:44
Quote: "dbControlCameraUsingArrowKeys (0,2.0f,1.0f,f3);"


'f3' must be the problem. Did you mean 3.0f?

Your_Health = (My_Mood == HAPPY) ? 100 : NULL;
tvzen
14
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 22nd Jan 2010 03:06
ok,fixed that and same thing
tvzen
14
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 22nd Jan 2010 03:09
there is a window that pops up saying
Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 22nd Jan 2010 06:28 Edited at: 22nd Jan 2010 06:29
Your code worked fine for me, had to modify your control camera though.

Change


to



it doesn't take that many arguments. Also as the above user stated you had a f in the wrong place.

www.touchofdeathproductions.com
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 22nd Jan 2010 07:22
try re-making the project

tvzen
14
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 22nd Jan 2010 16:12
i fixed it myself,i had to compile it ftw

but now the object wont show
Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 22nd Jan 2010 16:17
use dbLoadObject not dbLoadImage

www.touchofdeathproductions.com
tvzen
14
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 22nd Jan 2010 16:18 Edited at: 22nd Jan 2010 16:20
ok,i have the objects in my folder,i start without debugging(solution last time object wont show)and i have changend that they still arnt showing
Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 22nd Jan 2010 16:30
show me your code. Also hit F5 every time you want to run the game after changing something.

www.touchofdeathproductions.com
tvzen
14
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 22nd Jan 2010 16:32
Marsh0
15
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 22nd Jan 2010 16:35
add

dbScaleObject ( 1, 15000, 15000, 15000 );
dbScaleObject ( 2, 15000, 15000, 15000 );

www.touchofdeathproductions.com
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 22nd Jan 2010 22:34 Edited at: 22nd Jan 2010 22:38
Make sure you spell your media correctly.

Quote: ""Assault Tropper.x""


Are you sure it's not "Assault Trooper.x" instead?

Your_Health = (My_Mood == HAPPY) ? 100 : NULL;
tvzen
14
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 23rd Jan 2010 00:23
ok,that fixed,thanks

Login to post a reply

Server time is: 2024-11-20 05:39:59
Your offset time is: 2024-11-20 05:39:59