Construct 3 suggestions & ideas

Suggest and vote on ideas for Construct 3! Please note this is only one aspect of planning. We do not guarantee any features here will be implemented, even if they are top-voted ideas. The aim is just to collect feedback. Remember to search for existing submissions before adding an idea, describe your ideas as comprehensively as possible, and vote for plausible ideas that are well thought out. Please see our full guidelines on suggesting features.

1 VOTE

Reset local static variables

C2 currently does not offer any way to reset all local static variables in one event.

 

That leads to a nuisance as follows: If one wants the player to be able to restart a layout, let's say a level in a jump'n run game, one can reset all global variables and restart the layout, which resets all groups to their initial state, but that leaves all local static variables untouched, meaning that the player won't be able to replay the very same level.

 

One can surely work around this by adding an event in each group that resets the local static variable right before that group is being deactivated or before the layout restarts, but again, that is tidious amount of code for a very basic function.

C3 should contain an action 'Reset all local static variables' or at least an action 'Restart layout from exact initial state'.

  • Guest
  • Oct 25 2017
  • No status
  • Attach files