Sliding Text?
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Sliding Text?
Is their a way to get some text sliding/scroll across the bottom of my main menu? like what news channels have with the top stories sliding across?
- Scribbles
- Miko-Class Veteran
- Posts: 636
- Joined: Wed Sep 21, 2016 4:15 pm
- Completed: Pinewood Island, As We Know It
- Projects: In Blood
- Organization: Jaime Scribbles Games
- Deviantart: breakfastdoodles
- itch: scribbles
- Location: Ohio
- Contact:
Re: Sliding Text?
yes, with ATL/transform language I believe. can you be more specific as to what you're wanting it to say/look like?
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Sliding Text?
Sounds like you want a 'tickertape'
As Scribbles notes, you can do this using ATL. But exactly how you implement it depends on what you're after.
As Scribbles notes, you can do this using ATL. But exactly how you implement it depends on what you're after.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: Sliding Text?
I basically just want people who are backing the game's name to scroll across the bottom with a slightly dark transparent background.
Re: Sliding Text?
Try something along the lines of:
Replacing:
with a list of your supporters:
and etc.
You can just add:
to the main_menu screen instead of calling.
This also assumes at least one full screen of supporters, otherwise you can just repeat names a couple of times.
Code: Select all
default patrons = range(100)
transform my_scroll():
subpixel True
xpan -180
linear 60.0 xpan 180
repeat
screen patrons():
frame:
background Frame(Solid("#00000011"))
yalign .9
at my_scroll()
has hbox spacing 5
for p in patrons:
text str(p) yalign .5
label start:
call screen patrons
"All Done!"
Code: Select all
default patrons = range(100)
Code: Select all
default patrons = ["Jake", "Funny Guy"]
You can just add:
Code: Select all
use patrons
This also assumes at least one full screen of supporters, otherwise you can just repeat names a couple of times.
Who is online
Users browsing this forum: Majestic-12 [Bot]