Giter Club home page Giter Club logo

bounceback's Introduction

When life gets you down, it's never too late to...

B O U N C E B A C K

A Boomerang Roguelite Game for JS13k by Frank Force

Bounceback Image

Controls

  • WASD = Move
  • Mouse = Aim
  • Click = Throw
  • Space = Dash

Hints

  • Boosting protects you from damage.
  • Buy items to help you survive.
  • You don't lose money when you die!
  • There are only 10 levels.
  • Lost boomerangs show up big on the map.
  • Enemies are slowed by sand.
  • Yellow boormang can grab pickups.
  • Blue boomerang does double damage.
  • Win to unlock speed run mode.

Game Features

  • Boomerang physics & boost ability
  • Procedural level generation
  • 3 Enemy types
  • 7 types of pickups
  • Giant and invisible enemy variants
  • Final boss battle
  • Saves gems earned and max level reached
  • Shop system for buying items
  • Minimap
  • Footsteps, blood, and persistant effects system
  • 16 Different sound effects with zzfx
  • Procedurally generated music
  • Speed run mode doesn't effect normal save
  • Low health warning system
  • Level transition effect

Engine Features

  • Engine is separated from game code
  • Object oriented architecture
  • 2D game object system with pseudo 3D
  • Physics and level tile collision
  • Tile rendering system
  • Cached level rendering
  • Particle system
  • 3D shadows
  • Input processing system
  • Debug rendering system

Engine Debug Features

  • Debug console
  • Debug rendering
  • Debug controls
  • Save snapshot

Minification Notes

  • The official release is under 13k for the game, engine, art and music!
  • The tile.png file has 14 color palette exported from Gimp with all extra save data disabled
  • First combine all javascript together
  • Remove all debug code, godMode, soundEnable, and controls description
  • Use Google Closure on Advanced https://closure-compiler.appspot.com/home
  • Use terser with extra compression turned off https://xem.github.io/terser-online/
  • Put eveything into the same html file and remove any whitespace
  • Zip the index.html and tiles.png files
  • Zip the zip with advzip using the settings "-z -4 -i 1000" https://github.com/amadvance/advancecomp
  • Say a small prayer to the gods of JavaScript
  • The final result should hopefully be under 13k!

bounceback's People

Contributors

killedbyapixel avatar

Watchers

 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.