lionz's Forum Posts

  • The 'Scroll To' behaviour will follow the player. If you mean something more specific than this, try adding more information.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have them in the layout at the start of the game then destroy them on start of layout. This way it is loaded into memory. Maybe it is loading it for the first time here and there's some delay.

  • Try adding a trigger once to the 'is lancou' event. If that doesn't work then let me know what lancou is set to when you release Z, is it set to false now?

    Be careful as some of your animations can try to run at the same time. In case you don't see the throw animation working at all it could be because it's trying to play idle or walk at the same time.

  • Ok I can't open this, I'd have to go back in time. Can you share a screenshot of the throw events and all the animations, may that will help. So the problem is that after you throw its stuck in the animation even when you walk ?

  • You need to subscribe to keep using more than 50 events. If the subscription ends you are back on the free mode.

  • What is si no, an 'Else'? Write out the 4 conditions. The other two conditions are when X and Y are less than. So this would work for the 4 main directions, test it.

  • Using system compare two values, you combine two conditions such as if mouse.x > sprite.x and mouse.y > sprite.Y then set animation diagonal down/right

  • So the animation isn't looping right it's just stuck. Probably the only option is to share the file now.

  • > You say it should be one or the other, so which would your actions apply to?

    It would apply to the instances that were picked as part of the condition that returned true. In other words, any instance that returns true for an OR condition would be picked.

    I find it's better not to think of it as returning true or false, but instead returning a number of picked instances. If you have a condition 'sprite is X' as part of an OR block, and there are no 'sprite is X' I think of it as 0 instances matched, not that the condition returned false and therefore should be ignored and all instances are still open to being picked.

  • And the save events? Where you set "nextlvl"

  • > I would expect this OR-condition to either pick all of the instances that are to the left of X=500, or pick all of the instances that are above Y=500. Even as we're talking about this, I struggle to think of what else it could logically do.

    You say it should be one or the other, so which would your actions apply to? It makes sense to me that sprites that meet either criteria would be picked for actions to happen.

    Exactly, the use of 'either' doesn't make sense in the context of how Construct is picking instances and applying actions to them. It will pick all the instances that meet at least one of the conditions.

  • You can do as much testing as you want but probably you should test it on a local APK before submitting.

  • Oh I see, is the animation set to 'looping'? Check in the animation editor. If this is looping then it will not trigged 'on finished'.

  • You used 'coin' global variable. The total 36 should also be a global variable like 'total', not a hard set number. Then when you go between layouts you can set it differently. If in layout 1 set total to 36 so it says Coin & coin / total which would show 0/36. If in layout 2 set total to 20, again it uses the same code Coin & coin / total which would show 0/20. You managed to put the collected coins into a global variable, now its time to make the total coins a global variable.

  • Did you test it on a local apk before you published it? Is it working there?