component design with enemies

Started by
19 comments, last by rpiller 10 years, 11 months ago

How would you handle different kinds of bombs? Different kinds of bombs are dropped depending on the powerups Bomberman has.

To stat with I'll just have the 1 bomb so I can figure out how to do it. Then I'll tackle how to get different bombs! That's part of the challenge of this new way. To change my way of thinking about how to solve something like that. smile.png Wish me luck!

At first glance I'm thinking something around having multiple prefab components attached for each different bomb type. Then hooking that up with an inventory component that in this case is for bomb types (but could be generic enough for many other things). Details aren't work out 100% yet but the general idea around that might work. The good thing is once I find a good way to handle something like this the same idea can be applied for many situations like this.

This topic is closed to new replies.

Advertisement