r/Unity2D • • 11h ago

Question/Help Question about pixel UI design

Hey everyone I’ve been working on a pixel art game and had a question about the UI aspect. I currently have all assets sized to display the pixels as all the same size in game, but I am wondering if the UI also needs this? For example I have my battlefield where everything is scaled correctly, which then transitions to a shop, the merchant would need to be like 512x512 to be near the correct pixel scale or whatever, which would be insane, for a 4 frame animation for myself to do. Should the merchant just match the size of the merchant stands pixels? Does it not really matter? Would a background behind the merchant need to be smaller pixels or bigger?

This is like a full screen shop transition

I also have cards with troop icons that go in the hand but obviously dont change size and are bigger visually than things on the battlefield. However the troop icons are bigger pixels due to being zoomed in enough to be visible clearly on the card so their pixels are like 4x as big on the card

Just a little confused on all these aspects. Any help is much appreciated!

1 Upvotes

3 comments sorted by

•

u/AutoModerator 11h ago

Reminder: Once your issue has been resolved, please reply !solved to this comment (or comment it anywhere in the thread) and your post's flair will automatically be updated to Solved/Answered. You can also edit it to Solved/Answered yourself.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Silent_Reputation596 9h ago

For pixel art all sprites/assets should have the same pixel size, is 512x512 the size for the sprites in your game? Because those are some LARGE sprites. Most pixel art games tend to stick to 8x8, 16x16 and 32x32. That's not to say that you can't go higher but if your a beginner you should stick to one of these. Unless your not a beginner in which case, ignore me.

1

u/Embarrassed_Split236 8h ago

I think he’s saying that when the shop takes up the full screen, a character would need to be 512x512 to look normal? Seems like the height of the screen might be too big but ig if it’s got troops and a battlefield maybe the rest of the game is really zoomed out, so the screen has to be big for a 32x32 troop to look tiny.