Width & height of sprite can be used as a bounding box in some situations; where you don't care what area of the sprite is hit; same goes for per pixel collisions. In my case I want to be able to define 1 or more bounding boxes for a sprite that allow me to define what specific area of the sprite was hit. For example, I want to be able to tell the difference of when a character is shot in the legs, versus the head, head shot is instant kill; leg shots take multiple hits, etc... This would be just one example where being able to define my own custom bounding boxes come in handy.
bigtunacanMember Since 24 Oct 2010
Offline Last Active Oct 21 2013 10:52 AM
- Group Members
- Active Posts 15
- Profile Views 1,144
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
bigtunacan hasn't added any contacts yet.