Giter Club home page Giter Club logo

bitsy-hacks's Introduction

bitsy-hacks

A collection of re-usable scripts for Adam LeDoux's Bitsy Game Maker.

contents

  • ๐Ÿ”ˆ 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

ImgurImgurImgur

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>

Further reading

bitsy-hacks's People

Contributors

seleb avatar mildmojo avatar hliejun avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.