Can I make an event that does not run after exporting?

0 favourites
  • 3 posts
From the Asset Store
Full game Construct 2 and Construct 3 to post on Google Play
  • In my game there are events that display debug text on-screen, allow me to skip levels with a keypress to test out progression, and allows me to write par values to my levels saved from my level editor. Currently, all of these events have a condition "If Devmode=true" and I have to remember to disable the line that sets the devmode boolean to true before I export my game for publishing. In unity, Godot and Unreal, I usually have those types of functions set up to automatically disable on my exported build without having to do anything manually. What would be the Construct 3 equivalent method for achieving this?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Maybe the "Is in preview" condition in System:

    Is in preview

    True when running the project from a preview in Construct, and false when running after being exported. Useful to add debug or diagnostic features for previewing only.

    construct.net/en/make-games/manuals/construct-3/system-reference/system-conditions

  • Maybe the "Is in preview" condition in System:

    Is in preview

    True when running the project from a preview in Construct, and false when running after being exported. Useful to add debug or diagnostic features for previewing only.

    https://www.construct.net/en/make-games/manuals/construct-3/system-reference/system-conditions

    That's exactly what I was looking for, thanks!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)