最新版はここで読めます。 https://neon-izm.github.io/before_join_socialgame/
文書はここでアップデートしているので、プルリクを受け付けます。starを付けてもらえると励みになります。 https://github.com/neon-izm/before_join_socialgame
/* | |
Made by Elly Loel - https://ellyloel.com/ | |
With inspiration from: | |
- Josh W Comeau - https://courses.joshwcomeau.com/css-for-js/treasure-trove/010-global-styles/ | |
- Andy Bell - https://piccalil.li/blog/a-modern-css-reset/ | |
- Adam Argyle - https://unpkg.com/open-props@1.3.16/normalize.min.css / https://codepen.io/argyleink/pen/KKvRORE | |
Notes: | |
- `:where()` is used to lower specificity for easy overriding. | |
*/ |
/* | |
This serivec-worker is proxy to browserfs on fetch/import | |
Example. | |
// write via browserfs | |
fs.writeFile('/dir/a.js', 'console.log("xxx")') | |
// import via service-worker | |
import('/fs/dir/a.js'); |
This primer is licensed under CC0, do whatever you want.
BUT do note that this can be updated, so leave a link here so readers can see the updated information themselves.
1.13 and 1.14 are lumped together in this doc, you're on your own if you just want to go to 1.13 and not 1.14, for some reason.
1.15 stuff: https://gist.github.com/williewillus/30d7e3f775fe93c503bddf054ef3f93e
ResourceLocation
now throw on non-snake-case names instead of silently lowercasing for you, so you probably should go and change all those string constants now. More precisely, domains must only contain alphanumeric lowercase, underscore (_), dash (-), or dot (.). Paths have the same restrictions, but can also contain forward slashes (/).There was a [great article][1] about how react implements it's virtual DOM. There are some really interesting ideas in there but they are deeply buried in the implementation of the React framework.
However, it's possible to implement just the virtual DOM and diff algorithm on it's own as a set of independent modules.
※この文書は、Ruby Tutorial · jlnr/gosu Wikiの日本語訳です。
このチュートリアルの翻訳(中国語、スペイン語、フランス語)へのリンクについては、Homeページを参照してください。
// uses shadowcasting to calculate lighting at specified position | |
function LightSource(position, radius) { | |
this.tiles = []; | |
this.position = position; | |
this.radius = radius; | |
// multipliers for transforming coordinates into other octants. | |
this.mult = [ | |
[1, 0, 0, -1, -1, 0, 0, 1], | |
[0, 1, -1, 0, 0, -1, 1, 0], |