epfly6 / RepentanceAPIIssueTracker

An unofficial issue tracker for issues with The Binding of Isaac: Repentance's API.
19 stars 1 forks source link

Trying to replace the spritesheet of champions through lua who use the new champion system may cause some issues when there are other enemies of the same kind in the room #331

Open Guillotine-221 opened 3 years ago

Guillotine-221 commented 3 years ago

I had some visual bugs or game crashes happening with this. You may even get a crash from killing the enemies who are under the effect of this bug. You can't avoid this by replacing the sprite with other champion sprites, champion's spritesheet can't be replaced on init, loading an anm2 file on init doesn't work either and doing it on other callbacks makes the champion lose the new system's coloring effect. Some additional details which may or may not be accurate:

Guillotine-221 commented 2 years ago

The champion crashing the game even happened when getting to the next room after killing a champion and non-champion. Also, when i was testing champions, i got some results with these methods. These were tested with the init callback:

Anm2 replacement:

Spritesheet replacement: