Search found 73 matches

by Akjosch
Fri Sep 20, 2013 11:55 am
Forum: Ren'Py Questions and Announcements
Topic: Character customization
Replies: 3
Views: 626

Re: Character customization

The basic way to do it is: * Put everything you want to be able to change into an own layer. Most of it will be black-and-white "mask" images with transparency. And I mean everything , in particular every single colour shade should have its own layer. This generally means at least two laye...
by Akjosch
Sun Sep 15, 2013 8:10 am
Forum: Asset Creation: Art
Topic: Art Dumpage! Show your art ^^
Replies: 7876
Views: 1081013

Re: Art Dumpage! Show your art ^^

Being down with some nasty cold and not feeling like programming or writing much, I resorted to some 3D rendering with DAZ Studio. The result is ... rather generic, but I like it enough to show it off. ;) http://i.imgur.com/FnUoh7F.png No postprocess or anything like that, straight from the default ...
by Akjosch
Tue Sep 18, 2012 12:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing Dynamic Character Names in Python Function
Replies: 8
Views: 2027

Re: Changing Dynamic Character Names in Python Function

Your problem is that renpy's Character class uses global variables for the name when "dynamic=True" is set (which is all that DynamicCharacter class is doing). However, not all is lost. The dynamic string doesn't have to be a global variable name - it can be any expression, as long as Pyth...
by Akjosch
Tue Sep 18, 2012 11:04 am
Forum: Ren'Py Questions and Announcements
Topic: Changing Dynamic Character Names in Python Function
Replies: 8
Views: 2027

Re: Changing Dynamic Character Names in Python Function

That sounded a bit strange so I looked a bit further into it. What I believe you're saying is, I can't change the string, but I can make the variable point to another string. Is that correct? Yes. You can point the function-scope variable to a different string. That does absolutely nothing to the g...
by Akjosch
Mon Sep 17, 2012 8:46 am
Forum: Ren'Py Questions and Announcements
Topic: Changing Dynamic Character Names in Python Function
Replies: 8
Views: 2027

Re: Changing Dynamic Character Names in Python Function

If I could pass by reference that could potentially be another solution without using global variables, but Google seems to suggest that I can't do that with strings. Is that correct? Not really. String in Python are always passed by reference (though actually there's no copying of a reference invo...
by Akjosch
Mon Sep 17, 2012 6:51 am
Forum: Ren'Py Questions and Announcements
Topic: Coding Two Versions: All-Ages and Adult
Replies: 4
Views: 704

Re: Coding Two Versions: All-Ages and Adult

I'd suggest adding the "adult" parts (or variants of the scenes) to this additional RPY file as well. This way, even if somebody does set this persistent variable, they still won't have the content , but instead will just get a bunch of errors and crashes because the game is trying to jump...
by Akjosch
Mon Sep 17, 2012 12:00 am
Forum: Creator Discussion
Topic: Adversity Comp - Visual Novel Writing Contest - Sept 2012
Replies: 340
Views: 32806

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

When testing out their game, does anyone else find it strange that the name box provided doesn't seem to be used? Are you sure you're using the show_two_window character flag? Like so, for example, for your protagonist: # Player character define gamename_me = Character('Me', color="#abcdef&quo...
by Akjosch
Sun Sep 16, 2012 3:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing Dynamic Character Names in Python Function
Replies: 8
Views: 2027

Re: Changing Dynamic Character Names in Python Function

What Alex said. Basically, declare the "sEileenName" variable to be global at the start of the python function: init python: def DynamicNameChange(sEileenName): global sEileenName sEileenName = "Girl" sTempName = "Eileen" e("Hi. My name is " + sTempName + &quo...
by Akjosch
Sat Sep 15, 2012 4:20 pm
Forum: Creator Discussion
Topic: Adversity Comp - Visual Novel Writing Contest - Sept 2012
Replies: 340
Views: 32806

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

That's basically why you should: name all (composite) images, custom styles, transitions, transforms, layers, labels, variables and so on like "(hopefully unique prefix)_(name)". Have all custom UI layers be invisible per default (use a "(hopefully unique prefix)_(layername)_visible&...
by Akjosch
Sat Sep 15, 2012 7:03 am
Forum: Creator Discussion
Topic: A fairly strange question about muscle recovery.
Replies: 11
Views: 1417

Re: A fairly strange question about muscle recovery.

Head trauma is always dangerous. Even if no skin or bones are broken, it can result in internal bleeding inside the brain and permanent damage or death.
by Akjosch
Sat Sep 15, 2012 5:35 am
Forum: Creator Discussion
Topic: A fairly strange question about muscle recovery.
Replies: 11
Views: 1417

Re: A fairly strange question about muscle recovery.

As for another area where getting shot is painful, but very seldom fatal or carrying the risk of significant permanent damage, consider a shot to the buttocks from the side. :) The results might not look pretty though, even after full recovery.
by Akjosch
Fri Sep 14, 2012 3:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Class has not instance Function error
Replies: 6
Views: 875

Re: Class has not instance Function error

My first instinct would be to rename the class from "Text" into something which is slightly less in danger of creating class naming conflicts ("Text" is rather generic ...). In particular, renpy has a class named renpy.text.text.Text already.
by Akjosch
Fri Sep 14, 2012 12:53 am
Forum: Creator Discussion
Topic: Adversity Comp - Visual Novel Writing Contest - Sept 2012
Replies: 340
Views: 32806

Re: Adversity Comp - Visual Novel Writing Contest - Sept 201

That's basically why you should name all (composite) images, custom styles, transitions, transforms, layers, labels, variables and so on like "(hopefully unique prefix)_(name)". Also: * Have all custom UI layers be invisible per default (use a "(hopefully unique prefix)_(layername)_vi...
by Akjosch
Thu Sep 13, 2012 2:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Sharing code between members of a team
Replies: 7
Views: 898

Re: Sharing code between members of a team

Hello all, I'm planning on working on a VN in renpy with a team. Is there a standard/tried and true way to synchronize our renpy code over a repository, or what have you, so we're all looking at the same version, and we can update one another's code easily? If you have a technically-minded member o...
by Akjosch
Thu Sep 13, 2012 11:40 am
Forum: Ren'Py Questions and Announcements
Topic: Has anyone created a pdf file of the Renpy tutorials / info?
Replies: 11
Views: 5632

Re: Has anyone created a pdf file of the Renpy tutorials / i

PyTom wrote:This was made by creating a single-page html document, and then printing it to a PDF. If anyone knows how to make Latex deal with Chinese or Japanese, let me know, so I can produce a better version.

Code: Select all

\usepackage{CJKutf8}