Search found 1735 matches

by nyaatrap
Thu Apr 13, 2017 12:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Inventory item disapper
Replies: 3
Views: 517

Re: Inventory item disapper

nropexin wrote:But every time in the label i have to use $inventory = Inventory().
I don't know why you have to do. Without those lines anything should work. If not, maybe your save data is not compatible so don't load it.
default statements are run after all init codes, before the label start.
by nyaatrap
Thu Apr 13, 2017 12:01 pm
Forum: Ren'Py Questions and Announcements
Topic: renpy.randint not working as expected.
Replies: 3
Views: 336

Re: renpy.randint not working as expected.

the game returns to the main menu. This is where the issue appears, approximately 0.25 seconds pass between arriving at the main menu, and a new image showing. The old image being replaced as expected, but still being visible for that fraction of a second is rather unwanted. This is a ren'py bug - ...
by nyaatrap
Tue Apr 11, 2017 8:33 am
Forum: Ren'Py Questions and Announcements
Topic: Inventory item disapper
Replies: 3
Views: 517

Re: Inventory item disapper

There are two problems. If you define objects in init, they are defined every time you load a game - this means your save file is lost. To save objects, You need to declare them by 'default' statement, not 'init' default inventory = Inventory() default itemX = Item() The second problem is ren'py sav...
by nyaatrap
Tue Mar 28, 2017 8:41 am
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 472
Views: 84638

Re: Ren'Py Gripes

Hi. Is it possible to launch the Tutorial game in Japanese by default when the launcher is set to Japanese? It'd be good for beginners to play the tutorial game in their own language if they are available, without opening the preference screen. (If it's done, then I think I'll translate the question...
by nyaatrap
Mon Mar 13, 2017 1:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Character Customization?
Replies: 2
Views: 286

Re: Character Customization?

There're many ways to do it, but if you're not in hurry, there'll be a better support by default in a few months.
by nyaatrap
Mon Mar 13, 2017 1:01 pm
Forum: Ren'Py Questions and Announcements
Topic: How is the gui's image imported
Replies: 7
Views: 392

Re: How is the gui's image imported

I guess you're looking codes where gui button images are defined, but you couldn't find them. In fact, there's no obvious code to define button styles. They're defined in screens.rpy as the following style: style button: properties gui.button_properties("button") I personally don't like this style d...
by nyaatrap
Tue Feb 21, 2017 2:33 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved) "Name and version" of the game doesn't go away
Replies: 2
Views: 262

Re: "Name and version" of the game doesn't go away

I think this is one of the bad design on the new GUI. It's defined in two scripts: options and gui/screens, and only higher init order is used. Options.rpy is the only real code, and the same line in the gui.rpy is just ignored - it's existence is meaningless. You can find the same code in the optio...
by nyaatrap
Tue Feb 21, 2017 1:14 pm
Forum: Works in Progress
Topic: Memoriae Mori [Yuri] [Eroge/Mystery/Romance]
Replies: 30
Views: 4481

Re: Memoriae Mori [Yuri] [Eroge/Mystery/Romance]

Besides of forum rules, there's a reason you should't bump with no comment. Game is something to share among creators and players. You can always try to take this advantage for your game to make it better, giving more information to get more reactions. Then you can get more reactions that hint your ...
by nyaatrap
Fri Feb 17, 2017 2:56 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 6.99.12 Released
Replies: 31
Views: 4653

Re: Ren'Py 6.99.12 Released

I noticed, does a new keymap "toggle_afm" documented?
by nyaatrap
Wed Feb 08, 2017 1:03 pm
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 472
Views: 84638

Re: Ren'Py Gripes

It's convenient if anchor for positions and anchor for zoom&rotate are independent. While the former usually takes different values, but the latter almost always takes (.5,.5)
by nyaatrap
Wed Feb 08, 2017 2:40 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 6.99.12 Released
Replies: 31
Views: 4653

Re: Ren'Py 6.99.12 Released

Hello, thanks for the fix about Japanese path issue. However, every translations need to be updated due to gui variable change from define gui.default_font = u'MTLc3m.ttf' to define gui.text_font = u'MTLc3m.ttf' and so on. It looks translate_font("japanese", "MTLc3m.ttf") changes gui.default, not gu...
by nyaatrap
Tue Feb 07, 2017 10:55 am
Forum: Creator Discussion
Topic: What do you think about pixel art for vn?
Replies: 13
Views: 2015

Re: What do you think about pixel art for vn?

Don't you have an ideal image when you use it? It could be an answer. This can be good, or bad. From the point of view from outside, I can only say it's depend.
by nyaatrap
Tue Feb 07, 2017 4:15 am
Forum: Ren'Py Questions and Announcements
Topic: Tint for LiveComposite?
Replies: 4
Views: 474

Re: Tint for LiveComposite?

Code: Select all

init python
    def ColorBlend(d, color="#000", alpha=.5):
        return AlphaBlend(Transform(d, alpha = alpha), d, Solid(color, xysize=(config.screen_width, config.screen_height)), alpha=True)

image darkend_sprite = ColorBlend(Image("sprite.png"))
by nyaatrap
Fri Feb 03, 2017 10:29 am
Forum: Ren'Py Questions and Announcements
Topic: Having trouble making a "Skip Speed" slider bar
Replies: 1
Views: 196

Re: Having trouble making a "Skip Speed" slider bar

There is some difficulty to change config.skip_delay. Because even you changed it in the game menu, Ren'py nullifies this change after you closed the game menu. So you need a trick to achieve this thing. Here is a code how I achieved it. screen: label _("Skip Speed") bar value FieldValue(persistent,...
by nyaatrap
Wed Feb 01, 2017 11:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Circle status bars?
Replies: 13
Views: 1285

Re: Circle status bars?

Clipboard-1.png Come to think of it, it's same thing which is used - AlphaBlend or Composited images. Anyway, AlphaBlend is the first code I got in my mind, so here is what I've done. screen show_circle(): default angle = 90 vbox align .5, .5: fixed fit_first True: add "gui/circle_bg.png" if angle ...