- Jan 7, 2019
- 113
- 219
Google translator
Good day.
I needed your help with the implementation of several functions.
I have now made the introduction to my game so far. But only with renpy basics.
In the further course I need on the one hand a day system, quest system, menus and queries.
I can do this with my basic knowledge, but then it's very static and excessively long.
I've already found something on the subject of the Tag System and Quest. However, I have problems with creating my own functions.
I would like to pack my renpy menus into functions with variables so that I don't always have to create hundreds of menus.
Especially when there are innovations during an update, I have to constantly adjust everything individually.
My train of thought now looked like this.
Of course, python doesn't make it that easy for me.
How would something like that look like when implemented correctly?
Good day.
I needed your help with the implementation of several functions.
I have now made the introduction to my game so far. But only with renpy basics.
In the further course I need on the one hand a day system, quest system, menus and queries.
I can do this with my basic knowledge, but then it's very static and excessively long.
I've already found something on the subject of the Tag System and Quest. However, I have problems with creating my own functions.
I would like to pack my renpy menus into functions with variables so that I don't always have to create hundreds of menus.
Especially when there are innovations during an update, I have to constantly adjust everything individually.
My train of thought now looked like this.
Python:
init:
$ aa = "text"
$ bb = "text"
$ cc = "text"
$ dd = "text"
init python:
def menue():
if xy = True
menu:
"[aa]":
"yy"
jump 1 # Mit Variable?
"[bb]":
"zz"
jump 2 # Mit Variable?
else:
menu:
"[cc]":
"xx"
jump 3
"[dd]":
"yy"
jump 4
label start:
$ Menu = menue()
How would something like that look like when implemented correctly?