Skip to content
September 6, 2012 / iunkn

Support for resetting the game data in Settings Charm

In the past two releases, the Windows 8 plugin for Construct 2 added support for storing Local data and Roaming data. Sometimes user would want the ability to reset the data stored so as to begin fresh. This release provides a way to do that with much simplicity. All you have to do is to set the “Show Reset Button” property to True in the plugin property sheet.

Windows 8 plugin for Construct 2 - Property Sheet for R5

When you do this, you will get the “Reset” option in the Settings-Preferences pane as below. When the user goes ahead with Reset, a confirmation is shown as below.

Reset Option shown in Settings Preferences

Reset Option shown in Settings Preferences

Reset Confirmation

Reset Confirmation

When the user actually clicks “Yes” in the confirmation, a new trigger “On Game Reset” will be invoked. This means that all the stored local and roaming data is deleted and in the Construct 2 event sheet, you can use this trigger to reload the game freshly.

OnGameReset Trigger

OnGameReset Trigger

Download the latest plugin and sample!
Refer to the manual!

Advertisements

One Comment

Leave a Comment
  1. eyemobi / Nov 29 2012 10:08 am

    Hi iunkn, do you know if there is an easy way for me to put in a ‘privacy statement’ heading under the settings charm? I put my privacy statement in the About heading and it still got rejected at certification.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s