set appState

If there is something important you think is missing in the current version of ZGameEditor then you can post a feature request here!

Moderator: Moderators

Post Reply
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

set appState

Post by y offs et »

If you have a setAppstate as a child of app.onLoaded, and during the process of development you wish to set setAppState.state to (none) to check something, upon compile the program crashes.
This is annoying, as you have to remove the component for a small adjustment in your program, and then add the component again.
"great expectations"
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

I tried reproducing this but I'm not sure I understand what you mean. Can you please explain some more?
User avatar
Kjell
Posts: 1879
Joined: Sat Feb 23, 2008 11:15 pm

Post by Kjell »

Hi guys,

When you build a application that uses a SetAppState which is set to NULL, the executable will crash. Not sure why this is a issue though .. since it works just fine in the Editor ( which is where you do your development ).

@ y_offs_et : Perhaps you can have a empty AppState in your project during development to which you point your SetAppState to instead?

K
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Ah, now I understand. This is a bug. Fixed now and beta updated.
Post Reply