• Stars
    star
    226
  • Rank 176,514 (Top 4 %)
  • Language
    JavaScript
  • License
    Other
  • Created almost 7 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a collection of re-usable scripts for bitsy game maker

bitsy hacks

npm i @bitsy/hecks

A collection of re-usable scripts for Adam Le Doux's Bitsy Game Maker. See Ayolland's Borksy for a GUI that allows you to use these hacks with less copy-pasting.

Last tested against Bitsy 8.4

Contents

Custom text effect demoFollower demoUnique items demo

How to use

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>

FAQ

  • I don't know javascript. Can I still use the hacks?

    Yes, most of the hacks require little to no javascript experience.

  • Can I import a hacked file back into the Bitsy editor?

    Yes, but unfortunately only the gamedata will be imported, and the hacks will be lost. To edit a hacked game, it's recommended that you keep a copy of the hacked html file, and copy-paste edited gamedata into it. If you need to do this a lot, there are a few tools available to speed up your workflow (e.g. bitsy-savior, Borksy, bitsy-boilerplate).

  • Some of these hack files are kinda long. Do I need to copy the whole thing?

    Yes, you need the entire hack file in order for it to work. If for some reason you're really concerned with filesize (you shouldn't be), you can programmatically compose and minify them (either by cloning this repo or by using the bitsy-boilerplate project), but this is only recommended for developers familiar with javascript bundling.

  • Can I combine multiple hacks?

    Yes, but there are known issues with specific combinations. If you're having issues using multiple hacks, try testing them one at a time to make sure they've each been setup correctly.

  • Do the hacks work with forks like Bitsy 3D, Bitsy HD, or Bitsy Color?

    It varies by hack and by fork. If something doesn't work, try testing against a regular Bitsy game to make sure you've setup the hack correctly.

    Bitsy HD in particular is a fairly old fork, and generally needs older versions of hacks.

  • Do the hacks work with emulators like bitsy boutique or bitsybox?

    No. Emulators function by re-implementing parts of the engine and/or browser into another environment, but the hacks rely heavily on how the engine is structured and how the browser handles <script> tags. However, desktop projects which preserve the original engine/browser context (e.g. Electron, NW.js) can be used.

If your question isn't covered here, it may be in the general Bitsy documentation.

For other issues, feel free to open an issue, contact me directly, or ask for help on the Bitsy forum!

Old Versions

Bitsy and the hacks are generally not backwards-compatible: when Bitsy updates, it often breaks individual hacks. If you're having issues with hacks after a Bitsy update, it's possible they are out of date. Feel free to reach out for help or open an issue if you suspect this is the case.

If you are using an older version of Bitsy (or a fork based on an older version), you may require old versions of the hacks. Support is not guaranteed across versions, and old versions are not maintained, but some helpful points in history are listed below.

Further reading

More Repositories

1

PICO-8-Token-Optimizations

A list of general purpose tricks and techniques for saving tokens in PICO-8.
137
star
2

Better-Minimal-WebGL-Template

The package is quite simple.โ„ข
HTML
61
star
3

ordered-dither-maker

tool for creating ordered dither threshold textures
TypeScript
22
star
4

pico-8-gpio

a gpio-based pico-8 twitter feed
HTML
19
star
5

chunk-progress-webpack-plugin

Provides runtime progress events by replacing default webpack chunk loading with XHR
JavaScript
19
star
6

WebGLazy

Responsive + configurable WebGL canvas replacement
JavaScript
18
star
7

eslint-plugin-no-smart-quotes

Prevent the use of curly quote/apostrophe characters
JavaScript
11
star
8

bitsy-boilerplate

tool for building bitsy games
JavaScript
10
star
9

PICO-8-Styler

Pretty PICO-8 Pages!
JavaScript
9
star
10

strand

Basic narrative scripting + interpreter inspired by Twine
JavaScript
8
star
11

HowlerPixiLoaderMiddleware

PixiJS loader middleware for Howler audio
JavaScript
7
star
12

sketch-to-lineart

tool for converting sketches to transparent lineart
TypeScript
6
star
13

gui-butler

an itch.io butler wrapper for lazybones like me
JavaScript
6
star
14

bipsi-hacks

a collection of re-usable scripts for bipsi
JavaScript
6
star
15

JS-Sprite-Packer

JS Sprite Packer: A quick-and-dirty sprite packer made with client-side JavaScript.
JavaScript
5
star
16

fillp-tool

Helper for creating PICO-8 fillp patterns
TypeScript
4
star
17

web-rtc-mesh

Signalling server + client for creating P2P data connections
JavaScript
4
star
18

PCM-tool

Helper for generating generative PCM snippets
TypeScript
4
star
19

Fontsy

Bitsy Font Tool
JavaScript
3
star
20

LOWREZJAM2018

๐Ÿ”ฆ
HTML
3
star
21

cutsy-editor

a lil video clip editor
TypeScript
2
star
22

pkg-and-serve

boilerplate for packaging a static server with an app in an exe
JavaScript
2
star
23

NaBoMaMo2016

some twitter bots
PHP
2
star
24

mastodon-post-scheduler

a basic web ui for scheduling posts on mastodon
JavaScript
2
star
25

markov-multi-order

Simple markov chain implementation supporting multiple orders of ngrams
TypeScript
2
star
26

bitsy-merge

merge tool for bitsy gamedata
JavaScript
2
star
27

referential-json-stringify

Provides stringify/parse functions for converting objects with shared/circular references to/from JSON
JavaScript
1
star
28

Gothic-Novel-Jam-2018

JavaScript
1
star
29

deskgap-cra-boilerplate

boilerplate for a deskgap app with CRA-based UI
JavaScript
1
star
30

LDJAM41

MATCH3+CONNECT4
HTML
1
star
31

pink-trombone

headless port of Neil Thapen's Pink Trombone
JavaScript
1
star
32

SexualTengine

An OpenFL game engine made by some guys who are just AWFUL at it.
Haxe
1
star
33

CYOA_ebooks

source for https://twitter.com/CYOA_ebooks
JavaScript
1
star
34

boxboxhtml

a basic WYSIWYG editor for html/css layouts
JavaScript
1
star
35

fetch-itch-games

npm helper for downloading your itch library
JavaScript
1
star
36

kitsy

Monkey-patching toolkit to make it easier and cleaner to run code before and after functions or to inject new code into script tags
TypeScript
1
star