Game Engine Status Update 2

Standard

Fixed some things, broke some other things. Added a mob with a very simple chase function. More to come.

Some more digging in this video, you can see the marching cubes shapes are a bit jagged and lighting is bare bones / rough. Work in progress. I have some old light spreading / radiosity type code for 3D voxel arrays in minecraft type worlds but its pretty tricky stuff and may take a while to adapt and implement. That along with water.

Chunk Class for Unity Voxel Engine (Example)

Standard

Here’s an example of a Chunk class i use in some variants of the engine. This one is a bit experimental but working OK so far.

chunk

 

Creating a grid mesh programmatically in Unity 3D

Standard

Accessing strings in c++ from c#

Standard

Scenario; You may have some c++ code you wish to output string data to be used in a c# application.

SQL to JSON with C#

Standard

This seems to work quite well. If there is a more efficient way please let me know.

php mysql database connection

Standard

Connecting to mysql via php.

this is nice to keep in a separate file (inc/conn.php) which can be included into other pages via;

upload via FTP with c#

Standard

Quick and easy way to get files uploaded with c#;