There has got to be a more modular way to do per-pixel collision than the XNA sample, right? http://pastebin.com/a90TfbJm
@DiscordJames the sample makes it look as though I have to constantly compare my ball against some other pre-determined object
-
-
@DaveVoyles Well you do have to test it against everything else. How else would you know? -
@DiscordJames I mean it is comparing the rectangle of this character against the rectangle of a box in the game
End of conversation
New conversation -
-
-
@DaveVoyles For something more complicated than Pong you'd want to use a Broadphase algorithm to reduce your per pixel checks.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@DaveVoyles You could skip the check completely if the distance between a paddle and the ball is great than 50 or something as well.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@DaveVoyles Did you not write the rectangle collisions in there now? -
@DiscordJames I may not even bother with this thing because I am so confused - Show replies
New conversation -
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.