Binary Addition in Baba Is You

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024
  • This time I made a binary adder in Baba is You.
    Game of Life video:
    • Conway's Game of Life ...
    Baba Is You: www.hempuli.com...

ความคิดเห็น • 71

  • @ShehabEllithy
    @ShehabEllithy 4 ปีที่แล้ว +224

    Anytime an editor of a game or anything similar comes online, the first thing programmers do is the freaking binary adder or conway's game of life

  • @trollbreeder2534
    @trollbreeder2534 4 ปีที่แล้ว +310

    brain is melt

  • @teamdoodz
    @teamdoodz 4 ปีที่แล้ว +56

    I never thought of using belts as logic gates. Thanks.

  • @UltraLuigi2401
    @UltraLuigi2401 4 ปีที่แล้ว +99

    Why are the numbers backwards?

    • @AndrewTxp
      @AndrewTxp  4 ปีที่แล้ว +59

      I guess I was building it so the calculation moved from left to right. That felt logical at the time. I'm working on an Infinifactory video though and that'll have the numbers in nice readable forwards decimal. 👍🏻

    • @herp_derpingson
      @herp_derpingson 4 ปีที่แล้ว +32

      Little endian?

    • @jongyon7192p
      @jongyon7192p 4 ปีที่แล้ว +4

      @@herp_derpingson Little endian, ofc!

    • @NStripleseven
      @NStripleseven 4 ปีที่แล้ว +2

      It doesn't really matter, if you wanted it forwards you would just have to reverse it and make the things that are right left.

  • @flatfingertuning727
    @flatfingertuning727 2 ปีที่แล้ว +2

    I've done a few levels with logic to perform decimal-to-binary and binary-to-decimal conversion, including a version which is surprisingly compact if it only needs to handle one or the other at any given time. The primary guts of the conversion are ten rules of the form [digit/digit] FEELING [color/color] IS [digit], where the items containing slashes have two things stacked, and four rules of the form ALL ON [surface] FACING [digit/digit/digit] IS [color]. One can use the color of an item that's facing the rightmost digit and is on a suitable surface to tell whether the next bit of a decimal-to-binary result should be 0 or 1 (digits processed LSB first), and have the last digit of the number face a digit that isn't on the surface but will be switched between 0 and 5 to indicate zeroes and ones (MSB first). The sequence of evaluation of colors/feelings versus nouns allows the game to convert one bit per game tick. I think efficient multiplication should be possible at a rate of one game tick per bit of product using a carry-save adder, the first portion of which could be done simultaneous with the decimal-to-binary conversion of one of the multiplicands, but I'm not sure the best way to accomplish that.

  • @gregg8721
    @gregg8721 4 ปีที่แล้ว +36

    It’s official. Baba is you is a computer.

    • @Leekodot15
      @Leekodot15 4 ปีที่แล้ว

      Baba is computer. ...and what progress does that make?

    • @gregg8721
      @gregg8721 4 ปีที่แล้ว

      Nothing it’s just cool

    • @fsdhuy
      @fsdhuy 4 ปีที่แล้ว +2

      baba is you is computer

    • @Apple-ho7ej
      @Apple-ho7ej 3 ปีที่แล้ว +1

      @@fsdhuy BA
      BA IS YOU
      IS
      COMPUTER

    • @fandroid6491
      @fandroid6491 2 ปีที่แล้ว

      Baba is monitor

  • @LucidMlem
    @LucidMlem 3 ปีที่แล้ว +3

    Can't wait until someone creates a raycasting system in baba is you

    • @AndrewTxp
      @AndrewTxp  3 ปีที่แล้ว +2

      Haha oh no that is right on the edge of what I think might in theory be just about possible

  • @noahjalbuena-cook6877
    @noahjalbuena-cook6877 4 ปีที่แล้ว +8

    this is so cool!

  • @supermal112233
    @supermal112233 4 ปีที่แล้ว

    Playing Deus Ex - UNATCO really fits this.

  • @lopsidedhead
    @lopsidedhead 4 ปีที่แล้ว +9

    Now, can Baba Is You run Doom?

  • @doublespoonco
    @doublespoonco 4 ปีที่แล้ว +3

    Well now I've just got to sub

  • @stl-xx5rq
    @stl-xx5rq 5 ปีที่แล้ว +22

    How did you make the custom world playable without crash?

    • @AndrewTxp
      @AndrewTxp  5 ปีที่แล้ว +19

      If you mean the black screen that appears when you choose a world from the 'custom levels' menu, I had to open the data file in the "Worlds" folder in a text editor and manually set the start level to my map screen. I forget what it was set to by default but it's something that doesn't exist, and the game doesn't handle that case except by loading an unwinnable black screen.

    • @aaronking2020
      @aaronking2020 4 ปีที่แล้ว +8

      he set it to crash is not

    • @Ze_eT
      @Ze_eT 4 ปีที่แล้ว

      @@AndrewTxp Pretty much is the answer to alot of stuff. Tried turning ??? into a level, ended up there.

  • @bobbydhopp65
    @bobbydhopp65 2 ปีที่แล้ว

    papa li sina, len li anpa, kiwen li pusan, sinpin li pake, telo seli li seli

  • @maxifire32
    @maxifire32 3 ปีที่แล้ว +2

    Brain is done

  • @I_Was_Named_This_Way...
    @I_Was_Named_This_Way... ปีที่แล้ว +1

    Level code?
    Edit: NVM, I remade it myself. Level code: RDMC-P6D1

  • @miguelanjo2776
    @miguelanjo2776 4 ปีที่แล้ว

    If i were you, i'd add cursors to show the rocks, "cursor is not select" somewhere, and a setup to make each cursor a different color. Like, one regular cursor, one with a flower and "cursor on flower is blue" and a setup to destroy the flower. Just for show, but looks good.

  • @notwaldo8200
    @notwaldo8200 4 ปีที่แล้ว

    Great work man

  • @expchrist
    @expchrist 4 ปีที่แล้ว

    OMG you are awesome!

  • @fasolaviver
    @fasolaviver 5 ปีที่แล้ว +3

    How did you get the editor?

    • @AndrewTxp
      @AndrewTxp  5 ปีที่แล้ว +7

      Somewhere in your install directory (depends what platform you're on) there should be a file called "editor_menudata.lua" and line 20 says "if (build == "debug")" - its job is to hide the level editor unless you're the developer debugging something. Change it to something like "if (build ~= "fakebuild")" and then the level editor will always appear. It's a pain to use though (which is why it isn't available by default and advertised as a feature).

  • @KaliTakumi
    @KaliTakumi 4 ปีที่แล้ว

    Outstanding

  • @keonscorner516
    @keonscorner516 ปีที่แล้ว

    Now do decimal input and output

  • @CalenDemo
    @CalenDemo 4 ปีที่แล้ว

    I mean, THIS is so cool!

  • @omegahaxors9-11
    @omegahaxors9-11 4 ปีที่แล้ว +1

    Let me know when you discover ACE

    • @blokos_
      @blokos_ 2 ปีที่แล้ว

      when pong in super mario world in baba is you is coming

  • @anonymall
    @anonymall 4 ปีที่แล้ว

    In the future you'll make a calculator I'm damn sure

  • @ms.pirate
    @ms.pirate 3 ปีที่แล้ว +1

    *brain fried*

  • @PersonThePersonOsu
    @PersonThePersonOsu 4 ปีที่แล้ว

    Nice one, I would like to see it bigger if you are able to change the borders. I would try myself but I don’t have the game yet.

  • @rodlprz
    @rodlprz 3 ปีที่แล้ว +1

    me is melt

  • @miguelanjo2776
    @miguelanjo2776 4 ปีที่แล้ว

    why isnt it level 10

  • @charbomber110
    @charbomber110 4 ปีที่แล้ว

    Mind is fuck and big and hot
    Also, if the last one could run Minecraft and DooM 1, can this one run Halo?

  • @fourtrifiveo4350
    @fourtrifiveo4350 3 ปีที่แล้ว

    baba is grad

  • @columbus8myhw
    @columbus8myhw 3 ปีที่แล้ว

    No comments allowed on the Game of Life video?

  • @Cece_-.-._._-.-._.
    @Cece_-.-._._-.-._. 3 ปีที่แล้ว

    I made a level that forces you to do addition.

  • @dnkestptt
    @dnkestptt 4 ปีที่แล้ว

    Ian is subscribe

  • @khoi-chuyengialaptrinh7069
    @khoi-chuyengialaptrinh7069 2 ปีที่แล้ว

    level is auto