Description: Archive discussion
Official subforum for LunaLua - an extension framework for SMBX Engine Version 1.3 (which a core of SMBX 2.0). Share your creations that require the use of LunaLUA. You may also share info/tutorials on how to use LunaLUA.
The getIntersecting functions can be useful, but a frustrating characteristic is that the IDs cannot be filtered. This makes it so you have to "weed out" the objects that don't have the ID you want. Why not just add an optional ID argument?
I also just thought of this: I feel like some getXXXonScreen(id, distance) functions (where XXX is the object type) that grabs the objects of the given type on the screen would be helpful, particularly if there are tons of the object with that ID in the level. This would reduce overhead without causing much damage, since objects that are not on the screen don't usually need to be grabbed anyway. The "distance" variable is to set how far off the screen an object could be and still be found.
You can put that into the wishlist. I occasionally visit this page.
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Ｓｉｇｎａｔｕｒｅ．ｓｔａｒｔ（） ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬
Wohlstand in interview:
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Ｓｉｇｎａｔｕｒｅ．ｅｎｄ（） ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬
Who is online (over the past 5 minutes)
Users browsing this forum: 1 guest