Baba Is You

Baba Is You

View Stats:
Crusader Aug 8, 2020 @ 6:28am
Question about probability in baba is you
So I’ve been messing around in the baba is you level editor and wanted to mess with “seldom” and “often” i’ve been using “and” and “not” to multiply their probabilities to try to create my own “or” operator to add probability inducing texts’ probabilities together.

“And” definitely seems like it’s multiplying them together.

Not is definitely the inverse of a probability aka for a given probability p between 1 and 0, 1-p is the inverse. Explaining these incase people don’t know what I’m talking about.

It was all going well until...

I ran into this thing called “not and” it only seems to work with “seldom” and “often” and i’m not sure what “not and” does. Is it equivalent to exclusive or (subtraction maybe?)? Is it equivalent to the addition of both probabilities minus the product of the two? The latter one seemed unlikely. And it’s definitely not equivalent to “or” or addition because from my testing i couldn’t complete the probability to 100% (since in the wiki it says seldom is 1/6 proc chance i tried doing “seldom not and not seldom baba is you” and it didn’t complete to 100%, meaning i couldn’t move occasionally, even though it should’ve if “not and” was “or” since “or” means addition in probability just as “and” means multiplication).

Is there anyone out there that has figured this out yet? am i the only one interested lol?
Originally posted by Kiddiec͕̤̱͋̿͑͠at 🃏:
Originally posted by Crusader:
Question about probability in baba is you

Well, hopefully somebody who knows more on this will answer your topic.
The SELDOM & OFTEN mechanics, as well as the math behind mixing them, isn't especially clear to me (and it might be possible that only people who have seen the game's code (the developer) know about this), but here's some stuff I know that might be of use to you.




In his lecture titled: "Reading the Rules of Baba Is You", the developer admits that some features in the game aren't properly functioning yet and he designed the official levels to avoid situations that are currently broken.
https://www.youtube.com/watch?time_continue=5&v=Jf5O8S5GiOo

He also stated that he is going to do his best to get all of these fixed up before the -official- release of the level editor.

So, (as far as I can currently tell) it's unclear whether "NOT AND" is intended behavior or not.

If it's useful then I think it's great if you can figure out how to use it for something but since the level editor isn't in its official release yet - be warned that if something seems -potentially- unintentional behavior, then it might, or might not, still work once the editor gets its official release.




Here's a video that's basically proof-of-concept of how you can use TELE for controlled RNG with easy to understand fractions such as 1/2, 1/3, 1/4, 1/5, etc.:
https://www.youtube.com/watch?v=cisQPqUxhKc

...unless you need the player to be able to push those blocks "SELDOM" & "OFTEN" around - it'll probably be a lot more intuitive to just figure out how to structure something in the corner that uses a moving character that pushes some rules around and jumps between RNG TELE lanes.

If you want this to apply to Baba, a cheap way you could probably do this is by forming the partial sentences you want Baba to receive randomly, connected to the empty space of the RNG lanes a character will run down, such as "IS HOT", "IS OPEN", "IS MORE" and then use "BABA IS WORD" so the Baba that is MOVE will activate them as he runs.

This [initially] creates some problems because you probably want the player to be Baba and not be "MOVE" and "WORD" by default - but this is easily fixable. Fill the machine area with tiles (if tiles exist nowhere else in the level, otherwise maybe use grass or something else) and add the rules...
BABA ON TILE IS GREY
BABA FEELING GREY IS MOVE AND WORD AND NOT YOU

That Baba will still act as the word "BABA" and apply rules to -your- Baba but will not be controlled by you, & your Baba will not move an extra space, or move when idle, or be a word.

...& with a little bit of effort - in order to figure out a design where it worked for you - you could also combine this TELE-lanes RNG thing with Seldom & Often to multiply these controlled fractions by the fixed rate fractions / percentages that Seldom & Often use.
(Which according to the wiki, Often is 3/4, and Seldom is 1/6 )




:seewhatyoudid:
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
Originally posted by Crusader:
Question about probability in baba is you

Well, hopefully somebody who knows more on this will answer your topic.
The SELDOM & OFTEN mechanics, as well as the math behind mixing them, isn't especially clear to me (and it might be possible that only people who have seen the game's code (the developer) know about this), but here's some stuff I know that might be of use to you.




In his lecture titled: "Reading the Rules of Baba Is You", the developer admits that some features in the game aren't properly functioning yet and he designed the official levels to avoid situations that are currently broken.
https://www.youtube.com/watch?time_continue=5&v=Jf5O8S5GiOo

He also stated that he is going to do his best to get all of these fixed up before the -official- release of the level editor.

So, (as far as I can currently tell) it's unclear whether "NOT AND" is intended behavior or not.

