Metroidvania Advanced tutorial video - question

d_krops

Member
At ~25:40 into the advanced tutorial video, metroidvania module. Joe explains once he makes contact with the “activate trigger door” tile, he may want to change it to a blank collision, if not it would continue to play sound every frame that you’re on the tile. What would that code look like?
 

dale_coop

Moderator
Staff member
In the activate trigger tile script, after the "TriggerScreen ScreenType", you could add a:
Code:
 ChangeTileAtCollision #$00, #$00
To replace that tile with a blank tile.
 

twin paradox

New member
If you look at the "bossBlock.asm" file in the shooter module (under tile scripts) you should be able to find the block of code that changes all tiles of a certain type to null tiles.

*edit* Dale, your solution is much more elegant lol
 
Top Bottom