Page 1 of 1

GFX Expansion Problem

Posted: 4 Dec 2016, 3:18
by delete this account
Where I can use the GFX Expansion System on PGE? That's my question... :(

Posted: 4 Dec 2016, 4:22
by Wohlstand
What do you mean?
- Custom graphics? Just same as with SMBX and LunaLUA-SMBX
- Add more elements? Edit configs/<config pack>/*.ini to change number of elements and then in the "items" folder you will find set of INI files per every element. Copypaste one of them into new ID and change properties as needed. Note: customized config pack will be shown at you, but to deploy for people you must also deploy customized config pack
- Draw extra stuff? PGE Engine currently lacks user level scripts, but you able to modify global level script of config pack. Be careful, is not same as LunaLUA and partially not documented or you need look for documentation into PGE Engine's source code. But if you making level for LunaLUA-SMBX, you are able use lunadll.lua / luna.lua script in the level custom folder to deal with custom rendering stuff.

Posted: 4 Dec 2016, 8:16
by delete this account
I'm talking about these option. NPC/Block/Background Code Editor, GFX Expansion Option. I take these screenshots on the SMBX level editor. You see the blue HUD on the actuel two editor screen? These are the GFX Expansion HUD. And the last screenshot is the NPC Code Editor.

Capture.PNG
Capture (3).PNG
Capture (2).PNG

Posted: 4 Dec 2016, 12:53
by Mushroom King
I think PGE don't have a GFX expansion system.

Posted: 4 Dec 2016, 14:13
by Wohlstand
Oh, this!
I wasn't implemented it yet, but also is a plan to add a palletes system: I.e. you can have a single image (usually painted in grey or other colors) and a set of palletes (a table of colors to replace on the source image) to apply it to individual NPC or to object of other type. This is not hard to implement, but it will work only with the LVLX/WLDX formats (and GFX expansion with 38A formats).

At nearest time I will be busy with huge internal reorganizing (to improve performance and stability) which may take a lot of time, and this things will be implemented after I will finish reorganizing.

Posted: 11 Dec 2016, 4:52
by delete this account
I wonder when this 3 functions will be implemented on PGE? :blush: