Edelweiss - Open Source Platformer Game

Edelweiss

Open source webGL game made with three.js

68747470733a2f2f66656c69786d6172696f74746f2e73332e65752d776573742d332e616d617a6f6e6177732e636f6d2f6e65775f7465617365725f676974687562312e676966

How it works

Custom physics engine
The game works with a simplistic physics engine based on axis-aligned bounding box collision detection. All the physic objects in this game are either boxes or axis-aligned square tiles. Find the code here.

Custom map editor
The information about the physical map is contained in an JSON called sceneGraph that the game loads on statup. I created this file using a custom map editor, that I coding for the sole purpose of making this game. Find the code here in a separate repository.

Manual camera positioning
Moving the camera to support a 3D platformer game is a challenge, that I had to face on my own since I used a custom physics engine. Find the code here.

Automatic optimization
The game is playable from mid-range mobile to high-range desktop. To support this adaptability, the game adapt itself to the device capability at runtime. Find the code here

Runtime assets loading
This game is light, but I still wanted to optimize loading time by loading map tiles at runtime. Find the code here

Github: