mozilla / webgamestub Goto Github PK
View Code? Open in Web Editor NEWINACTIVE - http://mzl.la/ghe-archive - Simple Web Canvas Game Template
INACTIVE - http://mzl.la/ghe-archive - Simple Web Canvas Game Template
The section of https://gladius.etherpad.mozilla.org/59 labeled "to file in github issues".
This was done as part of issue #22. I now suspect that .gitignore wasn't causing the problem I thought it was. The glyphicons files, it turns out, were not part of the example game, but came from mortar or perhaps HTML5 boilerplate. Need to investigate.
It would be impolite to risk melting Lost Decade's servers. Also, this is a good chance to exercise our code in-situ before shipping.
We may also want to frame it in the README.
Make sure that the provided instructions in the readme work in both local and internet mode in chrome and firefox, spinning off other issues as needed
It's not totally clear what causes this. Part of the fix may be to make appcache start using the newly landed appcache_path manifest attribute described on https://developer.mozilla.org/en/Apps/Manifest. I suspect there's more going on here than just this, however.
Furthermore, debugging appcache problems in WebRT is harder than in Firefox; I was only able to even diagnose the problems I was having as appcache-related by packet-sniffing. WebRT badly needs debugging tools, including ways to forcibly clear caches, which are part of Firefox, but not framed as part of the Web Developer tools there. This wants a bug or two in Bugzilla, unless such things are already filed/planned.
As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:
If you have any questions about this file, or Code of Conduct policies and procedures, please reach out to [email protected].
(Message COC001)
It's because it uses the packages.json from create-responsive-template rather than html5-game-template. Fix is trivial.
For this, we'll copy the existing game into the examples directory before we factor out the specifics like the game loop for #17.
As it originates upstream (HTML5 boilerplate and possibly minimal-app-template), code is pulled from Google's CDN and Google Analytics by default.
A couple of examples that already exist are @fwenzel's serpent game and our WGS-game-jam goblin enhancement. We could either link to them (with screenshots?) from the README, or create a gallery page, perhaps in the wiki.
And update the README.md to point to that URL rather than the one belonging to dmose.
This change only ever happened on a branch, so as long as we don't merge those commits (and I don't plan to), the only thing that needs fixing is the README.
WGS uses setInterval for now, prolly because requestAnimationFrame isn't universally supported yet. It should probably use req.Anim.Fr. but fall back to setInterval.
Example:
https://github.com/fwenzel/serpent/blob/ae745680590437b651d1f4279ba242fbb906a69c/www/js/app.js#L8
Note, I am using 1/60s for setInterval, not sure if that's a good idea or if I should just use setInterval 1 and let the browser iterate as fast as it can.
Until bit-rot sets in, we've got https://air.mozilla.org/apps-templates-dev-ecosystem-tools/.
FYI: The following changes were made to this repository's wiki:
defacing spam has been removed
Restricting write access to contributors is strongly encouraged. Please make that change (documentation).
These were made as the result of a recent automated defacement of publically writeable wikis.
Right now, README.md on develop just points to the zipball on develop branch.
This is feedback from @fwenzel from MDN Hack Day. Part of this is probably due to the fact that the formal parameter name to update is "modifier", when it should really be something like timeDeltaInSeconds. We might also want a comment about Date.now returning milliseconds.
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.