Hey dave,
I'm not really looking for an engine. I'm under the impression that it would be more difficulty to go from using an engine to creating a full fledge 3D game/world on your own. Am I wrong with this? In any case, I did take a brief look awhile ago for some C# engines, but the few I found were for 2D games.
I've completed several 2D game tutorials (for example, a tennis game), but I'm mosting have difficulties with creating and nagivating a 3D world. For the tennis example I mentioned, the "world" was just a form though Visual C# and the characters were just sprites. Unfortunatly, this doesn't help me much on 3D game programming (at least, not as far as I can tell).
From the few tutorials that I could find that were actually for C# (and not C++), none detailed how to create a 3D room, let alone use a room you built through a program like 3D studio max (ie, instead of drawing the 'room' manually through the C# code).
With that said, there were several times that I came away from a tutorial (after finishing it) and learnt nothing new. Maybe I'm jumping ahead too far, but I also couldn't find anywhere that mentioned abit more informatoin about how 3D games work. By this, I mean, 2D games use tiles and flipping (?), but what about 3D?
What I'm basically looking for is how to use a room that I have created in 3D studio Max as the world, then to put a character into that world, and then move him around.
If you do know of some existing code/tutorial that can do this, it would be appreciated. You mention that the movement of a character is pretty simple; can I get some code (or a website with some) for moving a 3D character around both the X and Z axis (lets ignore the Y axis for now).
It just seems that the more I try and do research into this, the less I learn :(
Main Topics
Browse All Topics





by: davebytesPosted on 2005-05-08 at 21:37:20ID: 13957046
I'm missing what you're having problems with, or more specifically what solution you are looking for.
Do you need a full fledged engine? Are you just stumbling on the concept of user input and translation into moving an object in the world? Can you handle the loading and rendering otherwise? What's the 'simple procedure'?
I mean, handling WM_KEYDOWN/KEYUP events, or DirectInput, for user input, then translating inputs into some kind of movement for the 'character', is pretty simple, and most any tutorial site you'd have looked at should have an example of doing most of that work. I guess the concept of accelerations and velocities (if that's the route to go) can be confusing to translate from user input... but the rest of the work is harder. ;) Collision, AI, Animation, heck, camera intelligence... Those are the tough nuts.
So, if you can describe better what you are looking for a 'solution' for, maybe we can whip something up, or point you to existing sample code/tutorial that already does exactly what you are looking for. I know you say "I need code", but when it comes to this type of Q/A, usually there's something in existance that will lead you down the right path, and trying to offer any large base of code (beyond some workable pseudo-code) might be a bit difficult. ;)
-d