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

    • Ball in! Pinball Defense v1.0.5 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Ball in! Pinball Defense By Neptune Company
      Bundle ID: com.nep.tr.hybrid.pinballdefense
      App Store Link: https://apps.apple.com/us/app/ball-in-pinball-defense/id6767486424?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Card Exp
      - ATK MAX
      - Skill Active / 1 Hit
      • 0 replies
    • Ball in! Pinball Defense v1.0.5 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Ball in! Pinball Defense By Neptune Company
      Bundle ID: com.nep.tr.hybrid.pinballdefense
      App Store Link: https://apps.apple.com/us/app/ball-in-pinball-defense/id6767486424?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Card Exp
      - ATK MAX
      - Skill Active / 1 Hit
      • 0 replies
    • Brick Fight v2.1.7 [ +9 APK MOD ] Currency Max
      Mod APK Game Name: Brick Fight
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.yuyue.guardminingsite&hl=en

      🤩 Hack Features

      - Unlimited Skill Card Exp
      - Brick Freeze
      Talents Stats
      - ATK MAX
      - HP MAX
      - POWER MAX
      • 0 replies
    • Brick Fight v2.1.7 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Brick Fight By Voodoo
      Bundle ID: com.yuyue.guardminingsite
      App Store Link: https://apps.apple.com/us/app/brick-fight/id6738034364?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Keys +3
      - Unlimited Skill Card Exp
      - Brick Freeze
      Talents Stats
      - ATK MAX
      - HP MAX
      - POWER MAX
      • 1 reply
    • Brick Fight v2.1.7 [ +9 Jailed ] Currency Max
      Modded/Hacked App: Brick Fight By Voodoo
      Bundle ID: com.yuyue.guardminingsite
      App Store Link: https://apps.apple.com/us/app/brick-fight/id6738034364?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Keys +3
      - Unlimited Skill Card Exp
      - Brick Freeze
      Talents Stats
      - ATK MAX
      - HP MAX
      - POWER MAX
      • 1 reply
    • Lost Twins 2 +2 Jailed Cheats [ Full Game Unlocked ]
      Modded/Hacked App: Lost Twins 2 By PLAYDEW PRIVATE LIMITED
      Bundle ID: com.playdew.losttwins2
      App Store Link: https://apps.apple.com/us/app/lost-twins-2/id6757780210?uo=4

       

      🤩 Hack Features

      - Unlock Full Game -> Head into the shop, press on the Unlock Game purchase, then cancel the in-app purchase.*
      - Unlock x10 Coins -> Head into the shop, press on the x10 Coins purchase, then cancel the in-app purchase.*

      * - Only enable 1 feature at a time.
      • 1 reply
    • Astra Squad +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Astra Squad By MEGAGIGA GAMES BILISIM AS
      Bundle ID: com.astra.squad
      App Store Link: https://apps.apple.com/us/app/astra-squad/id6779563769?uo=4

       


      🤩 Hack Features

      - Currency Modifier -> Earn some.
      - Tool Damage Multiplier
      - No Tool Level Requirement
        • Agree
        • Like
      • 4 replies
    • DIGIMON UP JP ( デジモンUP ) +3 Mods [ Damage & Defence ]
      Mod APK Game Name: デジモンUP By Bandai Namco Entertainment Inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.bandainamcoent.dgup_jp

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Informative
        • Thanks
        • Like
      • 7 replies
    • DIGIMON UP +3 Mods [ Damage & Defence ]
      Mod APK Game Name: DIGIMON UP By Bandai Namco Entertainment Inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.bandainamcoent.dgup_ww

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Agree
        • Winner
        • Like
      • 22 replies
    • DIGIMON UP JP ( デジモンUP ) +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: デジモンUP By Bandai Namco Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0452
      App Store Link: https://apps.apple.com/jp/app/%E3%83%87%E3%82%B8%E3%83%A2%E3%83%B3up/id6756247422?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 1 reply
    • DIGIMON UP +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: DIGIMON UP By Bandai Namco Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0442
      App Store Link: https://apps.apple.com/us/app/digimon-up/id6756247787?uo=4

       

      🤩 Hack Features

      - Damage Multiplier 
      - Defence Multiplier
      - God Mode
        • Informative
        • Winner
        • Like
      • 5 replies
    • Tiny Bookshop +2 Mods [ Full Game Unlocked ]
      Mod APK Game Name: Tiny Bookshop By Skystone Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.neoludic.tbs

       

      🤩 Hack Features

      - Unlimited Money & Books -> Earn or spend some.
      -- Full Game Unlocked
        • Like
      • 0 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