R
RylanStylin
Guest
I have an object in my game called EndOfLevel. It is created whenever a level is completed. I recently changed the sprite of this object to a new one. After I did this, the object disappeared whenever i launch the game, but still existed, and was therefore invisible. Here is everything I have tried:
1. Using CNTR + SHIFT + F to search for all times EndOfLEvel is references. None of them should be causing this problem. I also checked the code inside of EndOfLevel
2. I set the game to end if the instance existed. The game ended at the appropriate time.
3. I set the layer to be the highest, a depth of 0, there are no other layers above this one. I understand that a higher number means lower down.
4. Changing the sprite back to the old sprite. Nothing. Reimporting the sprite did nothing. Changing the name did nothing.
5. The only tag i have selected inside of the object is 'visible' so thats not the problem.
6. I have had the game draw the location of this object, it is not moving off screen and is in the correct position.
7. I have manually set its image_alpha to be 1 in the create event and step event.
8. I have manually set the sprite_index to be EndOfLevelSprite in the create and step event.
I legitimately am at a dead end here, any advice is much appreciated.
1. Using CNTR + SHIFT + F to search for all times EndOfLEvel is references. None of them should be causing this problem. I also checked the code inside of EndOfLevel
2. I set the game to end if the instance existed. The game ended at the appropriate time.
3. I set the layer to be the highest, a depth of 0, there are no other layers above this one. I understand that a higher number means lower down.
4. Changing the sprite back to the old sprite. Nothing. Reimporting the sprite did nothing. Changing the name did nothing.
5. The only tag i have selected inside of the object is 'visible' so thats not the problem.
6. I have had the game draw the location of this object, it is not moving off screen and is in the correct position.
7. I have manually set its image_alpha to be 1 in the create event and step event.
8. I have manually set the sprite_index to be EndOfLevelSprite in the create and step event.
I legitimately am at a dead end here, any advice is much appreciated.