betterAutoscroll.lua

Share and discuss custom LunaLua code and content packs for SMBX2.
Davice
Goomba
Goomba
Posts: 3
Joined: Fri Oct 25, 2024 4:23 pm
Pronouns: he/him

betterAutoscroll.lua

Postby Davice » Wed Nov 06, 2024 7:47 pm



An alternative to the classic autoscroll.lua with various advantages:
- Smoother Scrolling
- Smooth Change of Speed and Direction
- Controlling Blocks you can place around in your Level to Control Scrolling according to your will

Known Issues:
- Currently works at one Section only
- Checkpoints doesn't work at this moment
(both issues will be fixed soon)

Download (Tutorial included):
Last edited by Davice on Tue Nov 12, 2024 4:37 pm, edited 2 times in total.

Pixelated_Perfection
Fighter Fly
Fighter Fly
Posts: 44
Joined: Fri Feb 25, 2022 1:23 pm
Pronouns: Any/All

Re: betterAutoscroll.lua

Postby Pixelated_Perfection » Fri Nov 08, 2024 1:01 pm

oh hell yeah

MarioChallengerX2
Dolphin
Dolphin
Posts: 87
Joined: Sat Dec 31, 2022 4:34 pm
Pronouns: he/him

Re: betterAutoscroll.lua

Postby MarioChallengerX2 » Sat Nov 16, 2024 3:52 pm

I just realized there's another problem with this library. Moving left makes Mario die for some reason.

Davice
Goomba
Goomba
Posts: 3
Joined: Fri Oct 25, 2024 4:23 pm
Pronouns: he/him

Re: betterAutoscroll.lua

Postby Davice » Thu Nov 21, 2024 10:50 am

MarioChallengerX2 wrote:
Sat Nov 16, 2024 3:52 pm
I just realized there's another problem with this library. Moving left makes Mario die for some reason.
This actually was my intention. I wanted to mimic the autoscroll of Super Mario 3d World where the player also dies when he goes offscreen. Removing the kill player function out of the script will remove this feature.

PasswordIncorrect
Blooper
Blooper
Posts: 188
Joined: Thu Jul 25, 2024 5:34 am
Flair: Frankly, my dear, I don't give a damn.
Pronouns: Mario

Re: betterAutoscroll.lua

Postby PasswordIncorrect » Thu Nov 21, 2024 12:48 pm

Davice wrote:
Wed Nov 06, 2024 7:47 pm


An alternative to the classic autoscroll.lua with various advantages:
- Smoother Scrolling
- Smooth Change of Speed and Direction
- Controlling Blocks you can place around in your Level to Control Scrolling according to your will

Known Issues:
- Currently works at one Section only
- Checkpoints doesn't work at this moment
(both issues will be fixed soon)

Download (Tutorial included):
Finnaly, i dont have to work with choppy autoscroll nor i have to code! Thank you very much, Davice!

Alucard648
Tweeter
Tweeter
Posts: 153
Joined: Sun Aug 16, 2015 3:45 am

Re: betterAutoscroll.lua

Postby Alucard648 » Mon Nov 25, 2024 3:45 am

Not useable at all until Multi-section and checkpoints support are done.

Dura785
Cheep-Cheep
Cheep-Cheep
Posts: 11
Joined: Thu Jan 02, 2025 5:16 pm
Pronouns: he/him

Re: betterAutoscroll.lua Error

Postby Dura785 » Sun Jan 05, 2025 9:12 pm

There is an error that betterSMWCamera.lua is missing
Image
You know what it is?

Ibaka
Tweeter
Tweeter
Posts: 157
Joined: Wed Apr 20, 2022 8:27 am
Flair: Nothing
Pronouns: he/him

Re: betterAutoscroll.lua

Postby Ibaka » Fri Jan 10, 2025 9:09 am

thats cool

Davice
Goomba
Goomba
Posts: 3
Joined: Fri Oct 25, 2024 4:23 pm
Pronouns: he/him

Re: betterAutoscroll.lua Error

Postby Davice » Sat Jan 11, 2025 6:48 pm

Dura785 wrote:
Sun Jan 05, 2025 9:12 pm
There is an error that betterSMWCamera.lua is missing
Image
You know what it is?
Oh thats just from the example level. In my episode I use a custom camera logic and I had to deactivate it for this specific level. Just go into the luna.lua of the level and remove every line of code which contains "betterSMWCamera" :)


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari