Log In  

Cart #27815 | 2016-09-01 | Code ▽ | Embed ▽ | No License
13

Old_version:

Cart #27480 | 2016-08-27 | Code ▽ | Embed ▽ | No License
13

Here's a peek at a voxel based flight simulator engine that I have been working on.
The engine is heavily inspired by Comanche:
https://en.wikipedia.org/wiki/Comanche_(series)

I've been having fun with the smooth and seamless map generation. Perhaps other folks can make use of that code.

I don't think that I am ever going to get the frame rate up to butter smooth 30fps without dropping the res so low that things are unreadable, but maybe a flight sim can settle at 15 and be okay.

Updates:
--Added controllable ship with shadow
--Up and down controls height
--Z controls thrust
--Rings to collect
--F to explore the ship / return to flight mode

-Electric Gryphon

P#27482 2016-08-27 15:25 ( Edited 2016-09-01 06:43)

This is looking awesome! Love how the terrain is rendered to show direction of light. It would be cool if you added the 'Z' and 'X' keys to move you up and down as well.

P#27486 2016-08-27 15:58 ( Edited 2016-08-27 19:58)

Love this! Change the sky to green and create "Rescue on Pixalous" :)

P#27487 2016-08-27 17:22 ( Edited 2016-08-27 21:22)

Really cool, reminds me of the flight sequence in the original Dune, although this is real time... Love it :)

P#27488 2016-08-27 17:54 ( Edited 2016-08-27 21:54)

Cool! Reminds me of Commanche3D .. pretty close! :)

P#27553 2016-08-28 13:35 ( Edited 2016-08-28 17:35)

Wow that's super cool! Really impressive!

P#27606 2016-08-28 22:12 ( Edited 2016-08-29 02:12)

I got the Z buffer working more or less, but shadows are definitely a bit glitchy--though perhaps it's normal for shadows to fly above mountains. I suspect that my hacked together 3D sprite code and my hacked together height map code are projecting to just slightly different screen y coordinates.

I'm kinda pumped that I was able to inject some older wall-casting code in here so that you can explore the ship as well as fly it by hitting the 'F' key.

I guess I should figure out what the actual game will be... collecting rings is just a placeholder.

The best I have right now is:
Destroy planetary defenses
Land at base, and explore to find power core while fighting, uh, defenses
Use power core to escape planet and land on another one with... different colors!
lather rinse repeat

P#27818 2016-09-01 02:43 ( Edited 2016-09-01 06:43)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 18:36:54 | 0.029s | Q:23