Search found 62 matches

by nature1996
Tue May 07, 2019 9:11 am
Forum: Ren'Py Questions and Announcements
Topic: Inline IF possible in a sayer string?
Replies: 3
Views: 363

Re: Inline IF possible in a sayer string?

This might help, with an example for your case: https://www.renpy.org/doc/html/text.htm ... ating-data

Code: Select all

if apple>1:
	$ s="s"
else:
	$s=""
myCharacter "There is [apple] apple[s] in my bag."
There might be other ways
by nature1996
Tue May 07, 2019 9:07 am
Forum: Ren'Py Questions and Announcements
Topic: Buttons for submenu [Solved]
Replies: 7
Views: 660

Re: Buttons for submenu

This is the reference for what you can put after the keyword action (not exclusive, but contains a lot): https://www.renpy.org/doc/html/screen_actions.html You probably want to use that function instead: https://www.renpy.org/doc/html/statement_equivalents.html?#renpy.show to do so, you will have to...
by nature1996
Tue May 07, 2019 8:52 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Keeping text loop out of history/rollback
Replies: 3
Views: 451

Re: Keeping text loop out of history/rollback

Finally, upon reconsideration, I made this out: label tutorial_1: tutorial "Describe the game mechanic." if not test_to_continue: $ _history = False $ renpy.suspend_rollback(True) jump tutorial_1 $ renpy.suspend_rollback(False) $ _history = True #the rest of the story
by nature1996
Tue May 07, 2019 8:03 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Keeping text loop out of history/rollback
Replies: 3
Views: 451

Re: Keeping text loop out of history/rollback

For the history, I ended up using the variable just under it:https://www.renpy.org/doc/html/store_va ... story_list
By doing history.pop() for each statement before the jump, I can remove the double before they happens.

Doesn't work for the rollback though... Still no solution.
by nature1996
Tue May 07, 2019 1:29 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Keeping text loop out of history/rollback
Replies: 3
Views: 451

[Solved] Keeping text loop out of history/rollback

Hello,

In my game, I have a tutorial that loop until a certain action has been done, but I want it to only appear once in the history and rollback (aka you don't have to back for a year to get to the line before the tutorial). Is that possible, and how would I do that?
by nature1996
Mon May 06, 2019 10:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Alpha Image outline
Replies: 4
Views: 485

Re: Alpha Image outline

For the inside area, adding a smaller image might complete what missing from the bigger one.
by nature1996
Mon May 06, 2019 6:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Tips for Preventing Laggy/Slow Game?
Replies: 5
Views: 739

Re: Tips for Preventing Laggy/Slow Game?

Generally speaking, trying not to do a 10009 thing at the same time is a good idea. Try to do them when needed. for size, trying to combine scene that are the same but in different path is a good idea I guess (also help with typo), either by using call/return rather than jump, or by having a variabl...
by nature1996
Mon May 06, 2019 3:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Translation issue
Replies: 16
Views: 1354

Re: Translation issue

try this: c1 = '' for c in credits: if not c1==c[0]: credits_s += "\n{size=50}" + "[c[0]!t]" + "\n" credits_s += "{size=30}" + "[c[1]!t]" + "\n" c1=c[0] This is what I suggested before, though I don't know if it will work. Might not need th...
by nature1996
Mon May 06, 2019 3:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Check CD or USB
Replies: 2
Views: 377

Re: Check CD or USB

Maybe you could evaluate the size of the content on the support, and use that as a key to allow to start the game/ use the main-menu. That would prevent starting it without the right support. You could also check for specific file, like the installer, for more precision. Also, by memory, Ren'py game...
by nature1996
Mon May 06, 2019 3:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Alpha Image outline
Replies: 4
Views: 485

Re: Alpha Image outline

Maybe by putting a slightly bigger blacked-out version of the picture behind it? it might not be elegant, but it might do the job.
by nature1996
Mon May 06, 2019 3:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Is there still a way to hide the script/text files?
Replies: 4
Views: 697

Re: Is there still a way to hide the script/text files?

Does the game work before you build the archive? I never encountered a problem with putting everything in the archive, but then again I never tried with a full game. Maybe try to force recompile (I do think it does that automatically before creating a build, but...) to see if the problem appear/pers...
by nature1996
Mon May 06, 2019 1:56 pm
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 556
Views: 862099

Re: Ren'Py Gripes

I'm not sure if it as been brought up, but on the use of float for screen customization. I feel like there is an untapped potential for using float while defining screen. If fully implemented, we could have screen that would scale to all size... But right now there is a few problem: while the 0.0 po...
by nature1996
Mon May 06, 2019 1:28 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] "renpy.save" doesn't work anymore?
Replies: 4
Views: 575

Re: "renpy.save" doesn't work anymore?

If there is absolutely nothing to save but the configuration option, you could maybe consider using persistent variable rather than a save system. Persistent variable are defined per game, meaning that even new game will keep the previous configuration. It does limit it to one profile, unless you sa...
by nature1996
Mon May 06, 2019 1:11 pm
Forum: Ren'Py Questions and Announcements
Topic: button action being computated before activation
Replies: 5
Views: 341

Re: button action being computated before activation

That wouldn't solve the problem, only maybe make it worst as test get activated as soon as the screen update. Also, I might add that I added my screen in config.per_frame_screens already, it might be part of the problem. Also, as I said, the problem is solved by calling Function(j.test, current_data...
by nature1996
Mon May 06, 2019 1:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Paused problem
Replies: 1
Views: 596

Re: Paused problem

First thing first, unskipable cutscene are the bane of repeat player. You might want to consider to force stop skipping right before starting it, but keeping the player from doing anything... Basically, just make sure it is needed to see it every time. There is probably a way to disable clicking for...