GithubHelp home page GithubHelp logo

gramework's People

Contributors

andxyz avatar bartek avatar plorry avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

bartek

gramework's Issues

feature suggestion: tmx collision map

sorry, no PR but the code is 99% there: https://gist.github.com/oberhamsi/4006869 and at least one guy (not me) used it :)

the docs sum up well how the convention works: "Each tile can hold a "block" property detailing its desired blocking behaviour. Possible blocking data values are: none, always, north, east...Several restrictions can be added separated by commas"

i also added the obvious and tiny SearchMap(collissionMap).

you could hide both as private instances in gramework.TileMap and only expose two new methods TileMap.findRoute(from, to, timeout) and TileMap.canMove(from, to).

Alternative rendering engines

I don't think we can make gramework engine-agnostic, but I think there may be benefits in exploring other game engines. Realistically, I don't think it'd be too difficult to swap that part, and continue to expose a similar, if not the same gramework API

I'm mostly intrigued by pixi.js, which seems to have active development and much broader use.

Although Gamejs was the first framework we found that we loved (for it's very thin layer of a wrapper), I don't think we should hold onto it if it means there's better solutions.

I'm mostly thinking of writing these games and running them on other devices. I have not tested anything yet, but I feel that an up-to-date engine like pixi.js may provide better support for that going forward.

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.