oidoid.com
from
Denver
Joined 5y, 40w ago.
Seen 7h ago.
Donated $9.16.
🥨 Stephen Niedzielski
6/6 i am coding nervously. i still feel like i'm going to hit some hidden roadblock. however, it's been wonderful to be able to use all the web APIs instead of native dependencies for audio, graphics, and input, and of course being able to distribute a no install app to players. it really complements my skills. thanks for watching!
🥨 Stephen Niedzielski
5/n it's been nice to have explicit control over memory layout. i think that's one of the most frustrating shortcoming of JavaScript. there's something called AssemblyScript that adds more primitive types like int and there's a proposal for adding struct-like functionality but neither of these is close to stable and i'll still be using Go at work.
🥨 Stephen Niedzielski
4/n my current build which admittedly doesn't do much is 41 KB uncompressed including all the JavaScript, CSS, HTML, and Wasm encoded as a single file deliverable. the Wasm binary by itself is about 18 KB. i think there's a little more i could do here like minifying my shaders and maybe runlength encoding my data. the gzipped size about 20 KB but i'm base64 encoding all the Wasm as a JavaScript string so keeping that smaller may be worth it. i wrote some Go CLIs both for bundling and checking bundle size. the latter is called "fat" and allows me to monitor size changes stay within a KB threshold each commit.
🥨 Stephen Niedzielski
3/n you can compile Go to Wasm so it'll run in the browser. until very recently, i thought that any Wasm usage, particularly Go would be a massive download. however, that's not the case! tinygo is a compiler for embedded devices and Wasm that optimizes for size.
🥨 Stephen Niedzielski
2/n so here's the demo. i've got basic tile and sprite rendering and input polling. when i'm not recording, i can get to up about 700k sprites on my super laptop. the bottleneck seems to be the GPU as i'm not doing any CPU-side sprite culling and when i shift the camera to limit balls drawn, the framerate climbs back up. this is promising compared to the JS implementation which was about 200k sprites but was way more featureful so i'm not ready to claim a 3x boost and honestly i was expecting a more substantial improvement. everything is singlethreaded.
🥨 Stephen Niedzielski
1/n hello! i wanted a share an update on void, my 2d game and app engine for web. you can watch the source video (drive.google.com/f...) if you like (change the quality to 1080p if you watch in browser) but the transcript follows. my professional work has started drifting more into Golang so to better align my life, i'm rewriting void again this time in Go. it's going to take some months.
🥨 Stephen Niedzielski
a video update of void, my 2D engine for web. make sure you switch to 1080p. drive.google.com/f...
🥨 Stephen Niedzielski
🃏 there's a tiny new release of SuperPatience.com! notably, some mouse bugfixes and power usage is greatly reduced.
👨🏻💻 Moroni
Oh, nice! I didn't know about this website. Thanks for sharing!
🥨 Stephen Niedzielski
Updated my website! oidoid.com
🥨 Stephen Niedzielski
🗒️ Kind of Trello but plaintext: the latest Linear Text prototype has a more electronic notes vibe. Download the prototype here (github.com/oidoid/... ). Double click to run. Please do not edit important text in the prototype. It's _very_ buggy!
Henry Tejera
Great! Are you planning to release your engine?
🥨 Stephen Niedzielski
All the code is open-sourced here: github.com/oidoid. Most of the engine is in /void. It's really only useful to others as a reference, not reuse.
🗿 Kohei
won!
👽 Paul Webb
This is very well done. I've never been used to Solitaire with 3 cards but I'm enjoying this and the aesthetic you've created. EDIT: I've yet to win.
🥨 Stephen Niedzielski
Thanks, Paul! Yeah, it's tough but possible!
🥨 Stephen Niedzielski
♣️♦️ Super Patience is now live! It's only pixelated solitaire, but it's the first game I've finished using my own engine. Play at superpatience.com! ♥️♠️
👽 Paul Webb
This is very well done. I've never been used to Solitaire with 3 cards but I'm enjoying this and the aesthetic you've created. EDIT: I've yet to win.
Henry Tejera
Great! Are you planning to release your engine?
🥨 Stephen Niedzielski
My solitaire pixel game is feature complete! Illustrations are not done but you can take a sneak peek: sublimesolitaire.com.
🥨 Stephen Niedzielski
I wrote a blog post about a tiny solitaire game I'm making! niedzielski.com/lo...