Giter Site home page Giter Site logo

jzeiber / wasm4-starfightercreator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 84 KB

Ship creator for Starfighter Arena

Home Page: https://jzeiber.github.io/wasm4-starfightercreator/bundle/

HTML 45.98% Makefile 1.04% C++ 20.28% C 32.70%
game wasm-4 wasm4

wasm4-starfightercreator's Introduction

Starfighter Ship Creator

Ship creator for Starfighter Arena

Create your ship here https://jzeiber.github.io/wasm4-starfightercreator/bundle/

Play the game with your ship here https://jzeiber.github.io/wasm4-starfighterarena/bundle/

Screenshot

Use

Controls

  • Left click on the grid will perform the action of the option selected on the right
  • Left click on an option on the right will select it
  • Right click on the grid will delete the vertex below the mouse
  • Middle click on the gird will select the vertex below the mouse

Create your starfighter using the mouse/touch controls. You can place up to 10 vertices in the grid in the upper left. Vertices are mirrored left/right, so you only need to add the vertex to the left or right side of the grid and it will be mirrored on the opposite side. The top of the screen corresponds to the front of the ship. You must choose one of the vertices as the vertex where your weapons will fire from.

When you ship has a valid configuration, you will see a security code that represents the ship. Write this security code down to use the ship in Starfighter Arena.

Options (Click the option to select it, then left click on the grid to perform that action)

  • Add Vertex - Adds a new vertex (after the last vertex) at the grid point under the mouse
  • Delete Vertex - Removes a vertex at the grid point under the mouse
  • Insert Vertex - Inserts a new vertex (after the selected vertex) at the grid point under the mouse
  • Select Vertex - Selects the vertex at the grid point under the mouse
  • Move Vertex - Moves the selected vertex to the grid point under the mouse
  • Weapon Vertex - Selects a previously placed vertex as the point where weapons will fire from

wasm4-starfightercreator's People

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.