OrangeFlash81's Forum Posts

  • Hello,

    I've already put up a thread like this, but it kind of died, so here is my problem again: my CocoonJS game takes WAY too long to load. It takes 15 seconds to load on a Nexus 7. The script in minified and image compression is on Brute. What am I doing wrong? How can I make it run faster?

    Thank you!

    OrangeFlash81

  • Hello!

    Is there a function in Construct 2 (or a plugin) that I can use to quickly compress all images in a project?

    Thanks!

    OrangeFlash81

  • I have not done any kind of graphics compression; how didn't I think of that! The game is an 130kb download and uses 7.9MB of memory, according to Construct 2.

  • Hello!

    I am making a CocoonJS game for Android devices that will be going on the Play store. However, the game takes a stupidly long time to load; on a Samsung Galaxy S it takes 30 seconds and on a Nexus 7 it takes about 10 seconds. It is also fairly laggy in game. How can I improve the speed at which the game runs?

    Please don't just link to a tutorial :)

    Thanks,

    OrangeFlash81

  • I heard that at one point Google Play went through all the 'Purchase' dialogs when using CocoonJS IAP, but then didn't tell the application that it had actually been purchased. Is that still the case?

    OrangeFlash81

  • Hello,

    I am aware that CocoonJS Cloud Compiler has had a major change recently, and I want to ask this question: Does the CocoonJS in-app purchases feature actually work with Google Play on Construct 2?

    On the forums I have seen varied success with CocoonJS and I was dying to ask this.

    Thank you!

    OrangeFlash81

  • Oh, OK! Thanks!

  • Hello,

    I am making a game where the user can buy coins via CocoonJS in-app purchases. I want to store the coins in a variable that saves for the next play session (even if the user quits the app), but I am wary that if I use WebStorage then all coins could be lost if the user clears the browser cache.

    What alternatives are there? I am making an Android app.

    Thank you!

    OrangeFlash81

  • Thank you so much! Seems facepalm-ingly obvious now!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello!

    I have made a script where three objects will spawn on one of three 'tracks'. They should spawn randomly scattered across the three tracks, but they are not. Instead, they mostly seem to spawn on the leftmost track, some spawn on the middle track, and none spawn on the rightmost track. Here is my code:

    <img src="http://picpaste.com/pics/o6un7aPv.1373103217.PNG" border="0">

    Direct Link :)

    Can anybody give me any suggestions?

    Thank you!

    Orange

  • Okay! Thanks for the help.

  • Hello!

    I am making an infinite runner (a vertical one) and I want the layout that the user runs on to be infinite. I don't know if there are any ways to do this, but if there are I would appreciate them! The only way I have thought of doing it is having the user seamlessly teleport back to the layout start again, and some new items being randomly generated on the map.

    Thank you,

    OrangeFlash81

  • Thank you! That method works great, Whiteclaws.

  • The script works fantastically! I have another question, and I'll see if you know the answer, Nimtrix ; How do I make the ScrollTo behaviour focus higher on the object? What I mean is, making my sprite appear at the bottom of the screen rather than bang in the middle. Is this possible?

    Thanks?

  • OK, thanks for the very quick reply! I'll give that a go; I've never tried anything like this before. Can I just as what 'dt' actually does!? I've seen it a lot over the forums...