codevinsky Posted June 17, 2015 Share Posted June 17, 2015 I've got a project I'm working on right now that has a complicated series of transitions between game "states" as well as some complicated real-time Inverse Kinematic animations. I've got a number of people working on the project, most notably myself as the architect and an animator who's very familiar with phaser's tweening engine. However, I need to be able to separate app logic from animation code and sandbox him so that his code doesn't touch the app logic code. What's a good design pattern to follow that will give him full access to event based tweening while still keeping him from having to touch logic code? Link to comment Share on other sites More sharing options...
Maks Posted June 17, 2015 Share Posted June 17, 2015 I would use component pattern : http://gameprogrammingpatterns.com/component.html (great ebook by the way) Link to comment Share on other sites More sharing options...
codevinsky Posted June 18, 2015 Author Share Posted June 18, 2015 I'm going to end up going with this solution: https://stackedit.io/viewer#!provider=gist&gistId=0ec84c8264e96f210f3a&filename=animation-architecture.md Link to comment Share on other sites More sharing options...
Recommended Posts