Problems with camera tracking & collision in iPad screen size

GLGAMESGLGAMES SingaporeMember Posts: 988
edited November -1 in Working with GS (Mac)
Guys, i'm creating a game for ipad with 1024 x 768 screen but scene size is twice as high & wide. When ever i move my actor the camera tracking will only move the whole screen when actor touches the edge, how can i change it that half way before reaching edge the scene will move. i'm using parallax background btw.

And also is there a problem with the collision area? seems like collision happens even when 2 actors is not touching but with gap in between.

Comments

  • GLGAMESGLGAMES SingaporeMember Posts: 988
    Added video.
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    In the creator you need to click the camera icon and bring the size into the centre as small as you can get it.

    image

    As for collision area, this works fine but it isn't pixel detection collision. i.e. If you had a circle, the collision area is actually a rectangle around this. Make sure you're images are properly trimmed and there is no wasted space as this will increase the collision area. Also, if you are using a more circular shape, in the actors properties on the left, change the collision shape from rectangle to circle.

    Hope that helps.

    Cheers
  • GLGAMESGLGAMES SingaporeMember Posts: 988
    thanks for the info i'll give it a try.
Sign In or Register to comment.