Skip to main content
VeraShackle's user avatar
VeraShackle's user avatar
VeraShackle's user avatar
VeraShackle
  • Member for 14 years, 8 months
  • Last seen more than 14 years ago
awarded
awarded
awarded
awarded
awarded
answered
Loading…
answered
Loading…
comment
2D XNA game Camera issue
Hi Ben, when you have time do look at the services pattern - I wrote this a while ago: xna-uk.net/blogs/braindump/archive/2009/08/23/… In your current project the downside of using a Static on the specific game object is that your drawables will always be 'tied' to this object in the future in order to get their camera - a service or passed standard interface will 'decouple' the drawables from any particular game object. To re-use them in the future they just need to be created in a new Game object that offers an object with this interface.
Loading…
answered
Loading…
awarded
revised
Loading…
comment
Side detection on Rectangle collision detection?
Hi Zolomon - I believe you should be able to apply this approach to 2D rectangles & circles instead of boxes and spheres, but I'm afraid I have currently implemented it in 3D only.
answered
Loading…
awarded
Loading…