Look at this video, it shows the airship cannon being shot at a 45° angle at the player.
This was also done in Fearsome Flagship in Super Mario Star Expedition, and I want to try it for an airship level for the upcoming TGCA remake. However, I don't know how to make the airship cannon shoot at that angle. I've seen some tutorials but they cause the cannonballs to fly at 60°, not 45°, which looks odd.
How do you get the airship cannon to shoot at 45°, like in SMB3's airships?
-Make a layer and put in that layer the cannonball generator;
-Make an event and under "layer movement" put the layer of the cannonball. Then set the speed (I don't know the speed, sorry).
-Select the cannonball generator, go in the NPC events and under activate put the event.
you don't need layers you just put a invisible platform in off make it the player can't stand on it put it close to cannonball generator and make the cannonball have nogravity=1 then will be like in smb3
DimitrisPowerSeven wrote:you don't need layers you just put a invisible platform in off make it the player can't stand on it put it close to cannonball generator and make the cannonball have nogravity=1 then will be like in smb3
If the player can't stand on it then they'll just bounce on and off it. I tried it with a platform in which the player can't jump on it and that resulted. I don't want Mario to bounce off the cannonball, I want it to damage him.
DimitrisPowerSeven wrote:you don't need layers you just put a invisible platform in off make it the player can't stand on it put it close to cannonball generator and make the cannonball have nogravity=1 then will be like in smb3
If the player can't stand on it then they'll just bounce on and off it. I tried it with a platform in which the player can't jump on it and that resulted. I don't want Mario to bounce off the cannonball, I want it to damage him.
DimitrisPowerSeven wrote:you don't need layers you just put a invisible platform in off make it the player can't stand on it put it close to cannonball generator and make the cannonball have nogravity=1 then will be like in smb3
If the player can't stand on it then they'll just bounce on and off it. I tried it with a platform in which the player can't jump on it and that resulted. I don't want Mario to bounce off the cannonball, I want it to damage him.
You want it to? Didn't they die in SMB3?
If I had them replace the platforms I can't make them stompable. The player will just bounce on and off them.
Thanks Dmitri, that helped quite a lot and now I can set up the airship cannons. However, the npc-60 that makes the cannonball go at a 45° angle doesn't move if it's set on a moving layer, and the airship that I'm making moves up and down. I tried attaching it to the airship layer (which is the Default layer as the whole airship moves up and down) but it didn't work, and it causes the cannonballs to generate out of synch with the NPC. How do I make the npc-60 move with the airship?
castlewars wrote:Thanks Dmitri, that helped quite a lot and now I can set up the airship cannons. However, the npc-60 that makes the cannonball go at a 45° angle doesn't move if it's set on a moving layer, and the airship that I'm making moves up and down. I tried attaching it to the airship layer (which is the Default layer as the whole airship moves up and down) but it didn't work, and it causes the cannonballs to generate out of synch with the NPC. How do I make the npc-60 move with the airship?
You can't use this gimmick close to moving layers. This also doesn't work with noblockcollision=1, so you have use that cannons only on the open spaces above them. Sorry.