About Store Forum Documentation Contact
Donations:
158$/mo



Post Reply 
[solved] color picker crash "Can't load Image "gui/adjust_value.gfx"
Author Message
Fex Offline
Bronze Supporter

Post: #1
[solved] color picker crash "Can't load Image "gui/adjust_value.gfx"
Creating a color picker via this code

Code:
getRegion("cpregion") +=cp.create("Background").setRGB(Vec(0,1,0)).barVisible(false).pos(getRegion("cpregion").rect().lu() - Vec2(.1, -.1));

results in a "Can't load Image "gui/adjust_value.gfx" crash at the above line of code

Anybody know why? I just upgraded from build 11 to build 23 of the SDK.

SOLUTION was to unpack the engine.pak and copy the Gui folder to my game project Gui directory, this copied the adjust_val.gfx file and some others that were not included in build 11.
(This post was last modified: 04-22-2013 05:57 AM by Fex.)
04-22-2013 05:51 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: [solved] color picker crash "Can't load Image "gui/adjust_value.gfx"
I recommend always using engine.pak instead of unpacking files from it.
04-22-2013 10:22 AM
Find all posts by this user Quote this message in a reply
Post Reply