Giter VIP home page Giter VIP logo

submarine-fun's Introduction

SUBmersible WARship 2063

My game entry for JS13K Games 2018 on the theme "Offline", and tribute to Micropose's 1993 submarine simulator Subwar 2050.

Special thanks to Mark Sparling who composed the musical track on Soundbox, Florent Cailhol who introduced me to Entity-Component-Systems and contributed some code optimizations, and Andrzej Mazur for running the JS13K Games competition year over year.

Goal

Enemy submarines have invaded your perimeter. Fight back and sink them all!

Turn your sonar online to locate your enemies, but beware that it gives your position away! Turn your sonar offline to disappear from their radar, and them from yours...

Controls

Arrow/WASD (ZQSD on French keyboard): Move your submarine. Space: Fire a torpedo.

F or O: Toggle your sonar online or offline.

P: Pause or resume the game.

Developer's corner

npm start

This command builds game, opens a browser, watches the source code and livereloads the browser when source code changes.

npm run build

This command builds the game for submission (no sourcemap nor livereload script)

Special Thanks and Attributions

  • Eoin McGrath for his original build script
  • Peters and flo- for their pixel font from Glitch Hunter
  • Ryan Malm for sharing his Twitter message code
  • Maxime Euziere for his switch/case approach to handling game screens in update/render/input handlers
  • Florent Cailhol for suggesting Terser in place of UglifyJS
  • Marcus Geelnard for creating music tracker & player SoundBox

submarine-fun's People

Contributors

herebefrogs avatar ooflorent avatar dependabot[bot] 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.