plorry / gramework Goto Github PK
View Code? Open in Web Editor NEWmodular framework for rapid game development using gamejs
modular framework for rapid game development using gamejs
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)
.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.