2D to 360 degree to 3D Tutorial 1
Posted: Sat Apr 26, 2008 5:40 am
this tutorial demonstrates a dynamic compass
I have my 3D engine now working and over the next few days i will be posting a series of small tutorials which build the engine step by step.
I am not saying it is a good engine, but it does work, and is as effective as , if not more so , then wolfenstien
( you can walkthough - fly - jump etc etc).... it may not be the best but I hope it helps others
I have broken it down into several stages because each stage builds up to a useful individual concept, that can be used outside of the engine in other sorts of games.
The first small lesson is an easy one ( and I admit is not really my code) but it is essential to the entire engine to understand the concept ( and later use it to build the 3D engine) there are other ways to do the same thing, but this way is very neat!
also ...my code is probably not the best, so any advice is welcome
The first step simply uses a concept posted by kaladoff (i believe that was the first post on it ?- correct me if I am wrong)
see http://game-editor.com/forum/viewtopic.php?f=5&t=4600&st=0&sk=t&sd=a&hilit=circle
In this step we simply move a Compass to point in the direction the Actor is facing using the same code.
- use left right cursor to turn
- up = forward
- down = backwward
In the next stage, we use the same concept to move the entire world around the player, then, we move onto 3d.
feral
(feralX3d)
I have my 3D engine now working and over the next few days i will be posting a series of small tutorials which build the engine step by step.
I am not saying it is a good engine, but it does work, and is as effective as , if not more so , then wolfenstien
( you can walkthough - fly - jump etc etc).... it may not be the best but I hope it helps others
I have broken it down into several stages because each stage builds up to a useful individual concept, that can be used outside of the engine in other sorts of games.
The first small lesson is an easy one ( and I admit is not really my code) but it is essential to the entire engine to understand the concept ( and later use it to build the 3D engine) there are other ways to do the same thing, but this way is very neat!
also ...my code is probably not the best, so any advice is welcome
The first step simply uses a concept posted by kaladoff (i believe that was the first post on it ?- correct me if I am wrong)
see http://game-editor.com/forum/viewtopic.php?f=5&t=4600&st=0&sk=t&sd=a&hilit=circle
In this step we simply move a Compass to point in the direction the Actor is facing using the same code.
- use left right cursor to turn
- up = forward
- down = backwward
In the next stage, we use the same concept to move the entire world around the player, then, we move onto 3d.
feral
(feralX3d)