ericoporto / ImGi

AGS Script Module for Immediate Gui (based on rxi's Microui)
https://www.adventuregamestudio.co.uk/forums/index.php?topic=58842.0
Other
2 stars 2 forks source link

Support 9 piece frames #7

Open ericoporto opened 3 years ago

ericoporto commented 3 years ago

The idea is to add frame types and allow adding a 9 piece per frame type.

The frame could maybe use a 27 piece instead, being three 9 pieces on the side of each other, for normal, mouse over and mouse click.

A 9 piece could use a thickness parameter. The 9 piece is actually a 8 piece since may be a good idea to pickup the background from a different image

ericoporto commented 3 years ago

Found some interesting ui packs from Kenney, but I still don't know the interface to the ImGi :/

Some cool looking HD ui: https://opengameart.org/content/ui-pack https://opengameart.org/content/ui-pack-rpg-extension https://opengameart.org/content/game-icons

And a pixel one: https://opengameart.org/content/pixel-ui-pack-750-assets

ericoporto commented 3 years ago

daiujjh-9b56f02c-1dbb-4650-a7a8-ebb25c7d7606 Adding how it works in rpgmaker. I don't particularly think it's a good approach to have hardcoded sizes but this gives an idea of a way to store these graphics.

I think I will need to figure out everything that a theme needs eventually...

ericoporto commented 3 years ago

I think I need to add a draw_graphic command that has no tinting and has color be zero or alternatively repurpose the icon drawing, but make it skip tinting when color is zero