Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. Universal app?

Universal app?

Scheduled Pinned Locked Moved Help and Support
3 Posts 2 Posters 851 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ThisT Offline
    ThisT Offline
    This
    wrote on last edited by
    #1

    I just released my app on iPad. I was in such a rush when I was making it, that I didn't think to address the aspect ratio differences for iPhone. I see that I can use zoom and move screen behaviors to make what I've already made fit for iPhone ratio, but then it doesn't look good for iPad ratio. Is there a way to have the app detect what device it's being played in and then execute the screen behaviors as needed thanks!

    Jack de WildeJ 1 Reply Last reply
    0
    • ThisT This

      I just released my app on iPad. I was in such a rush when I was making it, that I didn't think to address the aspect ratio differences for iPhone. I see that I can use zoom and move screen behaviors to make what I've already made fit for iPhone ratio, but then it doesn't look good for iPad ratio. Is there a way to have the app detect what device it's being played in and then execute the screen behaviors as needed thanks!

      Jack de WildeJ Offline
      Jack de WildeJ Offline
      Jack de Wilde
      wrote on last edited by Jack8680
      #2

      @This the get screen behaviour lets you get information such as aspect ratio and screen height. Here's an example I made a while back: http://bit.ly/2pPFQug
      If you go into edit mode, you can change the aspect ratio and restart the scene or tap the label. I used some behaviours to move options relative to certain parts of the screen. For example, the hearts at the top of the screen are the same distance apart from each other and the top of the screen in every aspect ratio, because I used the tags to set their horizontal positions relative to the centre, and their vertical positions relative to the top of the screen. The behaviours are in global.

      You can also set objects to relative positions without needing behaviours using the percentage symbol next to their position. For example, setting them to 50% will put them in the middle. It can work pretty well, but if you want to, for example have an object that is always 1m from the side of the screen, you'd have to use behaviours, or mess with the anchors.

      1 Reply Last reply
      0
      • ThisT Offline
        ThisT Offline
        This
        wrote on last edited by
        #3

        Thank so much! I'm going to explore all of your ideas.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Search