How to calculate surface area
Hi, I'm trying to detect the area of an iPhone screen that is taken up by certain actors - basically my game involves filling up the screen with actors and I need to detect when that level hits say 75% of the screen filled.
Anyone got best suggestions on how I could implement this?
Thanks!
Mick
Anyone got best suggestions on how I could implement this?
Thanks!
Mick
Comments
Add in the actors a rule
Timer (so they can drop past the y)
If actor 'y' = or > than 'y' amount
Game over
This is probably not what you want, but figured id give it a shot.