GithubHelp home page GithubHelp logo

arkanhockey's Introduction

ArkanHockey - (AH)

Arkanhockey BETA file (only index file) - the game and the platform is in beta and I will definitely rewrite to clean up and fix a number of known issues hence the code might change completely from one day to another however the game is stable enough.

ArkanHockey is a top-down game built using a platform I'm developing that I plan to call "Arkan".

The platform will allow easy implementation of game logics, sprites animation, physics, a simple input controls, both by multitouch and by keyboard / mouse. Cross compatible between different devices and different browsers aiming to run smoothly on mobile devices (not necessarely high-end devices).

  • No external libraries
  • Garbage collector friendly (aim to reduce GC as much as possible)
  • Object pooling - Array pooling
  • Sprite images for animations, either using an image or using canvas to create a sprite
  • Sound either with tag (supporting multiple layers or 1 layer) or Web Audio API (with support for both the old Web Audio API and the new). The use of audio is always the same across all the modes: audio1.play() audio1.pause()
  • Rendering - 3 modes: Canvas precaching, rendering images, render anew all the times
  • Physics - Shapes avail: blocks, circles or dot supported. In the future will add triangles and maybe custom geometries. All objects can be "triggers", can associate actions once 2 or more objects collide together. Objects can also be "static" (not affected by gravity nor pushforce but other objects bounce against this one), "dynamic" (affected by pushforce and gravity and can be controlled by the user), "phantom" (not affected by gravity nor pushforce from other objects, other objects are not influenced by this object but code detects when 2 objects overlap each other)
  • API for mouse / keyboard events - inputs
  • Custom image fonts can be used in .png format
  • Some debugging functionality like time spent on rendering or logics or physics etc...
  • HTML5 storage, save and load game data
  • Offline - game can be played offline with HTML5 caching
  • Full screen mode ready - needs some more work
  • API to create and handle menu and buttons

arkanhockey's People

Contributors

nakele avatar

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.