about absorb()

SkyWell - Adventure level - Mar 8, 2022 from Android
PlayEdit 1 players liked this.
Issues trying to play levels? Troubleshoot issues playing levels


Views: 72 - Downloads: 37 - Level ID: 371


2 years ago ROllerozxa: Here's a fixed version of the code. I moved the :get_entity lines to the top, so it only gets executed once at start, and enclosed the rest of the code in step() in an if statement that checks for the existence of these object variables (if the ball is absorbed, ball will be nil and so the code won't be executed, so no error will be thrown).