Summary

List of Titles
- The Mouth
- Talking Carla (small contributions)
- Talking Carl iPad
- Pat the Talking Cat
- Talking Air Penguin
- Mr Poo
Technologies Used
- Unity Pro, iOS addon
- iPhone, iPad
- prime31 plugins: inApp Purchases, Social Networking, Game Center
- 2D Toolkit plugin (GUI)
- Megafiers plugin
- Playmaker FMS plugin (finite state machines)
- Unity Asset Server
iTunes Connect
I've already discussed the quirks of mobile devices in an earlier entry, but this was the first time I got familiar with Apple's publishing and sandbox testing system: iTunes Connect.
Playmaker FSM
We used many plugins to speed things up, and one of them was Playmaker FSM, that allows building finite state machines. Basically, it lets you create program logic by connecting boxes with lines. You then attach scripts to the boxes to determine what the program does while it's in that state.I found this system kind of interesting. It brings a nice, intuitive high-level structure to the program flow: each FSM is always in one state and one state only. You'd usually stay in one state for multiple frames, as opposed to the usual Unity program flow where the Update method and the like are called every frame for every object and the logic branches there, only to return to the Update method next frame. Also, if you wrote scripts for Playmaker, you'd have to think in terms of activities, not actors. You'd consider how the activity would start, what would be done every frame, and on what conditions would it end and what would be done next. These activities often ended up quite modular and reusable, though not always: sometimes I had to write a script for a simple equation used only once.

No comments:
Post a Comment