This project does NOT work well yet with Unity 2017.1. There's a performance issue with the shaders. Either use Unity 5.6.xx or 2017.2 beta.
-
create a folder with your name
-
under that folder, create a folder called MyScenes
-
in that scene, right click and add a Scene, give it a meaning full name. this will be the first world you design (aka level)
-
in the scene, drag and drop the prefab called GameSystem
-
delete the main camera
-
add a layer called FireLayer (this is required by one of the explosion assets)
-
add a tag called enemy
-
add a terrain
-
add a first person character controller
-
create a gameobject, call it enemies (kind of a folder for enemies)
-
drag on an enemy, give it the tag enemy
-
drag the enemy gameobject in the enemies gameobject
-
in the game system, pic an audio clip, this will be your background music
- Health bar
- Energy Bar
- Basic menu system
All scripts and assets, just like some demo prefabs, are stored under the CDPrefabs/CDScripts and CDXXXX folders.
private void doDamage() { HealthController h = GameObject.FindGameObjectWithTag("GameSystem").GetComponent();
if (h!= null)
{
h.doDamage(damagePerHit);
}
}
==============
Double check that it excludes meta files and the likes (and temp and library folder) otherwise your download/upload takes forever
also, go to edit / project settigns / editor and set Asset serialization to Force Text
https://unity3d.com/learn/tutorials/topics/cloud-build/creating-your-first-source-control-repository
- When you get an error about a number regarding Firelayer, add a layer called firelayer (the explosion asset needs this)