New user getting trouble

0 favourites
  • 5 posts
From the Asset Store
Create your game with this complete pack of images and animations!
  • I become a paid member 4 days ago and 3 days ago I wrote to support but never received any email so writing this here.

    I have a project with me I imported it but got this error The project you are opening uses the following addons that are not installed. Try installing these missing plugins, behaviors, and effects, and then re-open the project.

    Plugin Веб-хранилище (WebStorage) by Scirra

    Note: this project uses the legacy C2 runtime, which has since been removed from Construct 3. You can also try importing the project to C3 r251.2, which is the last release that included the C2 runtime. Then you can upgrade it to the C3 runtime and import it to the latest release. Learn more

    I opened this project editor.construct.net/r251-2 but can someone tell me how to upgrade it to construct 3? The source code with me is of construct 3 JumpNinjaHero_HTML5.c3p but I m confused about upgrading.

  • WebStorage was replaced with LocalStorage about 6 years ago.

    You need to open the project in an old version of C3 (which you've done). Then find all references of Веб-хранилище (WebStorage) in event sheets and replace them with with similar events using Local Storage plugin. After that delete WebStorage plugin itself from the project. Save and you will be able to open the project in the latest version of C3.

    There is an official example and a few tutorials explaining how to use Local Storage.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • WebStorage was replaced with LocalStorage about 6 years ago.

    You need to open the project in an old version of C3 (which you've done). Then find all references of Веб-хранилище (WebStorage) in event sheets and replace them with with similar events using Local Storage plugin. After that delete WebStorage plugin itself from the project. Save and you will be able to open the project in the latest version of C3.

    There is an official example and a few tutorials explaining how to use Local Storage.

    Thanks I got it, I need little bit help here in the code:

    Previous webstorage code was WebStorage.LocalValue("coins")

    New localstorage code would be LocalStorage.LocalValue("coins")? this shows me an error so what would be the replacement code for this.

  • I think I got it LocalStorage.ItemValue

  • Yeah, but Local Storage works differently - you first need to execute "Check Exists" action or "Get".

    Then wait for "On Item Exists" or "On Item Get" to trigger, and inside that event you can access the ItemValue.

    Check out those examples I posted.

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