Yo Soy Freeman on Nostr: Godot what you mean i can't multiply a float by a bool :( I should be able to replace ...
Godot what you mean i can't multiply a float by a bool :(
I should be able to replace and if with:
a + b * bool
or an and like this:
bool1 * bool2 * a
Sometimes really makes things A LOT cleaner and easier. Why is the world refusing that false = 0 true = 1
Sadness
Published at
2025-01-04 12:28:44Event JSON
{
"id": "460493d4c06ed87817510d9aa78366fcdc404c205700eded9a8e8ecd2b482b5b",
"pubkey": "49ba75d9934fc475a43386ff2f28e9070e8f52be9ff882da5d49ccd137f1882b",
"created_at": 1735993724,
"kind": 1,
"tags": [
[
"imeta",
"url https://cdn.masto.host/mastodongamedevplace/media_attachments/files/113/770/038/680/967/605/original/61acbf17f52917a9.png",
"m image/png",
"dim 481x25",
"blurhash U89Gm[s:S2j[^lj[WVoL1HWVoLoLGHa}oLfR"
],
[
"proxy",
"https://mastodon.gamedev.place/users/YoSoyFreeman/statuses/113770084713621151",
"activitypub"
]
],
"content": "Godot what you mean i can't multiply a float by a bool :(\n\nI should be able to replace and if with:\n\na + b * bool\n\nor an and like this:\n\nbool1 * bool2 * a\n\nSometimes really makes things A LOT cleaner and easier. Why is the world refusing that false = 0 true = 1\n\nSadness\n\nhttps://cdn.masto.host/mastodongamedevplace/media_attachments/files/113/770/038/680/967/605/original/61acbf17f52917a9.png",
"sig": "6114fd2a50841041e708aaa9fcefde3464ae6cd710b572e449ce4798b618d6fa5d7951e4945d8bcab7de2b805690e2b0e6d85523f913a4e91f59933559b43502"
}