Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles

Bitsy Game Maker

Make little games, worlds, and stories! (No coding required.) · By Adam Le Doux

Switching room through conditional?

A topic by Mary T. created May 15, 2018 Views: 198 Replies: 3
Viewing posts 1 to 3
(1 edit)

Hello!

Was wondering if there's a way to teleport the player to another room / coord set when they interact with an item / sprite? I've got a pretty good handle on how the conditionals work, but there doesn't seem to be any way to switch rooms through code.....

update: https://github.com/seleb/bitsy-hacks/blob/master/dist/exit-from-dialog.js

Currently there's not a way to set conditional exits in the Bitsy editor, but you can do it using the exit from dialogue hack - https://github.com/seleb/bitsy-hacks/blob/master/dist/exit-from-dialog.js You'll need to download your game from the editor, then copy and paste the script for the hack into the game as per the instructions.

If you're not confident about adding the hack to the game yourself you might want to check out Borksy - https://ayolland.itch.io/borksy

Thanks!!