Jump to content

Go to solution Solved by Diversityy,

8 posts in this topic

Recommended Posts

Posted (edited)

elseif ( string.sub( system.getInfo("model"), 1, 2 ) == "iP" and display.pixelHeight > 960 ) then

  application =

{  

content =

{  

  width = 320,

  height = 568,

  scale = "letterBox",

  xAlign = "center",

  yAlign = "center",

  imageSuffix =

{  

        ["@2x"] = 1.5,

        ["@ 4x"] = 3.0,  

      },

   },  

}

 

Note: Had to put a space between @ and 4x due to it configuring it to a member with 4x in their name. This is configuration for an Iphone 5, what device are you using?

Updated by XxGam3Ma2t3rxX
Posted

elseif ( string.sub( system.getInfo("model"), 1, 2 ) == "iP" and display.pixelHeight > 960 ) then

  application =

{  

content =

{  

  width = 320,

  height = 568,

  scale = "letterBox",

  xAlign = "center",

  yAlign = "center",

  imageSuffix =

{  

        ["@2x"] = 1.5,

        ["@ 4x"] = 3.0,  

      },

   },  

}

 

Note: Had to put a space between @ and 4x due to it configuring it to a member with 4x in their name. This is configuration for an Iphone 5, what device are you using?

<eof> expected near 'elseif'

I get that error when trying to run, are you sure it's that complicated?

elseif ( string.sub( system.getInfo("model"), 1, 2 ) == "iP" and display.pixelHeight > 960 ) then

  application =

{  

content =

{  

  width = 320,

  height = 568,

  scale = "letterBox",

  xAlign = "center",

  yAlign = "center",

  imageSuffix =

{  

        ["@2x"] = 1.5,

        ["@ 4x"] = 3.0,  

      },

   },  

}

 

Note: Had to put a space between @ and 4x due to it configuring it to a member with 4x in their name. This is configuration for an Iphone 5, what device are you using?

Testing it on iPad Mini 2 and iPhone 5
Posted
<eof> expected near 'elseif'
I get that error when trying to run, are you sure it's that complicated?

Testing it on iPad Mini 2 and iPhone 5

 

Use corona

As for the Ipad

With 360 as the width, we need to calculate the height that will fit the iPad’s screen shape.  The iPad screen is 768×1024, or 1536×2048 for the Retina iPad (double, so the same ratio). First, divide 1024 by 768 to get 1.33.  Then, to get the height, multiply 1.33 by 360 for a result of 480.

1024 / 768 = 1.33  --screen ratio (height:width)
1.33 x 360 = 480

Not sure for Ipad mini however.

Corona should work with the code provided above. But yes it is that complicated last time I checked.

Posted

Use coronaAs for the Ipad

With 360 as the width, we need to calculate the height that will fit the iPad’s screen shape.  The iPad screen is 768×1024, or 1536×2048 for the Retina iPad (double, so the same ratio). First, divide 1024 by 768 to get 1.33.  Then, to get the height, multiply 1.33 by 360 for a result of 480.

1024 / 768 = 1.33  --screen ratio (height:width)

1.33 x 360 = 480

Not sure for Ipad mini however.

Corona should work with the code provided above. But yes it is that complicated last time I checked.

Using AutoTouch to run the scripts >_<
Posted (edited)

Using AutoTouch to run the scripts >_<

Hmm maybe this script would be better..At least for auto-touch

local region = {800, 540, 600, 40}

local result = findColor(16431023, 0, region)

if next(result) == nil then

        --Color not found, run command

touchDown(6, 392, 238);

 

else

            --Color is found, run other commands

touchDown(8, 389, 1180);

 

end

 

[Auto-touch is for auto pressing so I would assume this would be the best script.]

Anyways I am going away for a bit! Look up auto-touch lua script screen adaptations on google!

Updated by XxGam3Ma2t3rxX
  • Solution
Posted
Solved
The question(s) in this support topic have been answered and the topic author has resolved their issue. This topic is now closed. If you have other questions, please open a new support topic.
Guest
This topic is now closed to further replies.
  • Our picks

    • Meow Tower - Nonogram Puzzle v3.3.401 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Meow Tower - Nonogram Puzzle By HyperBeard Inc.
      Bundle ID: com.grapetree.meowtower
      iTunes Store Link: https://apps.apple.com/us/app/meow-tower-nonogram-puzzle/id1579122980?uo=4


      🚀 Hack Features

      - ADS NO
      - Gold CANS
      - Pencil Max 
      - Hints Max
        • Thanks
        • Like
      • 9 replies
    • Meow Tower - Nonogram Puzzle v3.3.401 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Meow Tower - Nonogram Puzzle By HyperBeard Inc.
      Bundle ID: com.grapetree.meowtower
      iTunes Store Link: https://apps.apple.com/us/app/meow-tower-nonogram-puzzle/id1579122980?uo=4
       

      🚀 Hack Features

      - ADS NO
      - Gold CANS
      - Pencil Max 
      - Hints Max 
        • Winner
        • Like
      • 14 replies
    • Happy Citizens - Mayor Sim v1.3.7 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Happy Citizens - Mayor Sim By MIYA TECH LIMITED
      Bundle ID: com.miyagames.happycitizen.ios
      App Store Link: https://apps.apple.com/ca/app/happy-citizens-mayor-sim/id6745251520?uo=4


      🤩 Hack Features

      - Gems
      - Cash
      - Energy
      - Water
        • Winner
        • Like
      • 3 replies
    • Happy Citizens - Mayor Sim v1.3.7 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Happy Citizens - Mayor Sim By MIYA TECH LIMITED
      Bundle ID: com.miyagames.happycitizen.ios
      App Store Link: https://apps.apple.com/ca/app/happy-citizens-mayor-sim/id6745251520?uo=4

       
      🤩 Hack Features

      - Gems
      - Cash
      - Energy
      - Water
        • Haha
        • Winner
        • Like
      • 4 replies
    • My Lovely Planet Puzzle Match3 v2.5.0 [ +3 Jailed ] Auto Win
      Modded/Hacked App: My Lovely Planet Puzzle Match3 By Imagine
      Bundle ID: com.mylovelyplanet.mylovelyforests
      App Store Link: https://apps.apple.com/us/app/my-lovely-planet-puzzle-match3/id6473546315?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Life
        • Like
      • 2 replies
    • My Lovely Planet Puzzle Match3 v2.5.0 [ +3 Cheats ] Auto Win
      Modded/Hacked App: My Lovely Planet Puzzle Match3 By Imagine
      Bundle ID: com.mylovelyplanet.mylovelyforests
      App Store Link: https://apps.apple.com/us/app/my-lovely-planet-puzzle-match3/id6473546315?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Life
        • Like
      • 4 replies
    • Soccer Journey 2026 v1.0.4 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Soccer Journey 2026 By KONG SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.kongsoftware.project02sj.gl
      App Store Link: https://apps.apple.com/us/app/soccer-journey-2026/id6745119606?uo=4


      🤩 Hack Features

      - Gold

      - Cash

      - Player Energy

      - Match Energy

      - Tokens

      - EXP User

      - Scout Ticket +3

      - Standard Scout +4

      - Cube +4

      - Training +3

      - Upgrade Cost All Building [ Earn Cash ]

      - Speed UP Cost All Building [ Earn Cash ]
        • Thanks
        • Winner
        • Like
      • 37 replies
    • Soccer Journey 2026 v1.0.4 [ +12 Jailed ] Currency Max
      Modded/Hacked App: Soccer Journey 2026 By KONG SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.kongsoftware.project02sj.gl
      App Store Link: https://apps.apple.com/us/app/soccer-journey-2026/id6745119606?uo=4


      🤩 Hack Features

      - Gold

      - Cash

      - Player Energy

      - Match Energy

      - Tokens

      - EXP User

      - Scout Ticket +3

      - Standard Scout +4

      - Cube +4

      - Training +3

      - Upgrade Cost All Building [ Earn Cash ]

      - Speed UP Cost All Building [ Earn Cash ]
        • Agree
        • Haha
        • Like
      • 24 replies
    • Merge & Blast: Dream Island v2.28.0 [ +2 Cheats ] Auto Win
      Modded/Hacked App: Merge & Blast: Dream Island By Dreamo, Inc.
      Bundle ID: com.dreamo.woodyblast
      iTunes Store Link: https://apps.apple.com/us/app/merge-blast-dream-island/id1668748189?uo=4


      🤩 Hack Features

      - Auto Win
      - Coin + Moves [ Disable After Get ]




      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Like
      • 19 replies
    • Merge & Blast: Dream Island v2.28.0 [ +2 Jailed ] Auto Win
      Modded/Hacked App: Merge & Blast: Dream Island By Dreamo, Inc.
      Bundle ID: com.dreamo.woodyblast
      iTunes Store Link: https://apps.apple.com/us/app/merge-blast-dream-island/id1668748189?uo=4

       

      🤩 Hack Features

      - Auto Win
      - Coin + Moves [ Disable After Get ]




      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Thanks
        • Winner
        • Like
      • 27 replies
    • Island War Raid V5.9.2 [ +2 Cheats ] Win Fight
      Modded/Hacked App: Island War: Raid By SamShui Corporation
      Bundle ID: com.addictive.strategy.island.clash
      iTunes Store Link: https://apps.apple.com/us/app/island-war-raid/id1542454536?uo=4

      Hack Features:
      - Die Anyone [ Red & Blue ] Win Fight
      - Destroy Building [ Win Fight ] 



      Note:- Works Only [ Arena ]
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 36 replies
    • Island War Raid V5.9.2 [ +2 Jailed ] Win Fight
      Modded/Hacked App: Island War: Raid By SamShui Corporation
      Bundle ID: com.addictive.strategy.island.clash
      iTunes Store Link: https://apps.apple.com/us/app/island-war-raid/id1542454536?uo=4


      Hack Features:

      - Die Anyone [ Red & Blue ] Win Fight
      - Destroy Building [ Win Fight ] 



      Note:- Works Only [ Arena ]
        • Like
      • 21 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines