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 / How to make my character Modle move like FPS games

Author
Message
yahya
15
Years of Service
User Offline
Joined: 16th Oct 2008
Location:
Posted: 2nd Mar 2009 23:40
How do I make my 3D modle or at least one from FPSc move like FPSc games with the camera moving with me and everything
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 2nd Mar 2009 23:48
do a forum search.

Keep it simple.
Questions? Mail me
yahya
15
Years of Service
User Offline
Joined: 16th Oct 2008
Location:
Posted: 3rd Mar 2009 00:16
I did, but they all start with there own code that has an error in it.

I need to know how to load the modle and movie it, insted of it just standing there.
heyufool1
15
Years of Service
User Offline
Joined: 14th Feb 2009
Location: My quiet place
Posted: 3rd Mar 2009 01:27
You are basically asking us to make the engine for you because if you have moving you need collisions and you need camera following and you need slopes and the list just keeps on going.
yahya
15
Years of Service
User Offline
Joined: 16th Oct 2008
Location:
Posted: 3rd Mar 2009 02:14
hmmm at least is there a tutorial that can help me, I just need some pointers on how to start.
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 3rd Mar 2009 19:52
You mean apart from all the tutorials that come with DGDK...

[b]Yuor signutare was aresed by a deslyxic mud...
BOX2D V2 HAS HELP FILES! AND A WIKI!
entomophobiac
21
Years of Service
User Offline
Joined: 1st Nov 2002
Location: United States
Posted: 3rd Mar 2009 20:48
Quote: "You are basically asking us to make the engine for you"


"Engine" has a definition: http://en.wikipedia.org/wiki/Game_engine

The engine discussed here is the DGDK.
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 3rd Mar 2009 21:53
Just because GDK is an engine, and tbh not much more than a rendering engine when you think about what actually works well, doesn't mean another engine cannot be built on top of that.
DnB
15
Years of Service
User Offline
Joined: 28th Feb 2009
Location:
Posted: 4th Mar 2009 05:21
I just started basically using Dark GDK , But I would assume the code would look like


I have not tested that code, but I am pretty sure that would make an object follow the camera. The ? is the object number. Aka, iObject.

The same thing applies if you want a sound to follow the camera or whatever. Just replace dbPositionObject accordingly.

If you wanted to object to be more in front of the camera, you could so something like
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 4th Mar 2009 15:50


Sharp Bullet
16
Years of Service
User Offline
Joined: 5th Feb 2008
Location: Pluto
Posted: 5th Mar 2009 19:20
Or you can control the object/camera using sin and cos functions for moving it.

First say to yourself what you would be; and then do what you have to do.

Login to post a reply

Server time is: 2024-09-30 19:23:27
Your offset time is: 2024-09-30 19:23:27