sprite disappearing?

Not favoritedFavorited Favorited 0 favourites
  • 4 posts
From the Asset Store
2d mushroom sprite 2d game character enmy sprite game art
  • so i'm building an RPG with a Pokémon style battle system, and for the most part it functions but when i re-enter a battle and attack the enemy sprite just disappears.

    the way i have it set up the game should let you re-battle the enemy when you walk back into the sprite and it should fully reset all battle conditions so that i can test the battling without resetting the whole project every time, and it was working before but something has the enemy sprite fully disappearing when i attack the first time on re-entering the battle layout.

    ive been disabling random bits of code and i cant figure out whats causing this issue

    dropbox.com/scl/fi/9u1gvugkvo6n2tjmtjy8y/battlesh.c3p

    (for context to use the game the red button is fight and the blue button is flee/ the light green is a strong attack and the dark green is a weak attack)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What browser are you using? I tried downloading the project and running it locally (Chrome) and couldn't reproduce the problem.

  • Run the game in Debug Mode (Shift+F4) and find that sprite in the list of objects on the left. You should be able to see what's going on, perhaps it's invisible, or hidden under other objects.

  • okay, i have no idea why but it started working again the second i tried showing someone the problem? i'm going to chalk it up to coders curse and hope it dosnt happen again (TnT)

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