Game Malfunctioning on other Platforms

Okay this is a VERY specific problem but I am having issues. In my game, it's a puzzle platformer, I have a tutorial setup. It works FLAWLESSLY on iPhone 5 (mainly because I built it there, not purposely). When I change to anything else, the main thing that craps out are the touch functions. The are being offset down to the left even though they are directly on the actors themselves. Is this a bug or is it for some reason offsetting these because of screen size? I was having issues with the moveTo function but I can simply solve that by moving to screenX and Y/2.

So will I have to remake my game on another platform, or is there a simple fix?

Comments

  • dustingriffiedustingriffie Member Posts: 57

    And I built it on iPhone 5 because I was just messing around in GS then got an idea and rolled with it for about 7 hours.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,914

    It should adjust in preview when you check it there using the device type dropdown during preview. Don't change the device type of the project.

  • dustingriffiedustingriffie Member Posts: 57

    @The_Gamesalad_Guru said:
    It should adjust in preview when you check it there using the device type dropdown during preview. Don't change the device type of the project.

    Oh no I wasn't changing the actual device of project, it was in the preview, sorry for not stating that. It works great when it is selected on iPhone 5 then if I go to iPhone 6 or anything else it malfunctions.

  • jonmulcahyjonmulcahy Member, Sous Chef, PRO Posts: 10,386

    are you using overscan/stretch/letterbox when previewing on the iPhone6
    are you doing anything with the camera
    in the scene, is your game offset from the absolute 0,0 coordinate in the bottom left of the scene?

  • dustingriffiedustingriffie Member Posts: 57

    @jonmulcahy said:
    are you using overscan/stretch/letterbox when previewing on the iPhone6
    are you doing anything with the camera
    in the scene, is your game offset from the absolute 0,0 coordinate in the bottom left of the scene?

    1. Not really sure what those 3 are, some enlightenment? :smile:
    2. No, the camera has not been touched, it just overlooks the scene.
    3. Does that mean nothing is off the screen? I do have actors technically off the screen like death colliders.
  • dustingriffiedustingriffie Member Posts: 57

    Okay when I actually change the project, it works perfect on iPhone 6, now malfunctioning on other devices.

Sign In or Register to comment.