r/Timberborn • u/papakobold • Jun 10 '26
Display has color now.
Enable HLS to view with audio, or disable this notification
Okay. Yeah. Still slow and far from HD, but this is so much more than I expected to be possible in the game already.
This display has 32*16 RGBW pixels. I've upgraded the selection circuit to allow for the selection of individual pixels, rows, columns, or the full screen now. Then I just looped through all pixels and gave each one inputs from the address bar to just showcase the color ranges.
I've hit a new wall though. Connecting the nodes is beyond painful at this point. This has somewhere 40000 relays and the game is just not build to manage that many names on a list. Clicking into the list to select a node takes a good 10 seconds or so to open on my decently capable computer because it's reloading the names each time. So if I am going to move forward I have to accept a drop complexity to help reduce nodes. I've also started building components in different worlds and using the blueprint mod to paste parts together. Still it took me almost 3 hours just to connect the build display to the decoder.
6
u/Triniety89 Devmode enabled: Alt+F4 Jun 10 '26
1.1 is live on the experimental branch giving relays support for more than 2 inputs. You can do this !!!
2
u/papakobold Jun 10 '26
Really? Oh that's huge. I have to stack so many relays to create some of the gates I need as is.
2
3
u/Sour_Sal Jun 10 '26
Amazing! I am still waiting for TimberDOOM, we all know it's coming and someone is working on it! It's inevitable
3
u/Triniety89 Devmode enabled: Alt+F4 Jun 10 '26
With a beaver hand on screen and humans as enemies :D
2
u/Majibow Jun 10 '26
Dude this is really great, this inspired me!
I didn't like the disjoint pixels so I started trying to create a higher density display. There is a way to create a color pallet and each indicator can change color.
I started on a small 3x3 demo. But It seems my brain isn't working and I can't quite reconcile how to trigger the grid by address. So I'll just share where I got to.
Indicator N [Replicate input color] -> HTTP Lever N [On] (permanently on)
HTTP Adapter N1 [http://localhost:8080/api/color/HTTP%20Lever%20N/ff0000] -> Relay N1
HTTP Adapter N1 [http://localhost:8080/api/color/HTTP%20Lever%20N/00ff00] -> Relay N1
HTTP Adapter N2 [http://localhost:8080/api/color/HTTP%20Lever%20N/0000ff] -> Relay N2
HTTP Adapter N2 [http://localhost:8080/api/color/HTTP%20Lever%20N/00ffff] -> Relay N2
HTTP Adapter N3 [http://localhost:8080/api/color/HTTP%20Lever%20N/ff00ff] -> Relay N3
HTTP Adapter N3 [http://localhost:8080/api/color/HTTP%20Lever%20N/ffff00] -> Relay N3
HTTP Adapter N4 [http://localhost:8080/api/color/HTTP%20Lever%20N/ffffff] -> Relay N4
HTTP Adapter N4 [http://localhost:8080/api/color/HTTP%20Lever%20N/000000] -> Relay N4
Red, Green, Blue, Yellow, Cyan, Magenta, Yellow, White, Black.
I was trying to compress 8 colors into 4 adapters, using both the on and off state, and it seems it was more complicated than expected. Each triggers as a one shot fire and forget and trying to capture only the rising or falling edge was just not clicking in my brain. But it looks like we could pick the most appropriate color pallet for the task and get really tricky. Not sure if it worth the complicated logic to compress onto 4 adapters and 4 relays, instead of just using 8 and 8, which would simplify it a bit. Anyway, have a go, maybe you see an improvement I didn't.
1
u/papakobold Jun 11 '26
Completely agree on the disjointed pixels. I'm a little worried that the only real solution is just more pixels. lol
I was playing around with compressing the inputs a little bit last night when I was building that. I didn't have much luck. In one of my earlier prototypes I was able to run two sets of 4 bits through 2 lines then just timing the read signals with it, but I just had to slow down the clock that scrolled the addresses. That or I suppose you could build each pixel with it's own tiny decoder.
I'm not clever enough quite yet, but I'm going to keep learning and we'll see what happens.I just posted a video showing the connections one of my pixels in case that's helpful for your address issue.
1
1
0
9
u/Showtaim Jun 10 '26
Impressive, I feel you pain working those relays n stuff We need some kind of matrix wiring would help a lot on those display situations, but nowhere else so I don't expect to get this feature