Search found 38 matches

by RangerDanger
Thu Feb 05, 2015 1:30 am
Forum: Ren'Py Questions and Announcements
Topic: What's the correct syntax for this?
Replies: 3
Views: 407

Re: What's the correct syntax for this?

-----------------------------------------
by RangerDanger
Wed Jul 10, 2013 10:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Help with Animated Menus?
Replies: 4
Views: 620

Re: Help with Animated Menus?

Try removing the screen main_menu: that is currently above your transforms. I think that will solve your problem.
by RangerDanger
Tue Jul 09, 2013 9:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Persistent Data not saving after game closes[solved]
Replies: 6
Views: 723

Re: Persistent Data not saving after game closes

Actually you don't need to initialize persistent variables at all. If the variable is not defined the persistent object always returns a False value. This isn't totally true. If a persistent value is not defined it would be None, not False. You can test this with this simple script label start: if ...
by RangerDanger
Tue Jul 09, 2013 10:50 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How can I delete saved games?
Replies: 9
Views: 6274

Re: [SOLVED] How can I delete saved games?

Even though it's said to be solved, I don't see real answer here, so I'll give out what I know. As for the saves you already made, check here: C:\Documents and Settings\Admin\Application Data\RenPy . Delete the files there then you're done. I think the directory for other platforms are: Mac OS X: ~...
by RangerDanger
Tue Jul 02, 2013 10:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem using a dictionary [SOLVED]
Replies: 3
Views: 1032

Re: Problem using a dictionary

dict is a reserved word in python that refers to the python dictionary type.

So code like:

Code: Select all

dict[key]

will throw an exception.

You'll need to change line 350 so that you are looking up the key in a dictionary object, like kana_list.
by RangerDanger
Tue Jun 25, 2013 7:40 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Flags and If Statement Issues
Replies: 16
Views: 1597

Re: [Help!] Flags and If Statement Issues

Try to either put them under an init block like this init: $ variable = True Or declare them at the beginning of label start o.o OMG thank you! It worked! I'm not getting that error trace back anymore~ But, I now have another issue...after I put them under an init block, what about the 'If' Stateme...
by RangerDanger
Wed May 08, 2013 10:46 am
Forum: Ren'Py Questions and Announcements
Topic: Making Conditional Texbuttons
Replies: 2
Views: 446

Re: Making Conditional Texbuttons

You would just put the textbutton statements inside and if block

Code: Select all

if some_boolean_expression:
    textbutton "Page 1" action SetScreenVariable("journal_entry", "page_1")
by RangerDanger
Fri Apr 12, 2013 1:03 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved]Show Money, AP at Imagemap(Custom menu)
Replies: 10
Views: 848

Re: Show Money, AP at Imagemap(Custom menu)

Could you post your entire screens.rpy file?

Given that, we could probably be able to give you more accurate suggestions.
by RangerDanger
Thu Apr 11, 2013 8:55 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Removing unreachable <Some Object>... on game exit
Replies: 2
Views: 437

Re: Removing unreachable <Some Object>... on game exit

This isn't a problem - it's just some debug output from the save/load system. You can safely ignore it. It's a print that happens if you do: init python: class MyObject(object): pass python: a = MyObject() a.foo = 1 a = None That is, an object gets a change that puts it into the rollback log, but n...
by RangerDanger
Thu Apr 11, 2013 9:28 am
Forum: Ren'Py Questions and Announcements
Topic: A different name window(solved)
Replies: 5
Views: 793

Re: A different name window

I believe that you can pass various "say" styles (styles relating to the dialogue, including the say_window) to the Character() function using various keyword arguments. This page from the documentation will probably be very helpful to you. Scroll down to just above the "Example" section for the rel...
by RangerDanger
Thu Apr 11, 2013 12:52 am
Forum: Ren'Py Questions and Announcements
Topic: [solved]Player name as Charakter name
Replies: 2
Views: 294

Re: Player name as Charakter name

You simply would need to pass the string object that is returned from renpy.intput() to the Character() function, like so:

Code: Select all

$ player_name = renpy.input("Enter name: ").strip()

$ p = Character(player_name, color="#FFFFFF")

p "I can now say things!"
by RangerDanger
Wed Apr 10, 2013 5:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Textbox help!
Replies: 7
Views: 720

Re: Textbox help!

The link in the post above has some extremely helpful info. If you are a bit more specific with what you are having trouble with, we can provide some better advice.
by RangerDanger
Wed Apr 10, 2013 5:40 pm
Forum: Ren'Py Questions and Announcements
Topic: RPG Frame
Replies: 4
Views: 609

Re: RPG Frame

Are you looking for something like this? http://lemmasoft.renai.us/forums/viewto ... 51&t=19245
by RangerDanger
Wed Apr 10, 2013 5:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Make a function
Replies: 4
Views: 528

Re: Make a function

I believe that you will find the information on this page very helpful.

http://www.renpy.org/doc/html/statement ... lents.html