So, here's how Mike Daily handles collisions. He uses Gamemaker as a starting point because he argues it does things horribly. How does his method compare to your own?
http://dailly.blogspot.com/2011/06/collision-detection.html
I have already red this ..
Personaly i'am using bouding box, this methos is IMO the more simpliest,and give very good results in most cases.
I have also used hardware sprite detection + bouding boxes on pce.
Pixel perfect is the best, but also more CPU consuming,and difficult to implement.
Quote from: touko on 12/18/2011, 12:39 PMI have already red this ..
Personaly i'am using bouding box, this methos is IMO the more simpliest,and give very good results in most cases.
I have also used hardware sprite detection + bouding boxes on pce.
Pixel perfect is the best, but also more CPU consuming.
the hardware collision isn't so great if the sprites aren't taking up the whole box lol.
I use bounding boxes too, as it makes the most sense and offers great flexibility.
Yes but you lunch a bounding test ONLY when an hardware collide interrupt is set ..
you avoids more collisions tests for nothing .
But i admit for PCE this is very very limited .
Quote from: touko on 12/18/2011, 12:51 PMYes but you lunch a bouding test ONLY when an hardware collide interrupt is set ..
you avoids more collisions tests for nothing .
But i admit for PCE this is very very limited .
I suppose you could do that, but is the gain really worth a damn?
i don't know really, i think so, and i confirm if you're using HuC for testing .
Because you probably use arrays for sprites coordinates.
This method is only usefull if sprite 0 is assigned (for exemple), for player shoot,and can shoot one at the same time ..
Quote from: touko on 12/18/2011, 12:56 PMi don't know really, i think so, and i confirm if you're using HuC for testing .
Because you probably use arrays for sprites coordinates.
This method is only usefull if sprite 0 is assigned (for exemple), for player shoot,and can shoot one at the same time ..
I don't use arrays, period.
Separates variables ??, or the use of spr_get ???
Neither.
;)
Lol,stack ???
printer??
3D storage ???
Aliens system ???
:mrgreen:
Magic and violence.
:lol: