This is the place for discussion and support for LunaLua and related modifications and libraries.
Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?
orbits.lua allows the creation of various NPC circles. Originally intended for coin circles (as can be seen in NSMBWii) but any ID can be used. At this time it is suggested that you only create coin/Rupee circles, boo circles, and firebar circles. There is no guaranteed support for all NPCs but feel free to do what you wish with this API. Check out the documentation here: http://wohlsoft.ru/pgewiki/Orbits.lua
Yes. If you check out the documentation you can see that you can grab the NPC(s) in an orbit and can also attach an orbital to an NPC so try taking a look at that
Is it possible to make the center of the orbit to have a certain speed? So the npc does a circle but at the same time is moving horizontally? Think of something similar to the Fire Gun from Contra.
ivanmegafanboy wrote:Is it possible to make the center of the orbit to have a certain speed? So the npc does a circle but at the same time is moving horizontally? Think of something similar to the Fire Gun from Contra.
If you check out the documentation in the OP you'll find a named arg called "speedX" which reads "the horizontal speed of the orbit"
Could I request functionality with platforms? They kind of work, but the player doesn't move with the platforms, which makes it ridiculously difficult.
HenryRichard wrote:Could I request functionality with platforms? They kind of work, but the player doesn't move with the platforms, which makes it ridiculously difficult.
Was aware of this. I plan to do it at some point since I tested it at one point and its original intent was not for blocktop NPCs. As I mentioned in the OP there's no guaranteed functionality and support for any NPCs besides those listed there. I do plan to make it work at some point though. One of the NPCs I'm making for SMBX2 will also require this so expect it surely sometime in the nearish future