I will ask you a question but
I can't speak english very well. I'm sorry
You understanding please
This is nvl menu that I made.
but I want to make something like this.
must be modified which part of my nvl code?
i attached my project & code
Code: Select all
image pini smile = "pini_smile.png"
image bg = im.Scale("classroom1.png", 1280, 720)
define pini = Character('Pini', color="#c8ffc8")
define narrator = Character(None, kind=nvl)
# NVL set-up
init python:
menu = nvl_menu
# The color of a menu choice when it isn't hovered.
style.nvl_menu_choice.idle_color = "#ccccccff"
# The color of a menu choice when it is hovered.
style.nvl_menu_choice.hover_color = "#ffffffff"
# The color of the background of a menu choice, when it isn't
# hovered.
style.nvl_menu_choice_button.idle_background = im.Scale("unselect.png", 1088, 70)
# The color of the background of a menu choice, when it is
# hovered.
style.nvl_menu_choice_button.hover_background = im.Scale("select.png", 1088, 70)
# How far from the left menu choices should be indented.
style.nvl_menu_choice_button.left_margin = 20
# Set the background of the NVL window; this image should be the
# same size as the screen.
style.nvl_window.background = "largeTextArea.png"
# Add some additional padding around the contents of the NVL window.
# This keeps the text inside the borders of our image.
style.nvl_window.xpadding = 55
style.nvl_window.ypadding = 55
config.empty_window = nvl_show_core
config.window_hide_transition = dissolve
config.window_show_transition = dissolve
# game start
label start:
scene bg
show pini smile
pini "You've created a new Ren'Py game."
pini "Once you add a story, pictures, and music, you can release it to the world!"
hide pini smile
menu:
"nvl menus...
\nblah blah blah blah
\nblah blah blah blah
\nblah blah blah........
\nchoose!"
"choose1":
$ chose = 1
"choose2":
$ chose = 2
"choose3":
$ chose = 3
show pini smile
pini "you're choose [chose] !!!"
return