Giter Site home page Giter Site logo

hk's Introduction

Game Template

Environment setup

If this is your first game project, make sure your dev environment is properly set.

How to run the game locally

Install all the dependencies by running:

npm install

Start the game server by running:

npm run serve

Finally go to https://localhost:8020/webpack-dev-server/ in order to start the game. If prompted, you will have to disable the browser security for that page by clicking Advanced then PROCEED TO LOCALHOST(UNSAFE)

Getting started with the implementation

Entry point is the file src/Application.js.

Please feel free to rewrite the existing code as it is here only to provide you with a starting point.

Note: We are in the process of improving the application initialization, which should make the application file simpler in the future.

Info on the codebase

The frontend folder contains the game engine and the build system.

If you do not need them, you can ignore the env and src/stormcloud folders along with the fbapp-config.json file. But they need to exist to satisfy the build system.

Assets

Images

If not specifically assigned tasks relative to the metadata.json files, please ignore them.

Sounds

A sound API is provided in src/lib/sounds.js. Sound config files can be found in src/conf/soundConfig.js

hk's People

Contributors

rhettatblack avatar tlanz avatar

Stargazers

Olivier Lombart avatar

Watchers

 avatar Tom Fairfield avatar James Cloos avatar DMac avatar  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.