RyanFleck / Brutal-Ice

Inspired by the NES Classic "Blades of Steel", using Pixi.JS with Express/Socket.IO multiplayer engine.

Home Page:https://ryanfleck.github.io/experiments/brutal-ice/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brutal-Ice

Brutal Ice will be my very first (usable) public game.

player

Remake of the NES Classic "Blades of Steel" in Pixi.JS with NodeJS/Express/Socket.IO multiplayer engine. Beta will be available soon at https://ryanfleck.github.io/experiments/brutal-ice. Read more about why this game is great at https://arstechnica.com/gaming/2010/11/masterpiece-blades-of-steel/

Render dimensions have been set to reflect the constraints of the NES: 256 x 240.

(Looks like web-packed Pixi.JS is >1.4 mb! Beware loading on mobile phones.)

To run on local machine:

  1. Clone or download repo.
  2. npm i -g http-server
  3. npm i (wait) npm run build
  4. Open a terminal in the project dir and run http-server.
  5. Browse to localhost:8080 and the game will run.

Resources:

  1. Lots of best practices and initial setup => https://github.com/kittykatattack/learningPixi#settingup
  2. Object with multiple animations => http://www.html5gamedevs.com/topic/2393-creating-an-object-with-multiple-animations-in-pixijs/

Development Notes I

In this screenshot of BOS, it can be seen that the player sprites are simply y-mirrored and exist facing five directions: up, up-right, right, down-right, down. These, plus stick-up variants and two celebratory poses, means ten sprites to create.

screenshot one

Image probaby copyright Konami

The stick takes on the primary player color, and skates secondary.

Step one was getting a background. I stitched a bunch of BOS screenshots together to make this:

Full rink stitch.

And then spent a silly amount of time to clean it up and make this, my backdrop:

Full rink stitch final.

Also important was removing all the components players could appear in front of, and making some improvements to the classsic rink (transparency).

Full rink crop.

Next step was producing the spritesheet. I spent a while watching players at 6% emulation speed to get this:

Full rink crop.

2018-11-14 Improving Sprite Workflow:

Testing a new workflow based on https://github.com/gluckgames/pixi-packer.

Relies on GraphicsMagick. Stack overflow thread for WinX64 development.

2018-11-16 Player Spritesheet Complete

Pixi-packer didn't work out. Using https://www.codeandweb.com/free-sprite-sheet-packer


Important Demos:

  1. Z-Order https://pixijs.io/examples/#/layers/zorder.js
  2. NormalMap https://pixijs.io/examples/#/layers/normals.js
  3. Spine https://pixijs.io/examples/#/spine/goblins.js
  4. Drag/NormalMap https://pixijs.io/examples/#/layers/normals-drag.js

2018-11-24 Camera Movement

Added basic full-rink camera panning.

Amazing gamepad testing tool here => http://html5gamepad.com/

Will add this soon.

About

Inspired by the NES Classic "Blades of Steel", using Pixi.JS with Express/Socket.IO multiplayer engine.

https://ryanfleck.github.io/experiments/brutal-ice/

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%