View Single Post
  #9  
Old Yesterday, 23:57
fabrieunko fabrieunko is offline
Registered User
 
Join Date: Sep 2021
Location: france
Posts: 238
Thanks: 594
Thanked 98 Times in 86 Posts
fabrieunko is on a distinguished road
Quote:
Originally Posted by Carldric Clement View Post
How did you make this perfect MusicAR.png when my CIU Designer is weird?
1. A single scale for everything. The background is placed at (0, 0) at its actual size. In the .ini file, `AutorunWidth` and `AutorunHeight` define its dimensions (890×516 by default), and every button is positioned using this same scale. The preview is zoomed only at the very end—as a complete unit—via the view’s zoom setting. Individual button images are never resized separately.
2. Position = the `Left` and `Top` values ​​from the .ini file, with no offsets. For `[MusicARButton]`, the values ​​are `Left=26`, `Top=42`, `Width=77`, and `Height=77`. The image is drawn with its top-left corner positioned exactly at (26, 42). No margins, centering, or borders are added.

3. Image size = `Width` and `Height`. `MusicAR.png` is exactly 77×77 pixels, matching the .ini file. If `Width` and `Height` are omitted, the file’s actual dimensions are used. The selection frame matches the size of the image.

4. The PNG retains its transparency, without any smoothing (anti-aliasing). The image is rendered exactly as is, including its alpha channel. It is neither cropped, scaled down, nor smoothed.
Reply With Quote