We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Make UI responsive without HTML?

Home Forums General Questions Make UI responsive without HTML?

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33747
    michalex19
    Participant

    Is it possible to make a user interface without using HTML, and make it responsive? or if not “responsive” maybe is it possible to check if it’s a mobile phone and if a mobile phone, use these puzzles instead? I see a “native screen scale” puzzle, so it makes me think it might be possible.

    I’ve created a UI with Blender that’s parented to the camera, so as the camera moves the UI moves with it, and it works fine, except that I am basically guessing where the buttons will be on mobile phone (and desktop as well, really).
    Any ideas?

    Attachments:
    You must be logged in to view attached files.
    #33752

    Hi,

    check if it’s a mobile phone and if a mobile phone

    yes, this can be done with the ‘feature available’ puzzle.
    https://www.soft8soft.com/docs/manual/en/puzzles/System.html#feature_available

    you can find out the layout (landscape vs portrait) by comparing the width and height of the document ‘body’ or container element.

    Also, you can try switching your camera (camera settings > sensor fit) to vertical to make the UI stick to the top/bottom.

    Chief 3D Verger | LinkedIn | Twitter

    #33765
    michalex19
    Participant

    Great thanks! I’ll test this out.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.