Wanted to build a little workflow tool for terrain building with #bevy, get sucked into trying to set up a reactive UI with Bevy UI.
Posts by Bas Tuijnman
Been doing most my game dev stuff in Rust lately, but sometimes I yearn for the simplicity of C 😅
Nobody wants to deal with FPP issues anyway…
Did you write everything in C?
Hey this is dope as shit!
Fresh bread for the weekend
Puck Pieterse #glazenbolcup
Got the rail game to compile & run on iPad :)
Whipped up a quick placement follow mechanism for the primary camera (don't mind the fugly placeholder UI & textures). Having a ton of fun building all of this stuff out! #bevyengine #gamedev
What greater joy is there than to let your 3yo play your little train game and have him scream with glee once he realises he can place tracks going down all the way into the deepest pits of hell
Going up! Added ability ascend trains and build at a higher level. #bevyengine #rust
Wrote some comically shitty train movement code and some loop detection mechanism that would burn your eyes out (think Raiders), but at least there's a functioning closed track resource 🤷 #bevyengine #gamedev
Probably because I'm coming from a pure programming background it makes more sense to me to spawn things through code and it's easier for me to oversee what the interaction is like. Though I think I'd be less enthused if I had the need to build bigger levels/environments 😅
It's interesting to me that Unity/Godot/Unreal all felt stifling to me creativity wise but that when using an engine that doesn't have an editor at all I feel like I'm doing my best work game dev wise. Just doing everything from the terminal feels satisfying AF
Been fudging up track piece placement for a while, essentially gave up on calculating this during runtime and instead have snap points in the Gltf scenes. Massively reduced my complexity and I get all of the position/rotation calculations for free from #bevyengine :)
Apparently if you write Go for a little bit you completely lose the ability use semicolons in other languages
This is dope AF!
I'm not sure how I feel about Go just giving you the empty value of the value type you're using on your map when providing a non existing key though... it feels kinda wrong to have to check on len(map[key]) (since in my case I've got an int slice as my value)
Wanted to rewrite the rules list into a map to make it more efficient, took a look and realised I basically just wrote an actual (less efficient) sort function -.-
After updating looks a bit cleaner, chuffed with it! Maps will probably come in handy later regardless
#AdventOfCode day 5 github.com/bastuijnman/...
So many for loops it might make you gag
Oh boy didn’t even know you could do C on those bad boys. During high school I had a TI-84 plus which I wrote BASIC on. Perhaps I should do next years AoC on it with Z80 assembly and really torture myself 😅
Must've rewritten the solution for todays #AdventOfCode like 3 times since my mind came up with wonderful ways that almost worked but didn't quite catch all cases.
Code is now at least simple enough for the most part but defo has a bunch of duplication that can be avoided
github.com/bastuijnman/...
After yesterdays brute force misery with #AdventOfCode today was some simple regexes
Getting a bit more comfortable with Go at least
github.com/bastuijnman/...
It's december 1st once again, so time for Advent of Code 2024 🥳
Going to attempt it all in Go (which I've never written), solution for day 1:
github.com/bastuijnman/...
I guess a small instruction set size keeps it fun, can’t imagine having to deal with x86 or arm 🙃
Assembly for fun? 🫠
Nothing makes me feel more inadequate as a game dev than having to pull trigonometry out of my ass when I need it -.-
Been trying to kick off my side project again, a little railway building game in #rust/#bevyengine
Maybe bluesky can provide some motivation to keep working on it and keep throwing out updates 🙃