🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

Switching room through conditional?

A topic by Mary T. created 5 days ago Views: 33 Replies: 3
Viewing posts 1 to 3
(Edited 1 time)

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!!