Suggestion: "is previewing" condition

Discussion and feedback on Construct 2

Post » Wed Oct 19, 2011 1:16 am

I'm cleaning up my IGF version of Loot Pursuit, and I toggled off all the shortcuts to get through the game quicker, but there were some bugs left in. Each time I want to edit it and make a new build I have to toggle those events on then remember to toggle them off again, and there are a bunch of them, and sometimes I forget all of the ones that are in there.

As such, it would be really handy if there was an "is previewing" condition, so any events with the condition would only run if previewing, and not when exporting.Arima2011-10-19 01:17:37
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Wed Oct 19, 2011 1:25 am

You could always do the C++-esque route. Make a global variable, 'Debug', and for every concerned event just put in a condition that says 'If Debug = 1'. Then just change the value of debug to 0 or 1 depending on whether you're testing it or exporting it.
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Post » Wed Oct 19, 2011 1:44 am

Argh, duh. That is a good simple solution. I would still prefer not to have to toggle it each time though, as I keep forgetting.

I don't know if a condition is really warranted for my forgetfulness, but it seems nice to have one less thing to have to remember each time I export.Arima2011-10-19 01:48:12
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432


Return to Construct 2 General

Who is online

Users browsing this forum: BBaller1337 and 15 guests