Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hey Empha, I'm having a really hard time on this game i'm currently making, and I'd really appreciate your help. I tried out your hacks, the ones that make you warp to a different room via talking to sprites, but I can't make heads or tails of the written explanation. I'm a huge fan of your work, and it would really mean a lot if you explained how to use it, and I'm sure you could help other people too. 

Oh sure, I'd love to help. (Although it's not really my hack, Mildmojo wrote it.)

So when you download your game from the bitsy page, you get a .html file. To make the hack work, you need to open that file in some text editor and paste the code of the hack in its own script tag. Like this: "<script>[the hack]</script>" Putting it near the end of the file, right after the last </script> tag, seems the most reliable.

To use the hack, just add exit commands to the dialog of some sprite. It can appear anywhere in dialog, and should look like this: (exit "roomname, x, y") Just replace roomname, x and y with the value you want. using exitNow instead of exit will move you instantly, instead of waiting until the dialog is over.

If anything's still unclear, don't be afraid to ask!

Thank you so much! What do the x and y mean, is that the sprite value?

x and y are coordinates counting from the top left tile. x is sideways, y is up-down