Hi guys - I’m trying to learn Gdevelop and I have a simple question. I’m clicking a sprite with two animations. If the sprite is on anim1, I’d like it to go to anim2, and if it’s on anim2, i’d like it to go to anim1. I can get it to make the initial change to anim2, but not back to anim1 on the next click. If I try to include the second condition (play anim1 if on anim2) it doesn’t work at all (probably stuck in some loop). I tried using the same logic I’ve used in other tools, but can’t seem to get it to work.
If you’re just switching between 2 animations, then you can use a Boolean variable and toggle it when the sprite is clicked. False = animation1, true = animation2, this should fix your issue. Specifically use the toggle action (not set to true/false).
This is totally off topic, but
How do I set my game up so that once it’s published, players can use most of the features for free, but to get access to extra features they have to pay for a subscription. And when the subscription runs out it only allows them to use the free version. And only that one player can use the access he has from the subscription, I don’t want the player to be able to share the game. FYI, yes I understand variables, etc.
Please help?