lionz's Forum Posts

  • Hi Chris

    The on completed "tag" needs to be the same as the request. Should be on "GetHomeFields" completed as it is waiting for the "tag".

    Also the action is not system load game, you should pick the Array object and use Load action, remember you are loading data into the array. System load is for save game type stuff.

  • The expression before random also has an effect so in this case floor rounds the value down so it will never choose 10 for (1,10). If you use ceil instead of floor then it would pick 10 but not 1 because it rounds up. You could always just use choose() then you know the available values.

  • Add the Ajax object to the project.

    Events :

    On start of layout : ajax request project file (your file)

    Ajax on completed : array object - load action with value ajax.lastdata

    This loads the file into the array, you can then manipulate it with the events.

  • Well it's kinda easy, try it out :) it should fix the skipping issue

  • It's a little tricky but what I do for this is have the loop inside a function and stop the loop if the matching value is found and then run the function again.

  • I assume you're using the arrow keys which is default controls for platform behaviour. You need to untick default controls on platform behaviour for the enemy. For the player you can keep the arrow keys or make your own key press events.

  • If you need to disable for some reason you can enable later, just remember that the setting is global and they will remain disabled :)

  • It's fine I had a look, it's because you deactivate the group with the controls in it, not sure why you did this.

  • Please share the project so it can be debugged.

  • Add some events for 'on resumed' to restart the audio and test on a local apk, see if it helps.

  • Nice :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes from your events it will do that, but I said to add a condition for coin 'is coin animation playing' separately.

  • So that should add 5 for a coin or 25 if its one of the other items and the outcome is what?

  • Share the screenshot on how you set it up

  • On the 'on collision' events you add a second condition 'item animation is playing' so the first one would be 'is playing animation coin' and the second one 'is playing animation emerald'.

    Also remove the set animation actions from those events, you don't need it and it might interfere.