I'm trying to achieve a chatroom-like effect in my game. Using NVL mode it's not hard to replicate the effect, but I'd love to be able to have a column for timestamps, which I could define for each line of dialogue.
Think the top line here, but with an additional column on the far right (just like "Sylvie"'s column) with a timestamp in it:
http://www.renpy.org/w/images/c/c3/nvl-looks.jpg
Adding timestamps
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.
-
- Regular
- Posts: 88
- Joined: Tue Apr 03, 2012 9:17 am
- Projects: Dandelion
- Organization: Cheritz
- Location: Seoul, South Korea
- Contact:
Re: Adding timestamps
You can use the datetime python module to make timestamps.
Code: Select all
python:
import datetime
timestamp = datetime.datetime.now()
Who is online
Users browsing this forum: No registered users