firezombie444's Recent Forum Activity

  • Okay, so i tested it and it worked fine. I got the score to 8,000 just to make sure it works. Then i copied the events into my game, and i tested it, the high score was going up fine as i played, but when the game was over, the high score went to 8,000. I went back to the one you made and i changed the score to 50. Then i tested my game again and the high score went to 50 when the game ended. So the high score was saving the project you made even though it was a whole another project. I even deleted the project and it still did the same thing. Do you know how to fix this? Sorry, i'm still a beginner. Thanks!

  • Thank you!

  • Oh, sorry. Here's the single file. https://www.dropbox.com/s/296as2rrrem6z ... .capx?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • https://www.dropbox.com/s/xts5c0skst2f5 ... aproj?dl=0

    I am actually using the Local Storage, but i just called it WebStorage. I forgot to add a reset button so if you do, i'm pretty sure it takes the high score back to 0 too.

  • I'm trying to use this to make a high score system, here's what i have so far.

    On start of layout: Check item "HighScore_Key" exists

    On item "HighScore_Key" exists: Get item "HighScore_Key"

    On item "HighScore_Key" get: Set HighScore to LocalValue.ItemValue

    On item "HighScore_Key" missing: Set item "HighScore_Key" to TotalDistance (which is the current score value)

    Every tick: highscoretext: Set text to HighScore (which is the global variable)

    It starts out like usual but then when the game ends, the number goes right back to 0. Do you know how to fix this?

    Thanks for any help!

  • MadSpy is there a way to copy everything and paste it into another project? Because there's something wrong with the current project that doesn't let me test it, because every other project i tried let me test it.

  • I still haven't got it working yet but i'm going to try copying everything into another file. Do you have index.html in your files? You need that for it to work in the emulator. Make sure you export it with Cordova too.

  • Thank you! MadSpy That will definetly save a lot of time.

  • Sorry if i have asked a lot of questions lately, but i want to know if there is a way to change a caproj file to a capx file. I am trying to export my game to android and i found out that for some reason you can only export a capx project with Intel XDK. It would take quicker than creating all the objects and redoing everything again although it's not a huge game. Thanks for any help!

  • Okay well, gumshoe2029 . androidpro i actually ended up using WebStorage to store it. But anyway, i actually don't think it's a problem with Intel anymore, but here's what i found, i think it's the way i exported it. The project i did that did worked in the emulator had the following files: plugins, www, icon, intelxdk.config.additions, license.md, readme.md, screenshot, trafficjam33.xdk, trafficjam33.xdke. While the project that didn't work had many other files, which i don't know if it was because of the plugins i added or not but that might be the problem. I'm new to Intel XDK too, but thanks for the help! Also i doubt this has anything to do with it, but it was a caproj, not a capx file.

  • Okay, i'm sorry zenox98 Kyatric , i saw a couple people do it so i thought it was okay, i didn't read the forum guideline page until now. The question about savegames was answered, but i still didn't know where to put the load action but i ended up using a different way and it worked, and the IAP one i didn't ask before. Anyway about the questions, i figured out the first two. gumshoe2029 , it's in zip format, i exported it from Construct 2 then i uploaded it to Intel XDX. I don't know if they changed something, but that's the way i normally do it and it always worked until now. I also asked in the Intel forums, nothing yet.

  • Ok so would it work in the Intel XDX testing mode then? Thanks!

firezombie444's avatar

firezombie444

Member since 13 Feb, 2015

None one is following firezombie444 yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies