gasilspark.blogg.se

Corona texturepacker content scaling
Corona texturepacker content scaling




corona texturepacker content scaling
  1. #Corona texturepacker content scaling 1080p#
  2. #Corona texturepacker content scaling full#

#Corona texturepacker content scaling 1080p#

Larger text is easier to read, so it can be beneficial to increase the UI scaling even on 1080p screens. UI scaling is very important for visually impaired users. These days a lot of people like to play games in their free time, but accessibility is only slowly being adopted into game development. Accessibilityīesides keeping a game playable on high-resolution screens, accessibility is another reason to implement UI scaling. UI scaling in League of Legends, screenshot by author. Instead, the texts have to be rerendered with a higher font size after the interface is scaled. Blurry text is not only very noticeable and looks unprofessional, but it’s also more difficult to read. Scaling up the font textures isn’t going to work because the fine details in the characters don’t handle scaling too well and it becomes blurry very quickly. While some whole number scales can work, too much or floating-point scaling can produce visual artifacts.Įspecially when it comes to text, it’s very important to use the correct font size. This means the textures are the same size in the game as their image files. In lower-level game development, you often want to stay aligned to the pixel grid. Therefore, a 16-pixel text, which is perfectly legible on 1080p, will be the same size on a 4K screen as an 8-pixel text on 1080p, which is almost impossible to read. This means there are now a lot more pixels per square inch (4K has 4 times as many as 1080p). Screen resolutions have increased quite a bit in recent years while the physical monitor size has stayed roughly the same. However, even besides handling different screen resolutions, UI scaling is an important aspect of making games accessible to visually impaired users. To cope with the increasing range of different resolutions, game developers have to add UI scaling to their games to make sure they can be enjoyed by as many players as possible.

corona texturepacker content scaling

#Corona texturepacker content scaling full#

While full HD (1920x1080) remains by far the most common resolution today, more than 10% of users have a monitor with a higher resolution than 1080p.

corona texturepacker content scaling

W hen I started with game development just a few years ago, 4K (3840x2160) screens had a market share of 0.07% and no game was optimized for it. UI scaling in Minecraft, screenshot by author.






Corona texturepacker content scaling