Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
(1 edit)

I think you could use hidden item which contain the ending text. Also place an exit on the same tile to teleport the player to the exit room. The end room could be a room with word The End on it. Hope this helps

But how do you make it so that the text displays before you are sent to the new room? I've been trying to do this and every single time, the "room exit" occurs before the text.

May be check this

I think the best practice for accomplishing this without hacks is two steps:

  1. Hidden item before exit that performs the logic to see which ending text the player should be shown. This item stores the ending text to a variable.
  2. Ending displays appropriate ending text using 'say'

I wrote a tutorial which covers this and variables in general: