I am working on a horror game.But I want it to be like outlast.
some things I wanna ask how:
1.A pathfinding AI
2.when your press “w”(or any other key)an animation play,but if you stop pressing “w”(or any other key)the animation stops.
3.if you click on a 3d text ,the main camera moves
4.Game auto-save system,you play at one part of the game and stop.when you go back to the main menu,a new option continue appears( 3d text 0
5.this one is almost like slender, when you finished collecting 8 pages,an animation plays
I hope you can either find me a tutorial or script it in the comments/answer
system
2
- Look at Aron’s pathfinding free…
- animation.crossfade(“walk”); wrap it in a bool based on an event.
- Attach a script to the camera using if (input.GetMouseButtonDown(0)); Then do a transform to the text.
- Look at PlayerPrefs
- more if statement’s based on a float, for every item collected +1 to float when float == 8.0f then play animation.
Links:
A* Pathfinding Project (Pathfinding);
http://docs.unity3d.com/Documentation/Manual/AnimationScripting40.html (Animation);
Unity - Scripting API: PlayerPrefs (Playerprefs);
Unity - Scripting API: Transform (Transform);
http://unity3d.com/learn/tutorials/modules/beginner/scripting/if-statements (if statements);