SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing > Editing Help

Reply
 
Thread Tools Search this Thread
Old 04-08-2017   #1
Yoshirocks90
The Cold-Loving Hedgehog
 
Yoshirocks90's Avatar
Default Title Screen Background Scrolling

Is there some way to make the title screen background (which I believe scrolls from left to right) to scroll backwards?
Yoshirocks90 is offline   Reply With Quote
Old 04-08-2017   #2
Sapheros
That guy that ports
 
Sapheros's Avatar
Default

You want to do a value in negative numbers, like this:
Code:
TITLESCROLLSPEED = -15
__________________
Hiyo all! Underground Website
Sapheros is offline   Reply With Quote
Old 04-08-2017   #3
Yoshirocks90
The Cold-Loving Hedgehog
 
Yoshirocks90's Avatar
Default

How do I use that?
Yoshirocks90 is offline   Reply With Quote
Old 04-08-2017   #4
RomioTheBadass
Right there, Criminal Scum!
 
RomioTheBadass's Avatar
Default

add it to your MAINCFG lump.
__________________
Quote:
He came in like a Wrecking ball.
RomioTheBadass is offline   Reply With Quote
Old 04-08-2017   #5
chi.miru
Developer
 
chi.miru's Avatar
Default

It looks like setting titlescrollspeed to a negative value- which you'd assume would reverse scrolling, crashes the game
Looking at f_finale.c, it doesn't look like the game supports this
__________________
=- SRB2 Projects Page -=
chi.miru is offline   Reply With Quote
Old 04-08-2017   #6
Sapheros
That guy that ports
 
Sapheros's Avatar
Default

Hold on, I'm terribly mistaken...

Quote:
Originally Posted by https://wiki.srb2.org/wiki/MainCfg
TitleScrollSpeed sets the speed at which to scroll the title screen rightwards. 1 speed is equal to 1/16 of a pixel per tic. To get a speed of 4 pixels per tic, multiply the desired number of pixels per tic by 16. This integer does not support negative values. In order to make the title screen scroll the opposite direction, multiply the width of the title screen by 16 and subtract your desired speed - this will make the title screen appear to be scrolling the other direction when it is actually just travelling ridiculously fast.
__________________
Hiyo all! Underground Website
Sapheros is offline   Reply With Quote
Old 04-08-2017   #7
Yoshirocks90
The Cold-Loving Hedgehog
 
Yoshirocks90's Avatar
Default

Thank you.
Yoshirocks90 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:38 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.