Dave Frampton's Avatar

Dave Frampton

@majicdave.bsky.social

I make games, mostly single handedly. Here on bluseky I post gardening pics and random rambles. Tui open source scripting language: https://github.com/mjdave/tui Sapiens on Steam: https://store.steampowered.com/app/1060230/Sapiens/

261 Followers  |  64 Following  |  487 Posts  |  Joined: 17.10.2023  |  1.8298

Latest posts by majicdave.bsky.social on Bluesky

I remember a few years back thinking this has gotten so out of control, it is gonna crash so hard when it inevitably does, and here we are mid 2025, still pumping up that bubble

01.08.2025 20:22 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I got my knickers in a twist when I found out SDL_mixer doesn't support AAC audio, took me a while to decide what to do. But I've decided to just use AVAudioPlayer on Apple, and will use the equivalents on other platforms I guess. It's all I really need.

30.07.2025 22:42 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I always profile to find them, in fact I often don't worry about cleaning up memory at all for a while when I build stuff, just leak everything if it is convenient, and then I profile with either Apple's Instruments->Leaks, or Visual Studio's memory profiler and fix them all now and then.

30.07.2025 21:59 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Yep. The "INSERT ANY GREAT THING" is not dead. It just got co-opted by corporations and greed. We need to take it back.

30.07.2025 00:55 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

That's awesome! Great job!

29.07.2025 08:45 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Waraki just played its first mp3! ๐Ÿฅณ

29.07.2025 00:30 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Managed to write a .m3u playlist loader all in tui, it's being serialized into tui binary and sent over the network and the client is displaying it... I reckon that first song play isn't far away now!

26.07.2025 20:08 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Trying to decide whether to wear 2 pairs of socks or 3 pairs of socks to kids football this morning

25.07.2025 19:09 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Starlink has been down maybe globally for an hour or so now, doesnโ€™t happen very often.

24.07.2025 20:11 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image Post image

Cave light, Time crystals, portals

23.07.2025 20:39 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Depth problem

23.07.2025 20:37 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

Just came across my very first planning when I started making The Blockheads. "LITTLE DUDE CAN BUILD OR CRAFT AT THE COMMUNITY CHEST"

23.07.2025 20:35 โ€” ๐Ÿ‘ 4    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

oooo yeah that felt good haha, cheers for that :)

22.07.2025 00:48 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

haha I reckon I might!

22.07.2025 00:45 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
GitHub - mjdave/tui: tui is a small, cross platform, open source embeddable scripting language and serialization library for C++ tui is a small, cross platform, open source embeddable scripting language and serialization library for C++ - mjdave/tui

Tui is definitely ready to be messed around with now, if you're interested in giving it a try. I've written a few thousand lines of code in it, and I just added binary table serialization too, I'm about to start sending tui tables over a network. github.com/mjdave/tui

22.07.2025 00:31 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Now that most of the bugs are ironed out, coding in my own programming language is pure bliss. It's a dream, I need to pinch myself. It's like I've been working in someone else's workshop using their tools. And now I have my own workshop. My own tools, homemade, bespoke for my needs.

20.07.2025 07:02 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Waraki is what I have named my little tui mp3 player. It still doesn't play mp3s (the playlist names are still placeholders even), but it has a lovely color cycling animation and a pretty damn fine scroll view implementation if I do say so myself

20.07.2025 06:49 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Just completed the 2nd paper iteration of the mp3 player UI. I always design UI on paper, this little pad is perfect for phone apps.

19.07.2025 00:35 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

The scroll view works! The visual style is starting to come together too, using the Blockheads font for now. Just a little more client UI work to go before I move to the server/networking, and binary serialization in tui.

14.07.2025 20:18 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

โ€œWhen people now pay for Spotify, they are indirectly paying for the manufacturing of A.I. war drones.โ€

12.07.2025 14:32 โ€” ๐Ÿ‘ 236    ๐Ÿ” 91    ๐Ÿ’ฌ 5    ๐Ÿ“Œ 1

tui is still coming along nicely, I have been slowly chipping away at it. I'm currently in the process of porting my 500 line lua scroll view to it, which has exposed a few issues, but I reckon it's nearly there.

07.07.2025 06:04 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

The worst part about losing an hour to Xcode's bug where if you name your resources directory "resources", code signing fails, is that I now recall I lost an hour to that same bug about 10 years ago too. It's bad because I'm forgetful, but mostly, fix your damn shit Apple!

03.07.2025 22:02 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I'm building the mp3 player app now, making good progress. There will be a server command line tui app you can run on anything with music files, then the client has a gui to browse, streams from the server. Hoping SDL3 is up to the audio streaming task, should be!

02.07.2025 03:58 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

The engine is working on iOS now too! This is the breakout clone stretched out on an iPhone. So now I can build all my apps across pc/mac/ios really easily with the same codebase, and it's super slick, built with SDL3, Vulkan, C++ and tui.

30.06.2025 00:09 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Tui breakout works! That was a great first test for tui, it helped me fix a lot of bugs, and I always find it easier to work on painful low level stuff if I have a fun high level goal I'm working towards.

25.06.2025 05:09 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

aha! I knew I was leaking memory, was going to get to that, but first I couldn't figure out why I was over releasing something and crashing. Turns out my ref count was an 8 bit uint, I had retained 256 times and wrapped back to zero ๐Ÿ˜…

24.06.2025 20:53 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image Post image Post image

Tui breakout is coming along! I got nearly this far 2 weeks ago before needing to rewrite the parser, but I'm only hitting small bugs now. No ball yet, but you can move the paddle, and it loads levels from tui files, written in ~100 lines of tui code.

23.06.2025 21:51 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

From on the ground here in the southern hemisphere winter with 4 kids in 3 schools, this is by far the worst virus/cold/flu season we have ever experienced. We have had 6? viruses through, at least one of us sick at home now near non stop for about 12 weeks.

22.06.2025 20:51 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Working on tokenizing table constructors in tui today. I'm at the point where I am so deep that I can't stop, it will take too long to get back here mentally, so I just have to keep digging until it's done. I'm close though.

18.06.2025 20:57 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

It actually says something about Vulkan, that it's easier to create your own programming language, than it is to create your own Vulkan renderer ๐Ÿ˜…

14.06.2025 20:24 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@majicdave is following 20 prominent accounts