
Metaworld
This game is from ldjam.com, which is currently unavailable.
You can try viewing the original page on Web Archive (may not load correctly).
You can try viewing the original page on Web Archive (may not load correctly).
Welcome to the Metaworld
Ok so I don't have much of a game, I'll admit that!
But I do have a heck of a lot of tech demo to show you! :) and wow is it awesome stuff :thumbsup:
Visit my hosted game, and have an explore.
Most of what you will be looking at is under the test suite. (I recommend both desktop and SmartPhone experiences).
Visit the test suite
Simplex Noise test
I converted a C library into WASM so I can access all the power of C in the browser to generate noise.
I used this tech later in a number of areas, least of which was generating the terrain in the "Mesh Create" test suite
Perlin Noise test
This is the same as the Simplex noise, but I knew about Perlin before Simplex, so we got both.
GPS test
The intent of the game was that I would use your real physical location to locate you in the game world (that right, it's going to be world scale MMO).
So run this test and you will see how close to your real location the GPS gets
Mesh create
This is there I merged everything from above to create a world (You're on the inside of the planet, use WASD to move, and the really janky mouse to look around.)
You will also see the start of me handling Level Of Detail scaling.
Depending where in the world you are, (equator, northern hemisphere, southern hemisphere etc, where the LOD focuses will match an approximation of your physical location.
Texture Create
I build out some utility functions to allow me to texture objects. What you're looking at has all three of:
* A Texture map
* A Normal Map / Bump Map for dynamic lighting
* A Noise map to break up repetition - though you won't notice this on the small scale you're currently seeing it.
Generate Noise Map
This is a test suite I built to confirm that the amount of noise we get back from simplex was within the bounds that we expected it to be (nothing over 1/-1)
Model
I got model loading and animation working - though miximo has some issues with their provided models and animations - something to do with incorrectly named bones. So since I had a proof of concept I just moved onto the next part.
Ray Casting
In this test you can click on the boxes in the world and see them change colour. If you look at the developer console you will also see details about the object you clicked on. :thumbsup: This is pretty awesome. It also works on Mobile woohoo!
Device Orientation
YOU GOT TO TRY THIS!
Fire this up on your smart phone and take a look around, you're going to LOVE it!
Accelerometer
I tries to setup logic to allow us to move the camera in the 3D world by walking around and looking at things. Problem is that Accelerometers have drift and are not super accurate in the phone, so 1Gx!=1Gy!=1Gz :( sad times. But I moved on and would come back to this once we have camera motion tracking.
Camera Motion Tracking
This is where I ended last night (I had work in the morning :-/
But I started working on camera motion tracking, so we would use frames from the camera to detect movements in the same way that your computer mouse detects movement. But in 3D instead of 2D (some super cool mice, can detect in 3D as well :) )