Hi again :D
Anyone know how to adjust what a family contains at startup?
This would be ideal as it means all my bad guys are in one family but on each level I can spawn only certain ones.
Sprites can be in more than 1 family
So make more "sub" families
I have about 40 events against the family, if I add families that's a lot of code repetition right?
Develop games in your browser. Powerful, performant & highly capable.
Then maybe add instance variable to that family and set it per sprite
So you can
If instance variable is 1 do this
If instance variable is 2 do that