Quantcast
Channel: Super Mario Bros. X Forums
Viewing all articles
Browse latest Browse all 2623

LunaLua • Re: simpleLayerMovement.lua - For all your custom layer movement needs!

$
0
0
Really useful. LIke your example screenshot already shows, it is better than npc-106 (SMB1 elevator).
But how exactly did you create this "multiple elevators"-effect (no idea how to call it) without interruption?
(so from SMB 1-2 near the end of the level)

Code:

slm.addLayer{name = "move 3",verticalMovement = slm.MOVEMENT_LOOP,verticalSpeed = 2,verticalDistance = 3500}
is only for one of them, if you copy one of these "block-units" with that layer and place if offset than the other "block-unit" will also move only 3500 units.
I could make a lot of copies but at some point all of them have went through and it would take some time, until it does repeat again.

Image
Image

Can you tell me what to do?

Statistics: Posted by Just_Thomas — Sat Jan 27, 2024 1:17 pm



Viewing all articles
Browse latest Browse all 2623

Trending Articles