Devlog 03 - Day/Night Cycle, Collision Detection, Inventory and more!
Welcome back!
This week I had a little bit of time and added some basic, but important features to the game. First of all I made the height of the terrain based on height maps and made a way to find out the height of the map for a specific x and z coordinate.
After that I added GUIs to the game and created a very basic inventory. Right now you can move around with the items in your inventory and you can also drop them out of your inventory, but they will appear on the ground only in some later update. Right now your dropped items just get lost.
The next big feature I added was a day/night cycle with a moving sun object and light source and also a skybox that also changes from day to night texture. The skybox will probably be removed later, but right now it just looks cool enough to leave it there for now.
The most important feature I added this week to the game is the collision detection. Right now all objects that have collision enabled can have 1 or more collision boxes. These boxes determine the regions of the object where player can't move. Right now the player also has a cuboid collision box, but I might change it later to an ellipsoid form.
The last big feature is a basic map editor that can be enabled or disabled by pressing the m key. This editor right now allows only to place objects on the ground and outputs a line to the console. By copying this line to the maps file, we can add it to the map and it will act as a fully functional object when we start the game next time.
And this brings us to the last things I want to mention in this post. The smaller features that I'm not going to write a lot about are loading the map from a text file, 3rd person camera view, multiple light sources and some smaller improvements to the method of rendering the objects and their textures.
Thanks for reading, hit a like if you liked this weeks updates and don't forget to come back next week, when I add more new features to the game.
Files
Get The Zombie Apocalypse Game
The Zombie Apocalypse Game
This is a fantasy RPG game (Currently in development).
Status | In development |
Author | Dominik The Programmer |
Genre | Role Playing, Survival |
Tags | 3D, Fantasy, Monsters, Sci-fi, Singleplayer, supernatural, Third Person, Zombies |
Languages | English |
Accessibility | Subtitles, Interactive tutorial |
More posts
- The Zombie Apocalypse Game Devlog 10 - Menu and Settings Update!Mar 15, 2020
- The Zombie Apocalypse Game Devlog 09 - Item and GUI updateMar 07, 2020
- The Zombie Apocalypse Game - DevlogMar 02, 2020
- Devlog 07 Lens flare, Main Menu and GUI updateFeb 23, 2020
- Devlog 06 - Frustum culling, Enemies and an update to the EditorFeb 16, 2020
- Devlog 05 - Animaitions, Bloom Effect, Antialiasing and Anisotropic filteringFeb 16, 2020
- Devlog 04 - Water, Shadows, Particles and more!Feb 16, 2020
- The Zombie Apocalypse Game - Devlog 02Feb 16, 2020
- The Zombie Apocalypse Game - Devlog 01Feb 16, 2020
Leave a comment
Log in with itch.io to leave a comment.