frostyelk's Forum Posts

  • Not really sure i understand your problem.

    I am guessing that you want the player to get new lives after X amount of time?

    In order to do this you need to know what time the player started to play the game, and what time the player stopped playing the game.

    You then need to check if X time has passed since the player played last time. Best way to do this is to use real time, i have used UnixTimeStamp for this and saved it in a variable.

  • Impossible to say without more information.

    -Are you using any non official plugins?

    -Does the compile log in XDK look ok?

    -Do you use minify on export from construct2?

    -Does other games work for you on export on your device(try a simple demo project and see if that works out of the box on your device)

    -Do you see any error in Chrome in its Console? (press F12)

    There are a thousand things that can go wrong....start simple and test often!

  • In After Effects you can export the animation by using "Frame by Frame" to png. That will render each of your frames in AE to a single PNG file that you can import into Construct2 as a animated sprite.

    Then you can just set the sprite to play that exact frame you need when a certain condition is met.

  • Crosswalk enables WebGL stuff to be used. Without Crosswalk your app will run a lot slower. But instead you get a smaller package.

  • My suggestion would be to use an animated sprite and just show the certain frame when needed.

  • Another way to keep it inside the boundaries is to use the Behaviour "Bound to layout" on the object.

  • Yeah, thats what i mean....

    if your word is "Oranges" then you ask len("Oranges") and it will give you the answer of 7. Then you use 7 as the left() number as you did in the above case.

    So you could set::::: array | Value at loopindex("x") = left(array.At(loopindex("x"), len("Oranges"))

  • every random(3) seconds set bulletobject.angle to random(0, 360)

  • If you know the word to search, like you say "Oranges" then you can use len("Oranges") to count the letters in the word you are looking for. Then you can trim each word in a search loop of the Array by using left(text, count), so that you only get the word you are looking for.

  • Instead of reset, use "set" variable and set it to the initial value.

  • If you build with Crosswalk, then the file size get´s much larger than if you build with normal Cordova build in XDK. So if you dont need the extra power you get from Crosswalk, then you should be able to get a smaller apk.

  • Resize it in a photo editor (or Photoshop if you own that)

  • Need more information or an example file to help you, your question is pretty much like asking how long a rope is.

  • See manual on Webstorage: https://www.scirra.com/manual/120/webstorage

    and here is a link to a tutorial on how to use it: https://www.scirra.com/tutorials/266/we ... nformation

    If you need cloud storage, i would like to point you to our excellent plugin for Parse.com: https://www.frostyelk.se/products-page/ ... /parse-fe/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don´t have an answer for your question about Else with a condition. Mostly because there is no need for an Else when you have a condition like yours.

    In your case you would either check if bConversationLocked = 0 or = 1, then use Else or Not equal to.

    Construct2 programming is a bit different to normal programming as it is Events and Actions that runs first to bottom.