Game Creation with the Unity Game Engine/Game1 VeganIsland
Game 1: Vegan Island[edit | edit source]
A castaway on a lonely Island needs to survive til he will be found from Search and Rescue Partys. There are no animals on that Island, so he needs to gather Food, create a campfire, build a shelter and create Tools to hold out until he is found.
Julian de la Torre Altena
- Randomized creation of Gameobjects like trees, bush, mushrooms and stones.
- Selection of Gameobject for Harvesting
- Crafting System depending on how much food, wood and stone are gathered.
- Setup of Main Menu
- Inventory System Implementation
- Gameobject Layout of all materials
- Coding Architecture
- Terrain Layout
- Camera Control and Player Movement
- Day/Night Cycle
Coding and Design Tipps[edit | edit source]
There is an option to create a massive amount of trees through out the whole terrain, there are some problems coming with it. The tree prefab collision only works with Sphere, Box or Cube collision. When you use Mesh collisions it will not work with the mass trees. That is a bug known.
- Random GameObject Placement
Easy way to place a random amount of GameObject on the Terrain is to use a invisible object (Cube). That object will then be moved random around the map and with the function "Terrain.activeTerrain.SampleHeight(transform.position);" its possible to get the height of the terrain. Then you just Instantiate the new object on the position of the invisible object with the height you got with the function mentioned above.
References[edit | edit source]
< previous next >