GithubHelp home page GithubHelp logo

js13kgames / pest-control-weasels Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 661 KB

Pest Control : Weasels - a js13kGames 2014 competition entry by @Siorki.

Home Page: https://js13kgames.com/entries/pest-control-weasels

JavaScript 98.73% HTML 1.27%
2014 competition desktop game html5 javascript js13k js13kgames js13kgames2014 mobile

pest-control-weasels's Introduction

Pest Control : Weasels is an arcade puzzle game developed for the 2014 edition of js13kgames.


Game instructions

Lemmings were meant to be saved, weasels should instead be disposed of. (consider this as your revenge on small pesky critters!) Use the four elements to achieve this goal. They come as a variety of tools and traps that you can arrange in the play area. The game is controlled entirely through the mouse or touch screen.

Weasels are smarter than your average lemming and will evade traps, find their way around and - usually - avoid falling to their demise. Each level has a subset of tools to use, available inside the blue icons. Select the icon then place the trap on the play area. You can also click on an already installed trap to move it around. Bring it back to the icon line to remove it entirely.

  • landmines obey gravity and trigger on contact
  • fans give airspeed to flying critters. Click to reverse.
  • flamethrowers are set to roast. Click to turn in the opposite direction.
  • weights obey gravity and crush any critter below. Unfortunately they are not implemented in the compo version

A few extra tips before you get started :

  • weasels cannot swim
  • weasels are bulletproof, they carry a bright red individual shield
  • walking weasels enjoy a nice breeze, but that will not affect them

Credits

Game inspired by Lemmings, Worms, Operation Lemmings and Bill's Tomato Game.

Music and sfx use SoundBox by Marcus Geelnard
Ingame music is a cover of one of the modules from Lemmings, itself a remake of Swan Lake by Tchaikovsky

Fan artwork borrowed from Bill's Tomato Game.
Weight artwork borrowed from the original Lemmings.
Rocky cliffs drawn with an algorithm derived from Inigo Quilez's Voronoise


Technical details and trivia

The screen is 320 pixels high, css-zoomed up.
Spritesheet is 16 colors only.
Weasels animation is 10-frame long, each image displayed during 2 frames at 25 FPS.
Initial spritesheet contained diggers but they did not make it into the 13k limitation.
The js13k version contains 10 levels with 2 different graphics sets.
None provides weights as traps, and their implementation is missing (lack of room).


Minification

The code was run through Google Closure Compiler using Advanced settings.
The resulting code was fed to Javascript-minifier, resulting in a gain of 1kb uncompressed.
Spritesheet was reduced using compresspng.com.
The final archive weasels.zip was created using Ken Silverman's Kzip.

pest-control-weasels's People

Contributors

siorki avatar

Watchers

 avatar  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.