PeterC Posted March 8, 2015 Share Posted March 8, 2015 Hi, I was wondering if it's possible to create some kind of prefab class that isn't based on something.Some information: I'm using Grunt together with YO, i have followed the tutorial from flappy. I'm building some kind of zelda 2 game.Because i'm using different states, i'll like to create prefabs that can be included as extention and not as based on.The prefabs i've learn in the flappy tutorial is that the prefab is always based on a object (sprite,tile,group...). This is what i'm trying to do: http://screencast.com/t/HU2HQlF7I want to have a class that shares the game object and has his own update method, And ideas, examples, is it possible? Thanks in advance! Grtz,Peter Link to comment Share on other sites More sharing options...
PeterC Posted March 15, 2015 Author Share Posted March 15, 2015 I found a solution, so this topic can be closed Link to comment Share on other sites More sharing options...
Recommended Posts