Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Sat May 18, 2013 3:25 am

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Mon Apr 02, 2012 8:04 am 
Newbie

Joined: Fri Mar 30, 2012 8:24 pm
Posts: 12
Just like the title says.

I want the chapter name and the total elapsed time to be displayed in the game menu entered from the game.

How do I do this?


Top
 Profile Send private message  
 
PostPosted: Wed Apr 04, 2012 5:29 pm 
Newbie

Joined: Fri Mar 30, 2012 8:24 pm
Posts: 12
Anyone?


Top
 Profile Send private message  
 
PostPosted: Wed Apr 04, 2012 9:51 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10766
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
This is a little non-specific, since we don't know how you want to display things. But you can call renpy.get_game_runtime() to get the amount of time the game has been running, in seconds.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Thu Apr 05, 2012 9:36 am 
Newbie

Joined: Fri Mar 30, 2012 8:24 pm
Posts: 12
PyTom wrote:
This is a little non-specific, since we don't know how you want to display things. But you can call renpy.get_game_runtime() to get the amount of time the game has been running, in seconds.


Thanks for the reply. I do know about 'renpy.get_game_runtime()' but I don't know how to display that in the game menu, just like displaying the chapter name in the bottom of the game menu.

I've seen some VN's having this, can't exactly remember the names but I do know Katawa Shoujo has this, too.


Top
 Profile Send private message  
 
PostPosted: Thu Apr 05, 2012 1:09 pm 
Eileen-Class Veteran
User avatar

Joined: Sun Mar 25, 2012 6:35 pm
Posts: 1054
Location: [DATA REDACTED]
Completed: My Beautiful AI (GUI), Death Rule: Fear Complex, Amity: One Tale
Projects: Amity: White Package Edition, Death Rule:lost code, Aeternam Conquest: Dual-Chain Rhapsody
Organization: MESI Games (Team Repeated Fear, Team Dead Samurai)
Depends on how you want to do it. To display a chapter namebwith just text, just type the name of the chapter at the start of each one. To do something like KS, just make images that have the title name (Ill update this post with an example later)

_________________
ImageImage
MESI Games/Personal Twitter/Death Rule: lost code Demo
Hijiri's Law: There will always be a body count.


Top
 Profile Send private message  
 
PostPosted: Thu Apr 05, 2012 6:18 pm 
Newbie

Joined: Fri Mar 30, 2012 8:24 pm
Posts: 12
Hijiri wrote:
Depends on how you want to do it. To display a chapter namebwith just text, just type the name of the chapter at the start of each one. To do something like KS, just make images that have the title name (Ill update this post with an example later)


Thanks, will wait for the example.

_________________
Amateur web and game coder/scripter
Amateur writer
Hardcore gamer
Video editor
Music producer


Top
 Profile Send private message  
 
PostPosted: Thu Apr 12, 2012 3:47 am 
Newbie

Joined: Fri Mar 30, 2012 8:24 pm
Posts: 12
No one, yet?

_________________
Amateur web and game coder/scripter
Amateur writer
Hardcore gamer
Video editor
Music producer


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: AERenoir, RheaAhri


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group