I'm having some trouble with my @Creality3dP K1 Max. Has anyone had this happen to them?
1
167
Ugh, bit manipulation in JS is a pain. I was getting negative hex numbers from `.toString(16)`. It turns out using `| 0` coerces to a signed int, but if you want to coerce to an unsigned int you need to use `>>> 0`. I hate these shenanigans.
I've been a fan of Randall Hyde's @nostarch books for a while now. For anyone interested in low-level programming, "The Art of 64-Bit Assembly" is 25% off with discount code PREORDER. It comes with an ebook pdf & epub.
nostarch.com/art-64-bit-asse…
1
Replying to @b_garcia
@b_garcia has a WAT Tetris clone
wasm4.org/play/watris/
It's pretty sweet. At the moment it could use a down arrow key to drop the puzzle piece, but he's got the code on GitHub and it uses palette cycling.
Pretty Awesome!
#wasm #webassembly
1
Got my Groovy Kaiju "Destroy All Monsters" tape today! Thanks @torch2424
😁🎉
1
2
I'm not sure how I missed "Wave Function Collapse" for procedural level generation until recently, but it looks like a pretty amazing technique:
youtube.com/watch?v=fnFj3dOK…
The demos on the GitHub repo are pretty awesome:
github.com/mxgmn/WaveFunctio…
Spent some more time working on a super small #wasm game, similar to the #rawwasm games @binjimint has been making. This one is a 4.7K (3K #wasm 1.7K #html + #javascript) Space Invaders clone:
wasmbook.com/watinvaders/
code on GitHub:
github.com/battlelinegames/W…
#WebAssembly
I just added a short WebAssembly Text (raw wasm) intro tutorial on youtube for anyone interested.
youtu.be/UqUHxs_yCao
#wasm #webassembly #javascript
Since my newest book ArtOfWasm.com is primarily about WebAssembly Text format, I've added a WAT intro tutorial:
wasmbook.com/blog/WatIntro
and a WAT Sprite tutorial:
wasmbook.com/blog/WATSprite
to WasmBook.com. I'm hoping to add video tutorials soon.
I guess @amazon ran out of copies of my book. Special thanks to @dcodeIO for writing the forward, and doing a technical review of the @AssemblyScript chapter.
#wasm #webassembly
So I didn't think my new book (published by @nostarch) was going to be released until June 1, But apparently, it was released 3 days ago. I wonder why no one told me.
amzn.to/2TmhwDX
#wasm #webassembly
Added keyboard controls to the Tempest like @AssemblyScript game per request from @dcodeIO. I happen to prefer the mouse controls, but you can now use arrow keys + space bar or mouse controls. Only 60K in size.
wasmbook.com/prologue/
#wasm #webassembly
A Tempest like game written in @AssemblyScript:
wasmbook.com/prologue/
#webassembly #wasm #gamedev #webgl
For anyone interested in wat/raw wasm coding, I've just added a (#include "filename") expression syntax to my wat-wasm npm package. You can use that to put your wat functions in different files to make it a little easier to break up your code. #wasm #webassembly
I finished my first @AssemblyScript Vector Engine video tutorial for creating vector based #webassembly games:
wasmbook.com/blog/AssemblySc…
I'm still working out the details of this series, and how much detail I need on certain topics so feedback is appreciated.
#wasm #webgl #gamedev
If you are interested in #webassembly game development, @binjimint's presentation at #wasmsummit is required viewing.
youtube.com/watch?v=qEq3F9Z8…
I saw it live and I'm excited to watch it again on Youtube :-)
#wasm #gamedev
Space Invaders game made with @AssemblyScript and #webassembly total size = 29K
wasmbook.com/apps/invaders/
#wasm #webgl
2
Tutorial for @AssemblyScript mouse input using vectorengine:
wasmbook.com/blog/VectorEngi…
#wasm #webassembly #webgl
1



