Factorio – How to make a Digital Display and Game Clock



A Blueprint Book including all of the creations from this video can be found here:

Hello everyone! Welcome to my video guide on using combinator bit-shift and modulo functions to build a fully-functional seven segment digital display and game time clock using very few combinators. This is a design that I have iterated upon from the work of other community members (notably the genius DaveMcW) and I have tried to break it down as best I can to be understandable by anyone who is curious about its inner workings. There are a few misspoken words and minor mistakes in this video, but it’s over 30 minutes long and one take, and I’m used to streaming on Twitch where everything is unscripted so it’s good enough for me.

Some timestamps for the video:
2:25 – Populating the Dictionary
13:40 – Making a dynamic display
23:20 – Constructing the clock
28:30 – Setting the clock to current game time

If you have any questions at all, feel free to ask in the description and I will do my best to answer them as quickly and thoroughly as possible. I very much appreciate you watching and reading the description!

Twitch:
Twitter:

Nguồn: https://gayawana.org/

Xem thêm bài viết khác: https://gayawana.org/game/

Article Categories:
Game

Comments

  • Is there a way to change hours to days and display just 24 hours?

    Roman Marek July 24, 2020 5:41 am Reply
  • This was a very well done and helpful video. Excellent explanation and presentation, and extremely helpful. Thank you!

    Peter Herrera July 24, 2020 5:41 am Reply
  • I need some help with a blueprint of not yours, that is not displaying the item when it should are you free today?

    THE STRESS FACTOR July 24, 2020 5:41 am Reply
  • Absolutely loved your video. I’ve been watching and learning from various videos but this video has made it much easier. Great explanation. “Factorio is Nuts”

    THE STRESS FACTOR July 24, 2020 5:41 am Reply
  • Am I right in the assumption that I could control up to 16 segments per panel with this controller setup?

    Pattappat July 24, 2020 5:41 am Reply
  • Excellent video. I decided I wanted to try to build a 7-segment display on my own, using the small knowledge I have of factorio logic circuits, and did get it working, but had basically done it segment by segment with a decider for each digit (ie, for the A segment, it's only off for 1 and 4, so took 3 combinators to program "if input is not 1 or 4, output A to the grid." The ones that had roughly an equal amount of on and off cases for any given digit took the most combinators, of course). I knew there had to be a way to do it with bit-shifting but didn't feel like trying to suss it out. This is an elegant solution to the problem and a great example of a use-case for bit-shifting in Factorio, and you also include great explanations for the sub-circuits you use, ie pulse generators, clocks, and memory cells. Definitely something any aspiring Factorio circuit engineer should watch.

    calfromkansas July 24, 2020 5:41 am Reply
  • Me: I want to make a simple clock for my factory!

    Me 7min into the video: ok, my brain is full now…

    Jouh July 24, 2020 5:41 am Reply
  • Wow, I understood the principles, but I need to sort everything in my mind x)
    Nice tuto, appreciate the effort, now it's time to suffer from practicing ^^

    TheSpacePunkMusics July 24, 2020 5:41 am Reply
  • Sweet explanation!
    Actually yesterday I found this CPU: https://youtu.be/ts5EKp9w4TU In that one, there is a really nice and verrry small display.
    I was trying to understand it (still at it), but cause of struggles I checked YT for something similar. Strangely the display closest to it, is yours. Afaik. [*By now I found another one, but slightly different explaining quality :P]
    The moment you mentioned "bit(shifting)" I knew how to investigate that other display. Now I understand almost all of it.
    It contains a neat trick, which you did not consider (yet). It places the dictionary at the top of the binary number, instead of the bottom. The advantage of that is, that the last combinator after the shift is not needed, since the segments can just perform a negative check (highest bit check). [*The other video I found also contained that trick]
    Nice video 🙂

    Ecconia July 24, 2020 5:41 am Reply
  • A

    john wallcraft July 24, 2020 5:41 am Reply
  • This is much more compact. It certainly beats having a combinator for each digit on each panel. One question though, what is the purpose of the last modulo 2 combinator before outputting to the display. I didn't quite understand that part.

    Amr Okasha July 24, 2020 5:41 am Reply

Leave a Reply

Your email address will not be published. Required fields are marked *