Red Flagpole in Mari0

General Mar0 discussion has been moved to this subforum!
Post Reply
User avatar
MrEle
Posts: 3
Joined: 30 Jun 2021, 18:41

Post » 09 Sep 2022, 14:37

Hi. I wonder if it's possible to recreate the red flagpole from the New Super Mario Bros games. This flagpole function as an alternative exit to the main level and it usually opens alternative/secret paths for the player.

In this case my idea would be for it to warp the player to another world upon completing

User avatar
SankeySMM2
Posts: 230
Joined: 13 Feb 2021, 20:12
Contact:

Post » 09 Sep 2022, 19:07

It is possible. I first discovered that in psnes_demo

WilliamFrog
Posts: 229
Joined: 21 Jul 2020, 20:10
Contact:

Post » 09 Sep 2022, 19:26

You would need to make a fully custom flagpole for it, regular flagpoles always go to the next level

User avatar
Qwerbey
Posts: 1282
Joined: 05 Oct 2012, 07:58
Contact:

Post » 13 Sep 2022, 04:30

I bet you could time an animation to warp you just before the flagpole entity does

WilliamFrog
Posts: 229
Joined: 21 Jul 2020, 20:10
Contact:

Post » 15 Sep 2022, 23:56

The timing depends on how much time you have left, so that could result in inconsistencies, but it could work

User avatar
SankeySMM2
Posts: 230
Joined: 13 Feb 2021, 20:12
Contact:

Post » 16 Sep 2022, 06:16

Maybe a custom flagpole entity would help, you will need a lot of code for the entity and animation for the ending.

User avatar
MrEle
Posts: 3
Joined: 30 Jun 2021, 18:41

Post » 27 Sep 2022, 17:49

Nvm I managed to achieve the same effect using an animation and a trigger on the flag. I also set the sub world time to 0 to avoid timing problems and It works quite smoothly

WilliamFrog
Posts: 229
Joined: 21 Jul 2020, 20:10
Contact:

Post » 28 Sep 2022, 06:12

The sublevel timer setting only applies if you start there in the editor or respawn after dying; if you travel from another sub, the timer will stay where it was in the old sub

Post Reply