619_RM's Forum Posts

  • Have an array that stores what levels are unlocked, and save that to local storage. Then on game continue, load the array and the player should be able to continue progress from previous play.

    Thanks to your input LukeW

    Yes, that's where I'm bit confused, How and where to add the array to save it with Local Storage as I wanted Continue button to work independently because it was for the checkpoint purpose.

    Thank you.

  • The Google Drive link has been updated I accidentally added some extra events which wasn't needed at the first place this may the reason it was convoluted, Sorry about that.

  • Thanks for your input, pal.

    I want to retain both the continue button mechanism [The solution you gave in another post https://bit.ly/2KAGWrO] and the level select mechanism how could I mix both using the same save state. Could you please give any example capx/c3p or something? I really could not able to figure it out.

    Having said that I have made this WorldSelect using array by referencing a video from GameDev YT channel https://youtu.be/0M_kR6KehHY.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh, Thank you. :)

  • For like two-week, I'm getting a message "key is not defined" What does that mean? It not coming in just specific time/place it just comes randomly. It does nothing if I "close" it or press "OK" also it's not affecting any functionality of C3 but still getting this weird message quite often.

    Tagged:

  • Finally, because of you, along due query has been solved. Thank you very much.

  • I have made a platformer game which is having multiple worlds and for that, I've put LevelSelect layout and the level select mechanism work pretty well the only issue is when I restart the app (android app) all the unclocked level got locked again. I have seen multiple tutorials suggesting to use the "Local Storage" but couldn't able to figure it out yet. So, I have made a small c3p. Please check out the file and help me.

    Thank you.

    https://drive.google.com/open?id=1K-uZaHvPX_MNsCfzFTsbVzvyUisLAjom

    The Google Drive link has been updated I accidentally added some extra events which wasn't needed at first place. Sorry for that.

  • Thanks for your input but sadly I couldn't able to crack it yet. I have made the c3p.

    drive.google.com/open

    Please check this out.

    Thanks.

  • Yes, I already used the Save/Load state for the checkpoint purpose (Placed an object called "CPointObject" at STAGE1 if Player collides with "CPointObject" A "SAVESTATE1" will create and in the MainMenu placed a text called "Continue" if the user clicks the continue button the "SAVESTATE1" will load) and it worked pretty well.

    My query is the continue button.

    Question. "I don't want to make the "continue button" to visible on the main menu of the game when the user plays the game for the first time."

    Answer. And the solution for that you gave using the global variable, the player need to collide an object in Stage1 then add +1 to the Global Variable, then in MainMenu, make a condition if "Global variable > 0" then the continue button should visible in the MainMenu and it worked pretty well.

    So, what the issue?

    The issue is when I close the game (in android) and then reopen, the continue button again disappear, in order to make it appear The player have to collide the same object once again so that it would appear in the MainMenu.

    , Please help.

    Thanks.

  • Thanks for your input I finally made it.

    One little help, How can I save it with local storage? When I restart the game the continue button won't stay.

    It would be appreciated if you provide the "exact events" which need to be placed as I stated with this engine with no prior knowledge of programming.

  • How to make a button appear at the "Main Menu Layout" if the player collides with the checkpoint (or any object) in "Stage 1 Layout".

    Why I need this?

    I don't want to make the "continue button" visible on the main menu of the game when the user plays the game for the first time.

    What I did so far.

    1. Unchecked the "Continue Button" initial visibility (From Main Menu Layout).

    2. In "Stage 1 Layout" I placed an object called "X". (a vertical thin line from bottom to top)

    3. In the event sheet of "Main Menu Layout" I put an event when the player collides with the "X" object

    the continue button should visible.

    4. Made Layout 1&2 global also made the object and the continue button global.

    5. Included the event sheet of "Stage 1 Layout" to the "Main Menu Layout"s event page and vice-versa.

    Or is there any workaround for the same?

    (Having said that I have implemented a simple checkpoint throughout the game using built-in save & load action.)

  • OMG! Got a reply from Ashley the founder of Construct? You made my day.

    It worked, Didn't noticed there is an option to convert it. Thanks a lot.

  • From the latest iteration of C3 started supporting the "function" natively that means no need to add "function" plug-ins in your project and they ditched the old "function" plug-ins. The problem is with the old project which you created with the old function plug-ins you just can't import it to your newly created project. The error message is "function" object is missing. You have to recreate all the things which you have created with the old "function" plug-ins with the new native function.

    So, my question is there any way to bring back the old Function Plug-Ins to my existing project? or is there any workaround for the same?

    Tagged: