firezombie444's Forum Posts

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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!

  • Yeah androidpro i tried that, i think i'll just ask it in Intel XDX, it said something about having to change the file or something but i've tried it before and it worked. I uploaded it about 3 times, but it did the same thing each time. zenox98 All i did was comment so it would be higher up, why is that bad?

  • bump

  • Sorry for posting multiple threads about this, but I need to figure out how to do this.

    1. How do i make savegames without the player having to press buttons. So far i have "On end of layout, save game to slot "mysave". But where do i use the load action?

    2. I'm using the PhoneGap IAP plugin and is it suppose to work in regular preview mode? If it is then i did something wrong. Thanks!

    3. This isn't really the place to ask this but i'm using Intel XDK and the emulate screen will not work. It says the message that i will be directed in 3 seconds and the screen just turns black. It does this in test mode too. Is there something i need to do before testing the game?

  • ganich

  • ondraayyy Also is the Phonegap iap plugin suppose to work in regular preview? If it is then im doing something wrong. Thanks.

    bump