Giter Site home page Giter Site logo

bubble-gunner's Introduction

Bubble Gunner

logo

Join the journey of bubble gunner to save lavaland animals. Shoot bubbles and catch animals but be careful! Pieces of lava are also falling down.

Play it now in browser or in a Telegram chat!

Getting Started

# restore packages and build the project
npm install

# run a server on port 5005 (by default)
npm start

and navigate to localhost:5005.

For manually building the project afterwards:

npm run build

@types type definitions will not be restored on old versions of node.

For development time, use http://localhost:5005/index-dev.html as it does not load the minified version of js files.

Generating Audio Sprites

Make sure you have ffmpeg installed and present in PATH.

npm run gen-audio

Credits

Artworks

Sounds

  • Great people sharing their work on FreeSound
  • Xenogears Original Soundtrack - Knight of Fire

bubble-gunner's People

Contributors

jharrilim avatar poulad avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bubble-gunner's Issues

Platform index

Platform should have the same index as dragon but currently is a part of bg image

Game puase

Pause button currently resets the game instead of momentarily pausing it.

Esc button could also be used for pausing the game.

Button Label Text Format Incorrect

In Menu.ts:
let startGameText = new Text(Start Shooting Bubbles, Sans 10pt, red);
Should be:
let startGameText = new Text(Start Shooting Bubbles, 10pt Calibri, red);

Sans is invalid rip

Page metadata

There is almost not metadata about the page.

Start by title

Spritesheet

Put all the images together in 1 spritesheet.

Bug: 1 Circle Attaches to Multiple Bubbles

Suppose you shoot a bubble at a circle, and you want to get another one directly behind it. The first circle will consume both bubbles, and prevent Player from successfully catching the circle behind the foremost circle.

Set FPS to 60 FPS

pls

function init() {
    canvas = <HTMLCanvasElement> document.getElementById(`canvas`);
    window.addEventListener(`resize`, resizeCanvas, false);
    resizeCanvas();
    let stage = new Stage(canvas);
    let manager = new BubbleGunner.GameManager(stage);
    Ticker.addEventListener(`tick`, stage);
    // ----Add Me--------
    Ticker.framerate = 60;
    // ---------------------
    createjs.Touch.enable(stage);
    manager.start();
}

Increase Lava Droprate

Add more lava intervals to each of the levels.
Level 1 - 1 lava
Level 2 - 2 lava
level 3 - 4 lava

Get Sounds

Sounds needed:

  • Lava falling
  • Bubble shooting
  • Bubble capturing animal
  • Animal starts falling
  • Lava popping bubble
  • Animal rescued
  • Animal died

Edit:

  • Button click

Lava Type Deprecated

Lava is no longer a shape, and should now be a container. This change is needed for the Particle Emitter and Image.

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.