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

    • Motor Capital v1.0.0 [ +1 Cheats ] Enough Resources
      Modded/Hacked App: Motor Capital By 24 HIT Riga SIA
      Bundle ID: com.motor.capital
      App Store Link: https://apps.apple.com/us/app/motor-capital/id6771701401?uo=4

      🤩 Hack Features

      Pre Activated
      - Enough Resources / Only Upgrades & Building Upgrade
      • 1 reply
    • Motor Capital v1.0.0 [ +1 Jailed ] Enough Resources
      Modded/Hacked App: Motor Capital By 24 HIT Riga SIA
      Bundle ID: com.motor.capital
      App Store Link: https://apps.apple.com/us/app/motor-capital/id6771701401?uo=4

      🤩 Hack Features

      Pre Activated
      - Enough Resources / Only Upgrades & Building Upgrade
      • 0 replies
    • SimCity BuildIt Cheats v1.79.0 +1 [ Freeze Currencies ]
      Modded/Hacked App: SimCity BuildIt By EA Swiss Sarl
      Bundle ID: com.ea.simcitymobile.bv
      iTunes Store Link: https://apps.apple.com/us/app/simcity-buildit/id913292932?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/124792-arm64-simcity-buildit-v1412-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/157687-simcity-buildit-cheats-v1415-1/
      • 744 replies
    • Shoot & Hide v1.5.3 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Shoot & Hide By CRAZY LABS BY TABTALE , G.P.
      Bundle ID: com.sniper.shoot.hide.game
      App Store Link: https://apps.apple.com/us/app/shoot-hide/id6747033069?uo=4

      🤩 Hack Features

      Pre Activated
      - Currency Max / Earn Then Get
      - Trophies Max Earn Then Get
      - Heroes Unlocked / Linked Trophies
      - Location Unlocked / Linked Trophies
      - Merge Anything
      - HP MAX / ON When Enemy Turn After Disable
      • 4 replies
    • Shoot & Hide v1.5.3 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Shoot & Hide By CRAZY LABS BY TABTALE , G.P.
      Bundle ID: com.sniper.shoot.hide.game
      App Store Link: https://apps.apple.com/us/app/shoot-hide/id6747033069?uo=4

      🤩 Hack Features

      Pre Activated
      - Currency Max / Earn Then Get
      - Trophies Max Earn Then Get
      - Heroes Unlocked / Linked Trophies
      - Location Unlocked / Linked Trophies
      - Merge Anything
      - HP MAX / ON When Enemy Turn After Disable
      • 1 reply
    • Real War: Survival Game v0.1.4 [ +4 APK MOD ] Troops Max
      Mod APK Game Name: Real War: Survival Game
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.zc.action.war.survival.game

      🤩 Hack Features

      - Auto ADS NO
      - Upgrade Cost 0 / Easy To Get Coins - ATK - Fire Rate
      ::::::: VIP :::::::
      - Unlimited Troops / Hit Damage Then Use It / Just Hit 🟢🔴 Then Work
      - Max ATK
      • 3 replies
    • Real War: Survival Game v1.1.0 [ +4 Cheats ] Troops Max
      Modded/Hacked App: Real War: Survival Game By Rameez Rehmat
      Bundle ID: com.sku.action.war.survival.games
      App Store Link: https://apps.apple.com/us/app/real-war-survival-game/id6772532581?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Upgrade Cost 0 / Easy To Get Coins - ATK - Fire Rate
      ::::::: VIP :::::::
      - Unlimited Troops / Hit Damage Then Use It / Just Hit 🟢🔴 Then Work
      - Custom ATK 
      • 1 reply
    • Real War: Survival Game v1.1.0 [ +4 Jailed ] Troops Max
      Modded/Hacked App: Real War: Survival Game By Rameez Rehmat
      Bundle ID: com.sku.action.war.survival.games
      App Store Link: https://apps.apple.com/us/app/real-war-survival-game/id6772532581?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Upgrade Cost 0 / Easy To Get Coins - ATK - Fire Rate
      ::::::: VIP :::::::
      - Unlimited Troops / Hit Damage Then Use It / Just Hit 🟢🔴 Then Work
      - Custom ATK 
      • 0 replies
    • DRAGON BALL Z DOKKAN BATTLE Japan (ドラゴンボールZ ドッカンバトル) v6.2.5 +7 Cheats!
      Modded/Hacked App: ドラゴンボールZ ドッカンバトル By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcogames.BNGI0211
      iTunes Link: https://itunes.apple.com/jp/app/ドラゴンボールz-ドッカンバトル/id951627670


      Hack Features
      - Unlimited HP  -  (Put .0 at the back of your value: 1000.0)
      - Unlimited Damage  -  (Put .0 at the back of your value: 1000.0)
      - Unlimited Defense  -  (Put .0 at the back of your value: 1000.0)
      - Dice Hack -  [ONLY RANGE BETWEEN 1 - 6 or it will crash]  -  (Put .0 at the back of your value: 4.0)
      - Dice Hack 1, 2, 3
      - Dice Hack 4, 5, 6
      - Auto Win Battles -> Disable if you get errors.
      PUT .0 at the back of all values!
      • 8,075 replies
    • Mushroom War: Evolution TD v1.16.2 [ +8 APK MOD ] Currency Max
      Mod APK Game Name: Mushroom War: Evolution TD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=rollingball.td.mushroom.warriors&hl=en

      🤩 Hack Features

      - ADS Skip Ticket Max / Rewards Free
      - Battle Food Speed
      ::::::: VIP :::::::
      - AI Freeze
      - Unlimited Gems
      - Unlimited Coins
      - Base HP MAX
      - Base HP Freeze
      - Hero HP Freeze
      • 1 reply
    • Mushroom War: Evolution TD v1.2.0 [ +8 Cheats ] Currency Max
      Modded/Hacked App: Mushroom War: Evolution TD By Hangzhou Rolling Technology Co., Ltd.
      Bundle ID: com.snowball.td.mushroom
      App Store Link: https://apps.apple.com/us/app/mushroom-war-evolution-td/id6761058966?uo=4

      🤩 Hack Features

      - ADS Skip Ticket Max / Rewards Free
      - Battle Food
      ::::::: VIP :::::::
      - AI Freeze
      - Unlimited Gems
      - Unlimited Coins
      - Base HP MAX
      - Base HP Freeze
      - Hero HP Freeze
      • 2 replies
    • Mushroom War: Evolution TD v1.2.0 [ +8 Jailed ] Currency Max
      Modded/Hacked App: Mushroom War: Evolution TD By Hangzhou Rolling Technology Co., Ltd.
      Bundle ID: com.snowball.td.mushroom
      App Store Link: https://apps.apple.com/us/app/mushroom-war-evolution-td/id6761058966?uo=4

      🤩 Hack Features

      - ADS Skip Ticket Max / Rewards Free
      - Battle Food
      ::::::: VIP :::::::
      - AI Freeze
      - Unlimited Gems
      - Unlimited Coins
      - Base HP MAX
      - Base HP Freeze
      - Hero HP Freeze
      • 1 reply
×
  • 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