Search found 1736 matches

by nyaatrap
Mon Nov 28, 2016 12:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Screen language - text wont fit in one line
Replies: 10
Views: 842

Re: Screen language - text wont fit in one line

I think you put this layout word on a wrong block, then it called the layout class that was too ancient noone use anymore. If someone mistakenly use this class, it might cause fatal error. If so, you may not load these save files anymore unless deleting this class.
by nyaatrap
Thu Nov 24, 2016 9:27 am
Forum: Ren'Py Questions and Announcements
Topic: How would someone change CPS with no preferences?
Replies: 5
Views: 551

Re: How would someone change CPS with no preferences?

It's a terrible idea to change user's preference data, but you can force to change its values by setting _preferences.(preference name) = value. It was a only way to set default preference values in older ren'py. But we can set them by using the default statement with recent ren'py, so this statemen...
by nyaatrap
Mon Nov 21, 2016 9:31 am
Forum: Ren'Py Questions and Announcements
Topic: Fullscreen without scaling. How?
Replies: 2
Views: 393

Re: Fullscreen without scaling. How?

I don't know any way except tweaking your graphic driver.
As far as I know, ren'py is fully dependent on graphic driver setting, and there's no way to change it in program side.
by nyaatrap
Mon Nov 21, 2016 9:19 am
Forum: Ren'Py Questions and Announcements
Topic: Lock Combination Puzzle
Replies: 17
Views: 1114

Re: Image List

https://www.renpy.org/doc/html/displaying_images.html#image-functions renpy.get_available_image_tags and renpy.get_available_image_attributes can search what images are defined. You can also use renpy.list_files to get all files in your game folder. Though I suggest to use normal buttons instead of ...
by nyaatrap
Mon Nov 14, 2016 2:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Cookbook calendar only updates its values on SHIFT + R
Replies: 3
Views: 415

Re: Cookbook calendar only updates its values on SHIFT + R

The problem might be came from the line config.python_callbacks.append(time_callback), then it can be fixed when you call this function as a screen function - e.g. action Function(time_callback). Come to think of it, it seems you're trying to show ui functions inside screens. Its idea is bad - it's...
by nyaatrap
Fri Nov 11, 2016 11:39 am
Forum: Ren'Py Questions and Announcements
Topic: Names with non-ascii (e.g. "é") crash game when called [n]
Replies: 5
Views: 566

Re: Names with non-ascii (e.g. "é") crash game when called [

You defined shi =Character('name'), so "[shi]" will be converted to "Character('name')" that is invalid syntax.
[shi.name] would be valid syntax but I never try it, because it's not an efficient way of coding.

Forget about it. It looks work on ascii cases.
by nyaatrap
Fri Nov 11, 2016 2:07 am
Forum: Ren'Py Questions and Announcements
Topic: Themes
Replies: 2
Views: 698

Re: Themes

Themes are obsoleted methods that were replaced by new GUI. There is less documentation on them because they're outdated. If you want to make your custom GUI, it's better to forget about themes then read https://www.renpy.org/doc/html/gui.html
by nyaatrap
Sat Oct 29, 2016 10:14 am
Forum: Development of Ren'Py
Topic: Request & Question
Replies: 2
Views: 672

Re: Request & Question

if pygame.mouse.get_pressed()[0]==1 and 1050<renpy.get_mouse_pos()[0]<1120 and 530 <renpy.get_mouse_pos()[1]<600: #button area timer 0.01 action somehting timer 0.01 action renpy.restart_interaction The above is a code I'm using. It's not a smart code especially on timer - restart_interaction thing...
by nyaatrap
Thu Oct 06, 2016 11:36 pm
Forum: Development of Ren'Py
Topic: Create template translations
Replies: 5
Views: 864

Re: Create template translations

There might be some other issues, but the main issue is launcher/game/tl/**/common.rpy and /***ttf will not be included in a new GUI project.
by nyaatrap
Tue Oct 04, 2016 12:06 pm
Forum: Personal Art Threads
Topic: Critique and Help Wanted for Sprite Art
Replies: 11
Views: 1396

Re: Critique and Help Wanted for Sprite Art

Also - for sprite artists: Whats the easiest way for you to draw new expressions? Do you draw them all on new layers? I'd rather say expressions should be drawn on new layer groups, not just on layers. So you can apply layer group effects or layer group masks on them, with recent drawing applicatio...
by nyaatrap
Mon Oct 03, 2016 10:36 am
Forum: Development of Ren'Py
Topic: Create template translations
Replies: 5
Views: 864

Re: Create template translations

Bump.
Even that error is fixed, I couldn't find a way to make a template translation for new gui.
by nyaatrap
Tue Sep 06, 2016 12:41 pm
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 508
Views: 124106

Re: Ren'Py Gripes

I think the galley class need to be rewritten somehow before merging it. Because its syntax is far from the screen language, and it requires to manually type all images to assign even they're already assigned by image folder. (I personally don't use the gallery class, because Its code is visually ug...
by nyaatrap
Sat Sep 03, 2016 1:09 pm
Forum: Ren'Py Questions and Announcements
Topic: How to add thunder sound to lightning?
Replies: 4
Views: 557

Re: How to add thunder sound to lightning?

def transform_sound(displayable): renpy.play(sound) return displayable label: show image at transform_sound I didn't test this code, but in theory this (or some other variations) should work. Basically, there are many ways to do it if you know transforms are python functions that take displayables ...
by nyaatrap
Sat Sep 03, 2016 9:56 am
Forum: Ren'Py Questions and Announcements
Topic: Lists are persistent?
Replies: 3
Views: 349

Re: Lists are persistent?

If the player quits to main menu and starts a new game, instead of reverting to the lists set out in the init and init python blocks, they continue from the old playthrough. Yes. That's why there's the default statement and instruction that you have to instantiate objects after start/load. You shou...
by nyaatrap
Fri Sep 02, 2016 11:10 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Adjusting the speed of skip?
Replies: 3
Views: 846

Re: Adjusting the speed of skip?

Code: Select all

define config.skip_delay = 25
Though you should implement a preference to change them by a user rather than force fixed skip speed.
BTW, ren'py already has fast skip button by default.

Code: Select all

textbutton _("Skip") action Skip() alternate Skip(fast=True, confirm=True)