Self is on Screen - only for 320x480 [b42]

JensWinterstein

  • *
  • Posts: 433
It seems that "Self is on screen" only considers the fixed bounds at 320x480.

Example:
- Set game to landscape mode and/or resolution to custom 480x320
- Pick an actor and set "if (!([mActor isOnScreen])) { [mActor die]; }"

Result:
- The actor always dies after x > 320 instead of x > 480

However, it can be worked around by checking the x/y pos manually instead of using "Self is on screen".

Hope this helps :)

« Last Edit: September 19, 2011, 11:25:56 pm by Jon »
Get 100 Chambers for Android / iOS
Get Cubus Velox for Android / iOS or play it on Flash

- Portfolio

Jon

  • *
  • Posts: 17529
It appears that my code for this one doesn't account for landscape. It also doesn't seem to account for iPad either.


JensWinterstein

  • *
  • Posts: 433
Get 100 Chambers for Android / iOS
Get Cubus Velox for Android / iOS or play it on Flash

- Portfolio