A collection of re-usable scripts for Adam LeDoux's Bitsy Game Maker.
- ๐ basic sfx: "walk" and "talk" sound effect support
- ๐ด canvas replacement: WebGLazy bitsy integration (this one's mostly just for me)
- โฟ corrupt: corrupts gamedata at runtime
- ๐ ฐ custom font: change the bitsy font
- ๐ ฐ custom text effect: make {custom}text effects{custom}
- โ directional avatar: flips the player's sprite based on directional movement
- ๐ผ dynamic background: HTML background matching bitsy background
- ๐ end-from-dialog: trigger an ending from dialog, including narration text
- ๐ช exit-from-dialog: exit to another room from dialog, including conditionals
- ๐ฐ external-game-data: separate Bitsy game data from your (modded) HTML for easier development
- ๐ favicon-from-sprite: generate a browser favicon (tab icon) from a Bitsy sprite, including animation!
- ๐ follower: makes a single sprite follow the player
- ๐ฎ gamepad input: HTML5 gamepad support
- โ javascript dialog: execute arbitrary javascript from dialog
- ๐ logic-operators-extended: adds conditional logic operators
- ๐ noclip: walk through wall tiles, sprites, items, exits, and endings
- โณ permanent items: prevent some items from being picked up
- ๐ solid items: treat some items like sprites that can be placed multiple times
- ๐ฐ tracery processing: process all dialog text with a tracery grammar
- ๐ transparent sprites: makes all sprites have transparent backgrounds
- โ unique items: items which, when picked up, remove all other instances of that item from the game
Each script has a short "HOW TO USE" section included in the comments. For steps which say to Copy-paste this script into a script tag after the bitsy source
, open your exported bitsy game and scroll to the bottom of the file (at the time of writing, it looks like this):
</script>
</head>
<!-- DOCUMENT BODY -->
<body onload='startExportedGame()'>
<!-- GAME CANVAS -->
<canvas id='game'></canvas>
</body>
</html>
then edit it to look like this:
</script>
<script>
// and then paste your code here!
</script>
</head>
<!-- DOCUMENT BODY -->
<body onload='startExportedGame()'>
<!-- GAME CANVAS -->
<canvas id='game'></canvas>
</body>
</html>