Sprite disappearing? Possible flashing bug

Not favoritedFavorited Favorited 0 favourites
  • 5 posts
From the Asset Store
Cute cartoon girl character with Walk, Jump, and Idle animations for 2D games.
  • So this is the 2nd time this has happened to me while building this exact game, and the last time this happened it worked itself out and I don't know how.

    Basically my game has a turn based battle system that relies on flashing animation to change the turns back and forth and for some reason after my first attack on the creature the sprite just disappears.

    Last time I posted this no one who downloaded the file could replicate the issue and it eventually just went away but now its happening again and I'm not really able to progress on development unless I can get this to work. Any advice would be helpful!

    (to enter battle walk into green highlighted area for a few seconds)

    https://drive.google.com/file/d/1TAqgpbmLakXVgO9D37NYFVqyh_ajV_pF/view?usp=drive_link

  • Your link shows "Access denied".

    You can run your game in Debug Mode (Shift+F4) and check yourself what happens with the sprite.

  • Sorry, i messed up the permissions, it should be available now.

    I've been running it in debug mode and I can see the sprite is being made invisible but I cant figure out what's doing that. The only events that affect the enemy sprite currently should only cause it to change animations or flash, not change visibility.

  • Your timescale is 0, that's why the Flash behavior is paused.

    You have a condition "if layer 4 is visible -> set timescale to 0", make sure you reset the timescale back to 1.

    I suggest using layer names instead of numbers, this way if you remove or add any layers, you won't have to change their numbering in your events.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OKAY THANK YOU.

    It took an extra event to just auto make the layer invisible every time the battle layout loads but it functions and thats all i need.

    I didn't realize i could do things with layer names instead of numbers though, so thank you time 2 because that streamlined a lot for me.

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)