How exactly we use DSE? I have download it..help
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.
How exactly we use DSE? I have download it..help
i know it has its own tutorial..
but i dont understand..
do we need to copy paste all the folder of DSE to renpy folder?
or just paste the scripts on our game script?
day planner, event, stats, what is that really?
can someone post a code for example of how the script works?
as for time now, i already know this kind of code:
menu:
"Bake some chocolate cheese cakes":
jump cake
"Cook yummy Turkey.":
jump ayam
label cake:
"Ting~ That sound of my cake finished baked."
"Quickly I'm open the oven and tadaa...the smell of chocolate cheese cakes really can makes me feel happy, weird isn't..?."
show cake
with dissolve
"Zoey" "Honey! dinner is ready."
"Leon" "Bring it here darling."
"Leon is fixing the telephone so i bring the cakes to him."
"I give Leon 1 slice of the cakes, and 1 slice for me."
"We only eat a slice, cant eat more..feel like something wrong.."
"Leon" "Its delicious.."
"Zoey" "True, do you want another slice?"
ya, i know how to start a simple kinetik novel... but i want to know what the coding to make a stat rising kind novel...someone show me the coding (one coding example of stat rising game with one made up story) and teach me plsss
sorry for retard english.
Statistics Framework (stats.rpy)
The statistics framework represents statistics as variables that store the value of the statistics. The variables are registered using the register_stat function. They can be updated using normal python operations, but the normalize_stats function should be called to ensure that stats remain between their max and minimum values. The display_stats function displays the statistics on the screen.
Function: register_stat (name, var, default, max):
This should be called from init code to declare a stat.
name - The name of the stat, used to caption it when the stat is displayed.
var - A string containing the name of the variable that contains the stat.
default - The default value that the statistic c
max - The maximum value the stat can take on.
Function: normalize_stats ():
This should be called after one or more stats have been updated. It ensures that each stat has a value that is between 0 and the maximum value defined for that stat.
Function: display_stats (name=True, bar=True, value=True, max=True):
Displays a window containing all the stats, in the order registered. The name, bar, value, and max parameters control the display of the corresponding portions of the statistics.
so how we put this into coding?
but i dont understand..
do we need to copy paste all the folder of DSE to renpy folder?
or just paste the scripts on our game script?
day planner, event, stats, what is that really?
can someone post a code for example of how the script works?
as for time now, i already know this kind of code:
menu:
"Bake some chocolate cheese cakes":
jump cake
"Cook yummy Turkey.":
jump ayam
label cake:
"Ting~ That sound of my cake finished baked."
"Quickly I'm open the oven and tadaa...the smell of chocolate cheese cakes really can makes me feel happy, weird isn't..?."
show cake
with dissolve
"Zoey" "Honey! dinner is ready."
"Leon" "Bring it here darling."
"Leon is fixing the telephone so i bring the cakes to him."
"I give Leon 1 slice of the cakes, and 1 slice for me."
"We only eat a slice, cant eat more..feel like something wrong.."
"Leon" "Its delicious.."
"Zoey" "True, do you want another slice?"
ya, i know how to start a simple kinetik novel... but i want to know what the coding to make a stat rising kind novel...someone show me the coding (one coding example of stat rising game with one made up story) and teach me plsss
sorry for retard english.
Statistics Framework (stats.rpy)
The statistics framework represents statistics as variables that store the value of the statistics. The variables are registered using the register_stat function. They can be updated using normal python operations, but the normalize_stats function should be called to ensure that stats remain between their max and minimum values. The display_stats function displays the statistics on the screen.
Function: register_stat (name, var, default, max):
This should be called from init code to declare a stat.
name - The name of the stat, used to caption it when the stat is displayed.
var - A string containing the name of the variable that contains the stat.
default - The default value that the statistic c
max - The maximum value the stat can take on.
Function: normalize_stats ():
This should be called after one or more stats have been updated. It ensures that each stat has a value that is between 0 and the maximum value defined for that stat.
Function: display_stats (name=True, bar=True, value=True, max=True):
Displays a window containing all the stats, in the order registered. The name, bar, value, and max parameters control the display of the corresponding portions of the statistics.
so how we put this into coding?
- TakeOverWorld
- Regular
- Posts: 112
- Joined: Fri May 27, 2011 11:00 am
- Location: London, UK
- Contact:
Re: How exactly we use DSE? I have download it..help
I think so, then open it up and edit the script there.do we need to copy paste all the folder of DSE to renpy folder?
I'm guessing you would do something like thisFunction: register_stat (name, var, default, max):
This should be called from init code to declare a stat.
name - The name of the stat, used to caption it when the stat is displayed.
var - A string containing the name of the variable that contains the stat.
default - The default value that the statistic c
max - The maximum value the stat can take on.
Code: Select all
register_stat ('Strength', $ strength, 0, 100)Re: How exactly we use DSE? I have download it..help
full example of full made up stat rising code pls?
- Aleema
- Lemma-Class Veteran
- Posts: 2677
- Joined: Fri May 23, 2008 2:11 pm
- Organization: happyB
- Tumblr: happybackwards
- Contact:
Re: How exactly we use DSE? I have download it..help
That's a lot to ask someone, considering the DSE is free to download and has extensive documentation already.xelacroix wrote:full example of full made up stat rising code pls?
If the DSE is just out of your league, then you should get warmed up with the Ren'Py language first by learning to program other things. Come back to the DSE later and maybe it will make more sense. Or recruit a coder in the Recruitment section.
- Rewritten Ennui
- Veteran
- Posts: 279
- Joined: Thu Jul 14, 2011 1:50 pm
- Organization: TwinTurtle Games
- Contact:
Re: How exactly we use DSE? I have download it..help
I could have been the one to ask this question a while back, but I figured it out by my owndo we need to copy paste all the folder of DSE to renpy folder?
or just paste the scripts on our game script?
I've swapped accounts to CheeryMoya, so this account is no longer in use. Refer to the new account if you want to contact me.
Twinturtle Games Website
Twinturtle Games Website
Re: How exactly we use DSE? I have download it..help
oh paste there..i didnt know its a renpy game without pictures
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], _ticlock_

