Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define e = Character('Eileen', color="#c8ffc8")
- init python:
- def dynamicMenuManager(origin, target):
- global menuLimit
- menuLimit -= 1
- if menuLimit == 0:
- menuLimit = None
- renpy.jump(target)
- renpy.jump(origin)
- # The game starts here.
- label start:
- $ menuLimit = 0
- e "You've created a new Ren'Py game."
- $ menuLimit = 4 # Change the value to the number of choices you will have; it needs to be changed before every Dynamic Menu
- $ menuManager = renpy.curry(dynamicMenuManager)
- label dynamicMenu1: # You need to create a new label for every dynamic menu you have; not efficient but it gets the job done
- $ ui.timer(2.0, menuManager("dynamicMenu1", "tooSlow"))
- menu:
- "Option 1" if menuLimit >= 1:
- $ renpy.quit()
- "Option 2" if menuLimit >= 2:
- $ renpy.quit()
- "Option 3" if menuLimit >= 3:
- $ renpy.quit()
- "Option 4" if menuLimit >= 4:
- $ renpy.quit()
- label tooSlow:
- e "Once you add a story, pictures, and music, you can release it to the world!"
- return
Advertisement
Add Comment
Please, Sign In to add comment