Search found 612 matches

by wyverngem
Mon Feb 18, 2019 3:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Setting up a profanity filter for names?
Replies: 9
Views: 882

Re: Setting up a profanity filter for names?

I feel silly, I forgot to return the input variable, but I ended up changing it a little so I understood the variables. Thanks Remix! init python: import re def filter_bad_words(userinput, replace_with="unicorn"): approved_name_list = ['Hope', 'Michelle', 'Rochelle'] if userinput in approved_name_li...
by wyverngem
Mon Feb 18, 2019 3:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Setting up a profanity filter for names?
Replies: 9
Views: 882

Re: Setting up a profanity filter for names?

Okay, so not quite, since I tried it and some filtered words got through. I was thinking more along the lines of this, but I keep getting an error. init python: import re def filter_bad_words(input, replace_with="unicorn"): approved_name_list = ['Hope', 'Michelle', 'Rochelle'] if input != None: if i...
by wyverngem
Mon Feb 18, 2019 2:46 am
Forum: Ren'Py Questions and Announcements
Topic: Setting up a profanity filter for names?
Replies: 9
Views: 882

Re: Setting up a profanity filter for names?

One small issue, is there a way to define built in names for this? I can't name the main character "Hope" or "Michelle" "Rochelle" without it flagging a part of it as inappropriate.
by wyverngem
Sun Feb 17, 2019 8:21 pm
Forum: Ren'Py Questions and Announcements
Topic: preferences.mouse_move Error
Replies: 2
Views: 125

Re: preferences.mouse_move Error

Ah, I didn't understand what preferences namespace was. Though I enable and disable and don't recognize any real changes. Was trying to make it so that mouse automatically went to the choice buttons. Might not even be this.
by wyverngem
Sun Feb 17, 2019 4:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Confirm prompt within label
Replies: 2
Views: 138

Confirm prompt within label

How to I translate Confirm("You want to be called [name]?", Return(), no=Jump("nameher"), confirm_selected=False) into something that can be used within a label and outside of a screen?
by wyverngem
Sat Feb 16, 2019 3:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Show Images in History What Text [SOLVED]
Replies: 6
Views: 404

Show Images in History What Text [SOLVED]

In the History menu how would I allow the image tag to be kept?

----
Answer

Code: Select all

define gui.history_allow_tags = set('b','u','i','color','image')
by wyverngem
Sat Feb 16, 2019 11:51 am
Forum: Ren'Py Questions and Announcements
Topic: Screen warning beginning in the game
Replies: 3
Views: 185

Re: Screen warning beginning in the game

You don't have to apologize. We were all new once.
by wyverngem
Sat Feb 16, 2019 11:45 am
Forum: Asset Creation: Art
Topic: How to GUI in renpy
Replies: 2
Views: 970

Re: How to GUI in renpy

Brush up on your screen language through the documentation, it should help you get started on how to set up the screen. It's really easy to do. The placeholder images that the GUI generates are in the GUI folder and can be used as a template for your GUI elements. However, you can always customize y...
by wyverngem
Sat Feb 16, 2019 10:59 am
Forum: Ren'Py Questions and Announcements
Topic: Card game
Replies: 4
Views: 255

Re: Card game

That's very vague. Most card games require knowing Python and having knowledge of screens and how renpy works with it. To be honest if you know what you want you may be able to commission someone, but card games are a lot of work. Trust me, my second game was Blackjack without any python it, and it ...
by wyverngem
Sat Feb 16, 2019 10:26 am
Forum: Ren'Py Questions and Announcements
Topic: Screen warning beginning in the game
Replies: 3
Views: 185

Re: Screen warning beginning in the game

Use the splashscreen label.

Code: Select all

label splashscreen: # Shows after load of game.
    call screen my_screen
    return

label start:
    #"Game starts here."
by wyverngem
Sat Feb 16, 2019 12:45 am
Forum: Ren'Py Questions and Announcements
Topic: preferences.mouse_move Error
Replies: 2
Views: 125

preferences.mouse_move Error

So I place "define preferences.mouse_move = True" in my options.rpy and I keep getting this error. I've tried putting it in a init block too. Any ideas what's going on? I'm sorry, but an uncaught exception occurred. While running game code: File "game/options.rpy", line 44, in script define preferen...
by wyverngem
Wed Feb 13, 2019 5:22 pm
Forum: Ren'Py Questions and Announcements
Topic: CG Gallery using code?
Replies: 5
Views: 250

Re: CG Gallery using code?

The error is in line three. You need to add ] at the end.

Code: Select all

action [ShowMenu("gallery_navigation"), Show("gallery")]
by wyverngem
Wed Feb 13, 2019 5:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Click to interact scenes
Replies: 4
Views: 214

Re: Click to interact scenes

This might help you get started, but yes it's very possible with screen language. screen investigate: modal True #Prevents player from interacting with things underneath it. textbutton "Door": action Jump("door") xalign 0.5 yalign 0.5 textbutton "Window": action Show("investigate_window") textbutton...
by wyverngem
Wed Feb 13, 2019 2:26 am
Forum: Ren'Py Questions and Announcements
Topic: Setting up a profanity filter for names?
Replies: 9
Views: 882

Re: Setting up a profanity filter for names?

Remix wrote:
Tue Feb 12, 2019 11:20 am
You don't really need to use a class, a simple function return should do... maybe:

Perfect, thanks so much!
by wyverngem
Mon Feb 11, 2019 10:54 pm
Forum: Ren'Py Questions and Announcements
Topic: NameError (Please Help!!)
Replies: 2
Views: 154

Re: NameError (Please Help!!)

You need to put quotes around your names. Otherwise it's looking for variables.

Code: Select all

if player == "Grant":
    "An interesting conscience."
    jump name_easter_egg_end