bee.games
Bitsy Museum HackDemonstration

Bitsy Museum Hack

Bitsy Museum Hack

Demonstration

Bitsy Museum Hack An extremely simple hack that allows you to showcase, open and play through multiple Bitsy files from a central Bitsy game. Ideas: Bitsy mix-tape Bespoke Bitsy showcase of multiple creators work Portfolio of Bitsy games Chapter selection Show off different characters perspectives Why is it so hacky? ahhh, I didn't have time to make a proper tool?? By only changing a couple of lines of code it is: Compatible with other Bitsy hacks and extensions Able to work with older (and hopefully) newer versions of Bitsy Doesn't mess with the actual game data in any way HOW TO USE: Step 1: Gather up your games Find all the games you want to showcase Rename the files for ease of use (if needed) Step 2: Make the Museum Make your Bitsy Museum base game (or download the demo below!) Add an ending for each game you want to showcase Make the ending text the filename you want to open (without the .html) Save it out Rename it as "index.html" Step 3: Hack it! In each of the games, locate the following in the code (search for RESTART): else if ( isEnding ) { if (input.anyKeyPressed() || input.isTapReleased()) { /* RESTART GAME */ reset_cur_game(); } } Simple replace all of that with: else if ( isEnding ) { /* BITSY MUSEUM HACK: instead of reseting on ending it takes player back to the museum also removes need to click button to reset */ { window.open("index.html", "_self"); } } In the Museum, locate the following code: if (end) { startNarrating( ending[end.id], true /*isEnding*/ ); } Simply replace it with: if (end) { /* BITSY MUSEUM HACK: jump to the apprioprate game! */ window.open(ending[end.id] + ".html", "_self"); } Step 4: Enjoy! Please let me know if there are any bugs or issues with it. You can leave it here or on twitter at @erikaverkaaik. REMOVING THE TITLE / START DIALOGUE: You might want to remove the title or start dialogue from the Museum or from the individual games (depending on your situation). Locate the following code (it should be on line 11): <script type="bitsyGameData" id="exportedGameData"> And remove the opening dialogue that is directly underneath it. Be careful not to remove anything else. Please download the demo (below) to see how it works. Codes changes are commented with /* BITSY MUSEUM HACK */ for easy searching.

Entwicklerodd-hours
KategorieDemonstration

About BeeGames social

Playground and Play together are the BeeGames social layer — so you're never just playing alone.

What is a Playground?

Your Playground is your own personal game homepage. Pin the games you love, give it a name and a short bio, then make it public to share your personal arcade with anyone.

How do I use my Playground?

On any game page, tap “Playground” to pin that game. Head to My Playground to edit its name, bio and layout, then share your public link with friends.

What is Play together?

Play together lets you co-play the same game with friends in real time. Open a game room and everyone can play side by side while chatting in the room — like crowding around one screen, online.

How do I play with friends?

Tap “Play together” on a game page, pick a public room or a private one with a password, then share the room link with friends. You can also browse and join open rooms from the Lobby.