Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualrpiller

Posted 31 May 2013 - 06:36 AM

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.


#1rpiller

Posted 31 May 2013 - 06:32 AM

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. :) Wish me luck!


PARTNERS