I was just coding some special objects in my new game and the game bugged. First, when the code came to a randomizer, the code stopped working, all of it. Second, when I tried to see what was wrong (Pressing esc), the game screen flew off to a random spot on the screen and the tab was frozen.
These bugs are really worrying me, I took all of my day today coding that object and now I can’t do anything on the game. I think this bug is due to some sort of Flowlab update, but I can’t be sure.
That appear to be an infinite loop of some sort. Not a direct loop because you don’t have the warning, but the same thing happens when you attach an object with itself
You know, instead of sending multiple numbered messages, you could just send multiple numbers into a single message and that value is sent to the receiving object. I use it all the time as switches to tell if a feature or ability is active at or not. It can also act as a global in terms of sending numbers, but instead of it being universal across the level like a global, it’s only shared between the objects you have messages linked to.
Basically, just an input into a number and the number into a message. Whatever value is put into a message, it sends it to the next object.
Like maniac said, you can just send a value through a message.
A game link would be needed to find the exact issue though. As long as the messages in the 2nd image isn’t sent back to self or updates the global, it should be fine (but it’s not, so I’m assuming it’s one of those errors)