Search found 3655 matches

by trooper6
Fri Jul 26, 2013 7:12 pm
Forum: Asset Creation: Writing
Topic: Perfect recipe for a sympathetic immoral main character?
Replies: 18
Views: 3396

Re: Perfect recipe for a sympathetic immoral main character?

Oh I just wanted to add, that I don't think of entertainment as being on the lighter end of the spectrum either. I think entertaining art is some of the hardest art to make. Comedy is really, really hard to do well. And entertainment can be dark, dark, dark. Entertainment is some of my favorite art....
by trooper6
Fri Jul 26, 2013 7:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Customizing Menu Code, was ApricotOrange on Menu Choices
Replies: 9
Views: 1180

Re: Customizing Menu Code, was ApricotOrange on Menu Choices

Wait a minute...you might be blowing my mind right now. I'm talking about this line of code your wrote right here: $item['vorpal_sword'].cost You can do that? I was taught Java in college, and I was told I had to make get and set methods for all of my variables when I make a class. You can just go $...
by trooper6
Fri Jul 26, 2013 4:22 pm
Forum: Asset Creation: Writing
Topic: Perfect recipe for a sympathetic immoral main character?
Replies: 18
Views: 3396

Re: Perfect recipe for a sympathetic immoral main character?

I count all art as entertainment. Regardless of whether or not it's challenging, uncomfortable etc. - if it engages you, it's entertaining you. I prefer to view entertainment as encompassing all things, rather than just the lighter end of the spectrum. I don't count all art as entertainment. Becaus...
by trooper6
Fri Jul 26, 2013 3:02 pm
Forum: Asset Creation: Writing
Topic: Perfect recipe for a sympathetic immoral main character?
Replies: 18
Views: 3396

Re: Perfect recipe for a sympathetic immoral main character?

I'm also not convinced that a main character has to be sympathetic. I agree. I remember reading one fan fic where the main character was quite beyond the Moral Event Horizon. I liked the story, even if it was an uncomfortable read. I agree, and I think that is a key. Some people want their art to e...
by trooper6
Fri Jul 26, 2013 12:34 pm
Forum: Asset Creation: Writing
Topic: Perfect recipe for a sympathetic immoral main character?
Replies: 18
Views: 3396

Re: Perfect recipe for a sympathetic immoral main character?

I'm also not convinced that a main character has to be sympathetic. For some people? Yes, the main character has to be sympathetic. I know people who refused to watch the new Battlsestar Galactica or The Shield or The Sopranos or Mad Men because they find none of the characters sympathetic. But ther...
by trooper6
Fri Jul 26, 2013 11:03 am
Forum: Creator Discussion
Topic: Using songs in VNs?
Replies: 15
Views: 2282

Re: Using songs in VNs?

What if the songs are classical piano pieces? Is that also under the copyright term? It depends on the classical piece. While technically, "classical" music refers to art music of the classical period which lasts from approximately 1730 to 1820, people generally use the term "classic...
by trooper6
Fri Jul 26, 2013 1:31 am
Forum: Ren'Py Questions and Announcements
Topic: Customizing Menu Code, was ApricotOrange on Menu Choices
Replies: 9
Views: 1180

Re: Customizing Menu Code, was ApricotOrange on Menu Choices

Thanks for teaching me BlueScorpion! I want to ask a question about the for loop in the tuple example: does this work: $backpack = [("Rope", 5, 20), ("Pole", 7, 5), ("Vorpal Sword", 3, 500)] python: total_wt = 0 total_cost = 0 name_list = [] for item, weight, cost in ba...
by trooper6
Fri Jul 26, 2013 1:13 am
Forum: Ren'Py Questions and Announcements
Topic: Changing text color according to character speaking
Replies: 2
Views: 774

Re: Changing text color according to character speaking

just add what_color to your character definition. Like so:

define b = Character("The Barber", color="#99FF66", what_color="#99FFFF")

See here:
http://www.renpy.org/wiki/renpy/doc/ref ... /Character
by trooper6
Thu Jul 25, 2013 10:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Customizing Menu Code, was ApricotOrange on Menu Choices
Replies: 9
Views: 1180

Re: Customizing Menu Code, was ApricotOrange on Menu Choices

For your first question, all you need to do is to store the value instead of returning it right away. That works perfectly! How awesome! Now I can stop writing "$menu_up(True)" all over the place. Thanks! For your second question, items[0] would be an array associated with the first menu ...
by trooper6
Thu Jul 25, 2013 7:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Customizing Menu Code, was ApricotOrange on Menu Choices
Replies: 9
Views: 1180

Customizing Menu Code, was ApricotOrange on Menu Choices

Hi all! Python questions here! In the game I'm currently working on, I have some flags that turn on an interrupt button or a continue button. When menus are up, clearly neither of those two buttons can be active, so I made a function to turn the flags off or on. I then turn them off before running t...
by trooper6
Thu Jul 25, 2013 5:43 pm
Forum: Ren'Py Questions and Announcements
Topic: "Not Defined" for something I defined
Replies: 9
Views: 1102

Re: "Not Defined" for something I defined

Electragurl, Elmiwisa is correct.

Remember, "=" is "gets the value of"
And "==" is "equals"

So, x gets the value of 5:

Code: Select all

$ x=5
If x equals 5, go crazy.

Code: Select all

if x == 5:
    jump crazy
by trooper6
Thu Jul 25, 2013 2:27 pm
Forum: Creator Discussion
Topic: Using songs in VNs?
Replies: 15
Views: 2282

Re: Using songs in VNs?

If you want to use songs that you did not write and that is not in the public domain (generally, if it is from after 1923 it is not in the public domain) you need to find out who has the copyright (often a corporation and not the artist) and then you need to write them and ask for permission to use ...
by trooper6
Thu Jul 25, 2013 2:10 pm
Forum: Asset Creation: Writing
Topic: "He said" versus "said he"
Replies: 14
Views: 1773

Re: "He said" versus "said he"

I like to use both so that my prose doesn't get too repetitive.
by trooper6
Wed Jul 24, 2013 8:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Disable mouse during movie?
Replies: 6
Views: 4229

Re: Disable mouse during movie?

thanks for the tip , i can use this but, what about the left click for the mouse? The left click of the mouse is covered in Alex's code. It is the mousedown_1 code up there. I can't find where the specific numbers are explained but: mousebutton 1 = left click mousebutton 2 = center button click mou...
by trooper6
Tue Jul 23, 2013 11:43 pm
Forum: Ren'Py Questions and Announcements
Topic: A less painful way to handle choiceless menu? {Solved}
Replies: 6
Views: 909

Re: A less painful way to handle choiceless menu?

Here's the more clever solution: # Put this somewhere in your project; in menus with only one choice, # this automatically chooses that choice. init python: def menu(items): if len(items) == 1: return items[0][1] return renpy.display_menu(items) # Example menu. There's another interesting trick her...