sleitnick
banner
sleitnick.com
sleitnick
@sleitnick.com
Game dev @ http://easy.gg
Finally made a low-poly airliner that I'm proud of! I'm not an artist, so even this level of fidelity is super challenging for myself. Excited to rig it up and get it flying in-game soon!
April 11, 2025 at 5:09 AM
Wife: "I'm going to bed"
Me: *starts installing linux*
March 31, 2025 at 3:05 AM
Testing out the dialog system! #RobloxDev
March 13, 2025 at 6:49 AM
The Lines of Code plugin has FINALLY received a facelift! This has been scheduled for release for a few months, but was awaiting actors to be usable from plugins.
March 6, 2025 at 8:35 PM
Here's an example. Imagine you want to make a mobile slider UI component. You first detect when the user started the drag on the UI component itself. Then you use UserInputService to detect changes and ending, using the InputObject as the way to detect if it's the same finger.
March 3, 2025 at 12:43 PM
Time to suffer
February 22, 2025 at 6:51 PM
Require Autocomplete update!

- Require-by-string when prefixing with ::
- Escapes strings & works with weird instance names
- Various adjustments and performance improvements

#RobloxDev
February 21, 2025 at 2:19 PM
My mental health can be measured inversely proportional to how often and how late I listen to math rock.

The Midwest winter weather is killing me.
February 19, 2025 at 6:29 AM
Midwest moonlit drives have an eerie but pleasant vibe. Just driving into nothingness.
February 14, 2025 at 5:00 AM
I've been working on a Postgres driver written in Luau for my Koa runtime. It's coming along nicely! Here's an example of inserting rows to a table, and then listing out all the rows.
February 13, 2025 at 6:59 AM
Example of a socket client in Koa. Here I am getting the current time from an NTP server and parsing out the timestamp.

The NTP_TIMESTMAP_DELTA converts from the NTP timestamp (Jan 1900) to Unix (Jan 1970)
February 6, 2025 at 7:59 PM
RIP, at least I tried. I've heard it's hard to get accepted into Nintendo's dev program.
January 25, 2025 at 5:12 PM
Luau running physical infrastructure! (Just my coach lights)

Using a Shelly 1PM smart relay to toggle my lights on/off thru its API, and using my Luau runtime to spool up a simple HTTP server to shuttle around requests & also to run the background thread for updating the light state.
January 23, 2025 at 7:53 AM
Yet another Luau runtime? Oh yeah. This time, written in Zig.
January 14, 2025 at 7:10 AM
I don't believe GitHub contributions says anything about someone's productivity. It does, however, highlight life events in funny ways. You can see when said life event happened for me!
January 3, 2025 at 7:37 AM
My new build! I'm really happy how this turned out. It'll be fully enclosed, so nothing to look at, but I'm hoping for some good performance!
December 19, 2024 at 8:48 AM
Galaxy Warriors was such a fun project. We abandoned it because it didn't fit the "Roblox" mold. Tempted to port it to Godot or Unity eventually!
December 17, 2024 at 10:55 PM
Bringing Luau to the Raspberry Pi
December 12, 2024 at 6:19 AM
Pro-tip: If you're using VS Code and editing index/init files often, you can make them show up as their parent directory name using this VS Code setting.
December 10, 2024 at 3:07 PM
Parts are starting to come in! Got the fans and PSU somewhat installed for placement last night. Still waiting for motherboard, water cooler, and GPU.
December 4, 2024 at 11:09 PM
For the sake of completion, here's decompression. This code is just to test that the process is working. It runs immediately after the compression step against the written file.

1. Create file buffer
2. Create mem buffer
3. Decompress file buf into mem buf
4. Read data & load bytecode to verify
December 3, 2024 at 6:42 AM
Here's what the bundled code writer looks like. I write the raw binary data to a dynamic buffer, and then I run the zlib "deflate" compressor against a file buffer, which is the final file write.

Decoding is basically the same in reverse.
December 3, 2024 at 6:36 AM
Here's an example. 1k samples of 100k iterations, running square root of the iteration index. Native Luau is much faster in this instance. You can see the outer percentile ranges are closer to the median as well, compared to the normal Luau version.
December 1, 2024 at 5:25 AM
The only other code that's necessary is to call the "supported" and "create" functions. I can't believe it's this easy.
December 1, 2024 at 5:06 AM
Kudos to the Luau team. This is super easy. Just target the desired function at the given stack index and it'll do the native codegen.
December 1, 2024 at 5:06 AM