If it's useful then I think it's great if you can figure out how to use it for something but since the level editor isn't in its official release yet - be warned that if something seems -potentially- unintentional behavior, then it might, or might not, still work once the editor gets its official release.




Here's a video that's basically proof-of-concept of how you can use TELE for controlled RNG with easy to understand fractions such as 1/2, 1/3, 1/4, 1/5, etc.:
https://www.youtube.com/watch?v=cisQPqUxhKc

...unless you need the player to be able to push those blocks "SELDOM" & "OFTEN" around - it'll probably be a lot more intuitive to just figure out how to structure something in the corner that uses a moving character that pushes some rules around and jumps between RNG TELE lanes.

If you want this to apply to Baba, a cheap way you could probably do this is by forming the partial sentences you want Baba to receive randomly, connected to the empty space of the RNG lanes a character will run down, such as "IS HOT", "IS OPEN", "IS MORE" and then use "BABA IS WORD" so the Baba that is MOVE will activate them as he runs.

This [initially] creates some problems because you probably want the player to be Baba and not be "MOVE" and "WORD" by default - but this is easily fixable. Fill the machine area with tiles (if tiles exist nowhere else in the level, otherwise maybe use grass or something else) and add the rules...
BABA ON TILE IS GREY
BABA FEELING GREY IS MOVE AND WORD AND NOT YOU

That Baba will still act as the word "BABA" and apply rules to -your- Baba but will not be controlled by you, & your Baba will not move an extra space, or move when idle, or be a word.

...& with a little bit of effort - in order to figure out a design where it worked for you - you could also combine this TELE-lanes RNG thing with Seldom & Often to multiply these controlled fractions by the fixed rate fractions / percentages that Seldom & Often use.
(Which according to the wiki, Often is 3/4, and Seldom is 1/6 )




:seewhatyoudid:
Crusader Aug 8, 2020 @ 12:56pm 
Originally posted by Kiddiec͕̤̱͋̿͑͠at:
Originally posted by Crusader:
Question about probability in baba is you

Well, hopefully somebody who knows more on this will answer your topic.
The SELDOM & OFTEN mechanics, as well as the math behind mixing them, isn't especially clear to me (and it might be possible that only people who have seen the game's code (the developer) know about this), but here's some stuff I know that might be of use to you.




In his lecture titled: "Reading the Rules of Baba Is You", the developer admits that some features in the game aren't properly functioning yet and he designed the official levels to avoid situations that are currently broken.
https://www.youtube.com/watch?time_continue=5&v=Jf5O8S5GiOo

He also stated that he is going to do his best to get all of these fixed up before the -official- release of the level editor.

So, (as far as I can currently tell) it's unclear whether "NOT AND" is intended behavior or not.

If it's useful then I think it's great if you can figure out how to use it for something but since the level editor isn't in its official release yet - be warned that if something seems -potentially- unintentional behavior, then it might, or might not, still work once the editor gets its official release.




Here's a video that's basically proof-of-concept of how you can use TELE for controlled RNG with easy to understand fractions such as 1/2, 1/3, 1/4, 1/5, etc.:
https://www.youtube.com/watch?v=cisQPqUxhKc

...unless you need the player to be able to push those blocks "SELDOM" & "OFTEN" around - it'll probably be a lot more intuitive to just figure out how to structure something in the corner that uses a moving character that pushes some rules around and jumps between RNG TELE lanes.

If you want this to apply to Baba, a cheap way you could probably do this is by forming the partial sentences you want Baba to receive randomly, connected to the empty space of the RNG lanes a character will run down, such as "IS HOT", "IS OPEN", "IS MORE" and then use "BABA IS WORD" so the Baba that is MOVE will activate them as he runs.

This [initially] creates some problems because you probably want the player to be Baba and not be "MOVE" and "WORD" by default - but this is easily fixable. Fill the machine area with tiles (if tiles exist nowhere else in the level, otherwise maybe use grass or something else) and add the rules...
BABA ON TILE IS GREY
BABA FEELING GREY IS MOVE AND WORD AND NOT YOU

That Baba will still act as the word "BABA" and apply rules to -your- Baba but will not be controlled by you, & your Baba will not move an extra space, or move when idle, or be a word.

...& with a little bit of effort - in order to figure out a design where it worked for you - you could also combine this TELE-lanes RNG thing with Seldom & Often to multiply these controlled fractions by the fixed rate fractions / percentages that Seldom & Often use.
(Which according to the wiki, Often is 3/4, and Seldom is 1/6 )




:seewhatyoudid:

I see. well thanks. I’ll check out the video some time to try to work things out.
Last edited by Crusader; Aug 8, 2020 @ 10:31pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Aug 8, 2020 @ 6:28am
Posts: 2