View Code? Open in Web Editor
NEW
This project forked from completeunitydeveloper/text101-original
A basic state-machine based text adventure exercise as part of http://www.CompleteUnityDeveloper.com
License: MIT License
03-text101's Introduction
- What Text 101 teaches
- Increase our scripting skills (nearly 200 lines!).
- The basics of “finite state machines”.
- Invite you to create and share your own story.
- Build our game to the web.
- Share with the world.
Section 3 Game Design Document
- Recap how to create and save projects
- Set Up and save your Text 101 project
- What gets 'carried over'
- Import your prison image asset
- Save your project
Adding 2D User Interface Text
- Adding a UI > Text element to a scene
- Setting the camera background colour
- Moving and scaling your text
- How to programatically change text
- Challenge: Change text only on key press
- Challenge: Add and scale the image
Word Wrapping & Joining Strings
Building Your Game Engine
- The structure of our “engine”
- What's an enum?
- Challenge: complete the story
Our TextController.cs Script
- Update Your Update() Method
- Rename freedom to corridor_0
Extending Our Prison Story
- Add New State Methods.
- Create your own text adventure.
- How to enable code folding in Unity.
- How to use Region to fold code.
- Local Play Testing.
Our Extended Story Script
Text101 Unity 5 & Web GL Build (Optional)
- Upgrade to Unity 5.
- About Web GL builds.
- Build for Web GL and share.
DOWNLOAD Section 3 Unity Project
- Recap and what's next
- Did you write your own story?
- Go on, be brave!
- Maybe ask a friend to write it?
- Build for the web.
- Share with our fantastic community
03-text101's People
Contributors
Watchers