So I've been trying to get this by myself for over a year and just can't figure it out. I really want to learn stat coding and calender coding because it's need for one of my games. I've seen many of the questions on here and even looked up things on wiki, but I just don't get. I went here http://lemmasoft.renai.us/forums/viewto ... 51&t=22393, and think this is the best way to begin, but I just don't know how to do it.
I can't figure out how to make events jump back and not repeat for example. Every time I play an event, it just goes tot he next scene. I also have no idea how to do the calender. The coding for that just doesn't make any sense.
Need Stat, Event, and Calender Coding 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.
- pocoscon
- Regular
- Posts: 159
- Joined: Sun Jul 20, 2014 12:14 am
- Projects: Black Lotus(Hitatus), Lethal Love,
- Contact:
Need Stat, Event, and Calender Coding Help
Black Lotus(A work in progress)- (BxB,Horror,Thriller,Fantasy) Tells the story of a boy who must save his home and friends from dangerous creatures known as the Tainted. http://lemmasoft.renai.us/forums/viewto ... 43&t=28588
Catching the Sun(A work in progress)- (GxG,Slice of Life,Friendship,Drama)
http://lemmasoft.renai.us/forums/viewto ... 43&t=29404
Catching the Sun(A work in progress)- (GxG,Slice of Life,Friendship,Drama)
http://lemmasoft.renai.us/forums/viewto ... 43&t=29404
- Samu-kun
- King of Moé
- Posts: 2262
- Joined: Mon Sep 03, 2007 3:49 pm
- Organization: Love in Space Inc
- Location: United States
- Contact:
Re: Need Stat and Calender Coding Help
Instead of jumping to the label, call the label. Then put return at the end of the story segment.
As for the calender, the code won't look clean, but it can be done with just the stuff in the renpy manual here and here
http://www.renpy.org/doc/html/screens.html
http://www.renpy.org/doc/html/screen_actions.html
For the full treatment, just download my demo and look through the .rpy files on Editra. (The code for the calendar is in calendar.rpy)
https://sekaiproject.com/SunriderAcademyDemo10.zip
As for the calender, the code won't look clean, but it can be done with just the stuff in the renpy manual here and here
http://www.renpy.org/doc/html/screens.html
http://www.renpy.org/doc/html/screen_actions.html
For the full treatment, just download my demo and look through the .rpy files on Editra. (The code for the calendar is in calendar.rpy)
https://sekaiproject.com/SunriderAcademyDemo10.zip
- Samu-kun
- King of Moé
- Posts: 2262
- Joined: Mon Sep 03, 2007 3:49 pm
- Organization: Love in Space Inc
- Location: United States
- Contact:
Re: Need Stat, Event, and Calender Coding Help
Nevermind, I forgot the calendar code in the demo was glitched. This is better.
https://gist.github.com/Samu-kun/fbe55ccb4641ed9ec756
https://gist.github.com/Samu-kun/fbe55ccb4641ed9ec756
- pocoscon
- Regular
- Posts: 159
- Joined: Sun Jul 20, 2014 12:14 am
- Projects: Black Lotus(Hitatus), Lethal Love,
- Contact:
Re: Need Stat, Event, and Calender Coding Help
Thank you so much =). I'll look over this will try to teach myself again. I'm really grateful for the helpSamu-kun wrote:Nevermind, I forgot the calendar code in the demo was glitched. This is better.
https://gist.github.com/Samu-kun/fbe55ccb4641ed9ec756
Black Lotus(A work in progress)- (BxB,Horror,Thriller,Fantasy) Tells the story of a boy who must save his home and friends from dangerous creatures known as the Tainted. http://lemmasoft.renai.us/forums/viewto ... 43&t=28588
Catching the Sun(A work in progress)- (GxG,Slice of Life,Friendship,Drama)
http://lemmasoft.renai.us/forums/viewto ... 43&t=29404
Catching the Sun(A work in progress)- (GxG,Slice of Life,Friendship,Drama)
http://lemmasoft.renai.us/forums/viewto ... 43&t=29404
Who is online
Users browsing this forum: No registered users