Thanks!
ChAdams
Creator of
Recent community posts
Thanks, the source for the terrain system is up here: https://github.com/chadams77/LunarOasis/blob/main/main.cpp#L802 (line 802-914). Basically the levels are stored as a 64x64 grids of numbers, which on level start is turned into a 512x512 height map by randomly applying depth sprites for various sizes of rocks such that empty parts of the grid are not filled, then a 64x64 window is rendered every frame and some basic lighting is calculated and the terrain is shaded. For destruction the heightmap is modified in real-time.
https://chadams.itch.io/gravitura
Made this game for the Global Game Jam this past weekend, it's a 2D gravity simulation game with 3D graphics where you fly a little U.F.O. and attempt to gather orbs dangerously close to the surface of various celestial bodies without crashing. The levels are very hard, but all are winnable. Replayability in improving your high score by beating levels using less fuel. Some levels are more challenging simply because of the amount of fuel you start with. As a graphical touch there are particles in space that are also effected by gravity, this as well as looking nice will give you an idea of how strong and what direction the gravitational forces are around the map.
Here's a little trailer I put together:
Enjoy,
- chadams