Search found 5 matches

by Shintaro
Tue Oct 02, 2007 1:37 am
Forum: Ren'Py Questions and Announcements
Topic: Writing to and reading from text files
Replies: 7
Views: 4233

Writing to and reading from text files

Hi, Want to read and write text to files - nothing to do with saving a game. I found the following info in Renpy help somewhere, but it doesn't work: $ secret_message = renpy.file("secret_message.txt").read() "The secret message is: %(secret_message)s" I used the above example ex...
by Shintaro
Thu Aug 23, 2007 1:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Can Ren'py read the PC's time?...
Replies: 14
Views: 5200

Re: Can Ren'py read the PC's time?...

Hi Rocket,

methinks you thinks correctly,

tis a process to go thru

at least I know who invented the word 'grok' - and the connection with Starship Troopers is ...
(okay pretty easy)


forgive my lack of grok


and thanks for the answer PyTom
by Shintaro
Thu Aug 23, 2007 2:28 am
Forum: Ren'Py Questions and Announcements
Topic: Can Ren'py read the PC's time?...
Replies: 14
Views: 5200

Re: Can Ren'py read the PC's time?...

Sorry I didn't make myself clear. The example I gave was just that ... an example of the type of thing I would like to know how to do. Basically how do I take the month day variable, for example and capture that as a filename and then how do I open up a text file in renpy using that filename and use...
by Shintaro
Wed Aug 22, 2007 9:44 pm
Forum: Ren'Py Questions and Announcements
Topic: Can Ren'py read the PC's time?...
Replies: 14
Views: 5200

Re: Can Ren'py read the PC's time?...

Hi, I'm still finding my way around this language and would like to know how to do the following. Taking the example given by PyTom init: $ import time $ year, month, day, hour, minute, second, dow, doy, dst = time.localtime() What I want to do next would be to import text from a text file that had ...
by Shintaro
Thu Aug 16, 2007 11:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Hard to believe but why can't I do maths?
Replies: 7
Views: 1565

Hard to believe but why can't I do maths?

Hi Everyone, New here and been reading up on the engine, even made a story etc so far very impressed with engine and want to do more with it. But I want to do a simple bit of maths ... and I haven't found out how to do the following (done lots of searching etc) and I can make characters bounce and p...