KFC's Forum Posts

  • Putting quotation marks works if the array value comes from webstorage, yes.

    But then if the array was filled regularly with a number, as it originally does after first beating a level, the events do not trigger.

    Now my question is shouldn't numbers stored in webstorage from an array be numbers and not a string?

    EDIT: And why do "less or equal" and "greater or equal" work but "equal" doesn't when the number isn't presented as a string (no quotations)?

  • I'm storing items the player collected (CurLevel,0 (can be 1 through 3)) in an array (named LevelComplete) at the end of the level then storing those stats into WebStorage.

    WebStorage then loads that info at the start of the game.

    A problem occurs when I try to check the value in the array where webstorage already posted data saved previously from another session.

    When using "Compare two values" or "Array: Compare At" the events are not triggering even though they should, but using a proxy like saving the array value to a Text object and then comparing the text to the array value the events trigger normally.

    <img src="https://dl.dropboxusercontent.com/u/35440583/C2Forums/C2Events.jpg" border="0" />

    Another thing is that using "less or equal" or "greater or equal" instead of "Equal to" the events go through fine as well.

    <img src="https://dl.dropboxusercontent.com/u/35440583/C2Forums/C2Events2.jpg" border="0" />

    I'm not sure if this is some kind of a bug with using equal to or am I just not understanding how Webstorage works correctly.

  • It really depends on your target audience, markets and platform you're releasing on.

    Also this:

    How To Price your In-App Purchase Items - Real Life Examples

  • Ashley, if you want more people, you could organize a meetup during or around the time of a bigger event, for instance the Eurogamer expo. I'm sure that would bring more British and even some international people.

  • Delta time

  • On collision occurs when on the first tick an object overlaps another, and picks those objects. Even if it overlaps two objects at the same tick, it triggers on collision with only one object, picks that object and proceeds with the actions. After that it triggers on overlapping the other one.

    It basically picked one object, destroyed it, picked the other one and destroyed that one.

    With "Is overlapping" it checks whether each instance of an object is overlapping another one and picks all instances that do.

  • Make a new variable (global or instance)

    On touch tower          - set the var to 0

    Is touching tower     - add dt to var

    var = 5               ?- destroy tower

  • Just change form "On collision" to "Is overlapping" and keep the "Pick a random instance".

  • Not sure what you mean with "want to loop my background and want it to stay still".

    For looping backgrounds, the easiest way would be making your background image a tiled background and stretching it from start to end of your level.

    The other way would be having two instances of your background image and moving one in front of the other to get the effect of an infinite background.

  • When using Ludei Cloud Compiling, you get a signed debug android apk that can be installed. It's good enough for your needs. Apple allows installing only through their app store to my knowledge.

    As for other devices, I'm not sure.

    Depending on the type of your game, you can get a decent enough framerate using the devices browsers, especially on devices with good browsers like BB devices.

  • For now CocoonJS can compile for Apple AppStore, Google PlayStore, Amazon AppStore, Chrome Web Store and Pokki.

    If you want to make BB10 apps with CocoonJS you'll have to wait, otherwise you can just export for BB10 in Construct 2 and follow the steps in the link Kyatric provided.

  • Don't know if anyone uses this, but I created a Node.js server running socket.io with Nodejitsu.

    I was able to get the server running but wasn't able to connect with either the Construct2 WebSocket plugin nor Zack0Wack0's socket.io plugin.

    Can't say I'm good with servers, but I was able to create a multiplayer pong game with a local Node.js server.

    I must be doing something wrong, just not sure what.

    Any suggestions?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • After restarting a couple of times the bug seems to be gone.

    Can't reproduce anymore, it happened right after upgrading from 108.2 to 109 and creating a new project. I checked an old project and it was the same there too.

  • Add frame and most of the other right click options in the Animation frames and Animations windows seem like they can't be selected, but clicking on them works normally.

  • Oh, good to hear.