Search found 25 matches

by Incendium
Sun Oct 24, 2010 1:26 pm
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 532
Views: 225153

Re: Ren'Py Gripes

Are you sure it is the exact same file name? Linux paths are case sensitive.
by Incendium
Wed Oct 20, 2010 6:34 pm
Forum: Ren'Py Questions and Announcements
Topic: [ SOLVED ] Comparing Strings in Python?
Replies: 4
Views: 1154

Re: Comparing Strings in Python?

Keep in mind that string comparisons are case-sensitive in Python, so if you want to match "JOHN" with something like "John" or "john", you will need to do something like this:

Code: Select all

if yourname.upper() == "JOHN":
    $ inteligence += 30
by Incendium
Fri Sep 24, 2010 3:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Movie function loop ?
Replies: 3
Views: 674

Re: Movie function loop ?

Have you tried using ATL? It might be possible to simulate a loop using Movie(), pause, and repeat.
by Incendium
Wed Sep 22, 2010 4:57 pm
Forum: General Discussion
Topic: General Website Optimization
Replies: 7
Views: 1152

Re: General Website Optimization

It's really hard to say without knowing the directory structure of the site(s), but you could try dropping a robots.txt file into the root directory which instructs (most) search spiders to ignore certain files. If you wanted it to ignore any XML files, you could possibly use something like this: Us...
by Incendium
Wed Sep 15, 2010 1:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Silly jEdit question involving long lines!
Replies: 2
Views: 375

Re: Silly jEdit question involving long lines!

Utilities Menu -> Buffer Options -> Set "Word wrap" to soft. You may need to adjust the "Wrap margin" in that dialog as well depending on how wide you usually have your editor.

It's not really that good of an implementation, but it's better than nothing.
by Incendium
Sun Aug 22, 2010 12:02 am
Forum: Ren'Py Questions and Announcements
Topic: Unable to add images
Replies: 12
Views: 1057

Re: Unable to add images

Have you tried it without the quotes? I am pretty sure you don't need them.
by Incendium
Thu Aug 19, 2010 10:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Work with net
Replies: 5
Views: 573

Re: Work with net

You're better off using a GUI framework (based on experience, wxPython translates fairly well with Ren'Py concepts, PyGTK probably does too). Using Ren'Py to do this sort of stuff is overkill and as LordShiranai mentioned, will still be fairly difficult. Also, Ren'Py won't fix any encoding issues yo...
by Incendium
Sun Aug 08, 2010 11:56 am
Forum: Ren'Py Questions and Announcements
Topic: Simple else/if question [SOLVED]
Replies: 7
Views: 769

Re: Simple else/if question

Checking for "relationshipBenjamin" checks to see if relationshipBenjamin is not False, and 0 == False.

Try this instead:

Code: Select all

"{color=#FF0000}Study with Benjamin{/color}" if minutes == 900 and relationshipBenjamin == 1:
That's what I get for replying with my cell phone right before I go to bed. <.<
by Incendium
Sun Aug 08, 2010 2:13 am
Forum: Ren'Py Questions and Announcements
Topic: Simple else/if question [SOLVED]
Replies: 7
Views: 769

Re: Simple else/if question

Try this:

Code: Select all

if minutes == 900 and relationshipBenjamin:
    "{color=#FF0000}Study with Benjamin{/color}"
by Incendium
Wed Aug 04, 2010 6:54 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to return to the start of a block?
Replies: 2
Views: 1197

Re: How to return to the start of a block?

It is certainly possible, but it requires use of a while statement, a control variable and careful attention to detail to make sure you don't get stuck in an infinite loop. Here is a simple example: label start: $ looping = True while looping: 'Ohnoes, we\'re stuck in an infinite loop!' menu: 'Do no...