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

Help and Support • Re: Setting up autoscroll to work in a specific section

$
0
0
onEvent runs upon any event being activated, which includes the automatic basegame event that triggers at the start of a level. you're probably looking for this:

Code:

function onEvent(e)    if(e == "scroll") then        autoscroll.scrollRight(1, nil, 4)    endend

Statistics: Posted by deice — Tue Jul 30, 2024 7:01 am



Viewing all articles
Browse latest Browse all 2655

Trending Articles