There has got to be a more modular way to do per-pixel collision than the XNA sample, right? http://pastebin.com/a90TfbJm
@DiscordJames so if I have 100 unique assets in my game, I'd have to write 100 different functions for collision?
-
-
@DaveVoyles No you'd have a loop like they have.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@DaveVoyles If you want something modular you have to make a common Body or Collision interface that all your objects inherit from.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@DaveVoyles Add everything to a list, then you loop through it and check the collisions. That's overkill for your 3 objects though.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.