Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
I searching how to do an animated logo on my main menu, i wanna use some transformations, but doesnt works. any help is welcome. i tried to use this code as exmaple
screen main_menu:
tag menu # This ensures that any other menu screen is replaced
window:
xpadding 0
ypadding 0
add "mylogo"
image mylogo:
"gui/main_logo.png"
xanchor 0.5
yanchor 0.5
rotate 0
linear 50.0 rotate 360
repeat
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/screens.rpy", line 36: expected a keyword argument or child statement.
"gui/main_logo.png"
^
Ren'Py Version: Ren'Py 6.99.11.1749
screen main_menu:
tag menu # This ensures that any other menu screen is replaced
window:
xpadding 0
ypadding 0
add "mylogo"
image mylogo = "gui/main_logo.png":
xanchor 0.5
yanchor 0.5
rotate 0
linear 50.0 rotate 360
repeat
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
[code]
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/screens.rpy", line 34: expected a keyword argument, colon, or end of line.
image mylogo = "gui/main_logo.png":
^
Ren'Py Version: Ren'Py 6.99.11.1749
image mylogo:
"gui/main_logo.png"
xanchor 0.5
yanchor 0.5
rotate 0
linear 50.0 rotate 360
repeat
screen main_menu:
tag menu # This ensures that any other menu screen is replaced
window:
xpadding 0
ypadding 0
add "mylogo"
Completed: Metropolitan Blues, The Loyal Kinsman, Daemonophilia, The Dreaming, The Thirteenth Year, Adrift, Bionic Heart 2, Secrets of the Wolf, The Photographer
Projects: The Pilgrim's Path, Elspeth's Garden, Secret Adventure Game!
image mylogo:
"gui/main_logo.png"
xanchor 0.5
yanchor 0.5
rotate 0
linear 50.0 rotate 360
repeat
screen main_menu:
tag menu # This ensures that any other menu screen is replaced
add "mylogo"
I was searching to do a small animation with addtive and zoom, the final code is.