Jump to content

Question on making UIs


Yoreni
 Share

Recommended Posts

hi if i want to make an UI or position sprites nicly i littterly put the x and y in and then i look at it running to see if it looks right if it doesnt look right i keep on doing this untill it does look right. doing that can is very tedious when other people want to position buttons or text do they do it how i do it or do they use something to help them

Link to comment
Share on other sites

I have the same problem,

First of all I don't know how to set the x y position of the sprites. Is it relative to canvas size (like x = width * 0.2) or absolute positioning.

I think one can make an editor for positioning sprites. Or make helper functions to layout the sprites horizontally or vertically with some margin. Also you should use hot reloading, so you don't have to refresh everytime.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...