Search found 17 matches

by rockets
Wed Mar 16, 2016 5:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Word finding using lists of lines? [SOLVED]
Replies: 4
Views: 610

Re: Word finding using lists of lines?

Thanks! What if I have several lines containing the same query? Will it return the same one every time? Is it possible to create a list of all matches in the file?
by rockets
Wed Mar 16, 2016 12:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Word finding using lists of lines? [SOLVED]
Replies: 4
Views: 610

Word finding using lists of lines? [SOLVED]

I'm sorry, this is a really confusing question. But I want to implement a feature in my game where you can type in a word, and the game will reply with a random sentence containing that word, if that word has been used in any of the dialogue files, rather like a grep function, but within the user in...
by rockets
Sat Apr 18, 2015 8:45 am
Forum: Ren'Py Questions and Announcements
Topic: Reading randomized dialogue from file [SOLVED]
Replies: 22
Views: 5743

Re: Reading randomized dialogue from file [SOLVED]

edit: thanks, philat! You want to write init python: def getYourData(): yourData = "questions.csv" yourData = renpy.file(yourData).read().decode("utf-8") yourData = yourData.split("\n") return yourData $ linesToSay = getYourData() $ justOneLineToSay = renpy.random.choic...
by rockets
Fri Apr 17, 2015 5:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Arrays of images?
Replies: 1
Views: 705

Arrays of images?

I'm trying to get one of my scenes to show a random background image from my already-defined background images. I attempted to use a list to achieve this, but it doesn't seem to be working. This is the current code I have: image bg hall = "hall.jpg" image bg room = "room.jpg" ima...
by rockets
Fri Apr 17, 2015 10:33 am
Forum: Ren'Py Questions and Announcements
Topic: Incredibly simple character customization question
Replies: 4
Views: 698

Re: Incredibly simple character customization question

That solved the problem! Thank you so much!
by rockets
Fri Apr 17, 2015 10:17 am
Forum: General Discussion
Topic: Non-Binary?
Replies: 72
Views: 11529

Re: Non-Binary?

it makes me happy to see fellow nonbinary gamemakers here! facts about me and the gender and the whatnot: i'm a somewhat dudely pangender person, and hope to move to europe so i can take hormones that aren't allowed in the country i live in. i respond to nearly every pronoun, but like just being ref...
by rockets
Thu Apr 16, 2015 8:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Incredibly simple character customization question
Replies: 4
Views: 698

Re: Incredibly simple character customization question

Thank you! I used ConditionSwitch() as described in the post, but I still get this error: I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 42, in script image you = ConditionSwitch( File "game/script.rpy", line 46, in <module> &...
by rockets
Thu Apr 16, 2015 7:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Incredibly simple character customization question
Replies: 4
Views: 698

Incredibly simple character customization question

I'm trying to implement an extremely simplistic form of character customization in my game, where you answer two yes/no questions and that determines your character spriteset. Unfortunately, I have no idea how to do this. Most of the character customization tutorials I've read go far too complex for...
by rockets
Wed Apr 15, 2015 8:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Reading randomized dialogue from file [SOLVED]
Replies: 22
Views: 5743

Re: Reading randomized dialogue from file

thank you so so so much it works like a dream! <3
by rockets
Wed Apr 15, 2015 7:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Reading randomized dialogue from file [SOLVED]
Replies: 22
Views: 5743

Re: Reading randomized dialogue from file

While running game code: File "game/script.rpy", line 53, in script $ linesToSay = getYourData(harriet.txt) File "game/script.rpy", line 53, in <module> $ linesToSay = getYourData(harriet.txt) NameError: name 'harriet' is not defined -- Full Traceback ---------------------------...
by rockets
Wed Apr 15, 2015 6:09 pm
Forum: Asset Creation: Art
Topic: Art Dumpage! Show your art ^^
Replies: 7876
Views: 1080645

Re: Art Dumpage! Show your art ^^

Image
Nearly everything I draw is fanart for this ridiculously obscure webcomic. Gee whiz, everyone is so good at art here!!
by rockets
Wed Apr 15, 2015 6:04 pm
Forum: Creator Discussion
Topic: HELP! :-)
Replies: 14
Views: 1881

Re: HELP! :-)

You could always pull a Daggerfall and make all of the endings canon through weird time shenanigans :^)
This would necessitate having completely different characters in between games and probably some manner of time-skip.
by rockets
Wed Apr 15, 2015 6:01 pm
Forum: We are a Free Project looking for Partners
Topic: Looking for Artists and possibly a Writer
Replies: 10
Views: 1870

Re: Looking for Artists and possibly a Writer

a sample of my art style can be found here. please let me know if that's the kind of drawing you'd like!
by rockets
Wed Apr 15, 2015 5:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Reading randomized dialogue from file [SOLVED]
Replies: 22
Views: 5743

Re: Reading randomized dialogue from file

errors.txt I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again. File "game/script.rpy", line 15: expected statement. def getYourData(): ^ Ren'Py Version: Ren'Py 6.99.1.329 Additionally, would it be possible to write code such as def get...