Search found 13 matches

by tacoen
Mon Mar 23, 2020 11:27 am
Forum: Ren'Py Cookbook
Topic: Ramen, Renpy framework
Replies: 0
Views: 1607

Ramen, Renpy framework

During this covid-19, I release Ramen, Renpy framework I call it Ramen, for Renpy According Me Itch: https://tacoen.itch.io/ramen Github: https://github.com/tacoen/ramen (almost daily now, since covid-19 pandemic) Wiki: https://github.com/tacoen/ramen/wiki It's a framework that i had in my mind for ...
by tacoen
Tue Nov 05, 2019 10:17 pm
Forum: Ren'Py Questions and Announcements
Topic: can we exclude some file from renpy file scan?
Replies: 0
Views: 555

can we exclude some file from renpy file scan?

When we see "Filename List" Developer Menu. We see everything in renpy's "game/". That's will include hidden directory and .dot directory .git\COMMIT_EDITMSG .git\FETCH_HEAD .git\HEAD .git\ORIG_HEAD .git\config .git\description .git\index .git\packed-refs ... How to in make renpy...
by tacoen
Tue Nov 05, 2019 4:04 am
Forum: Ren'Py Questions and Announcements
Topic: Get the name of the showing image ?
Replies: 10
Views: 3413

Re: Get the name of the showing image ?

scene home bedroom To file what file is "home bedroom", i use: t = tuple(renpy.get_showing_tags('master',True)) a = renpy.get_attributes(t[0]) name = t[0] +" "+ a[0] renpy.get_registered_image(name).filename That only works if the scene is image, not solid color, neither conditi...
by tacoen
Thu Jun 13, 2019 4:29 am
Forum: Ren'Py Questions and Announcements
Topic: can we animated image within renpy.image ?
Replies: 1
Views: 731

can we animated image within renpy.image ?

I try to search the forum but it's 500 error.

How can I wrote this within renpy.image (python syntax)? It's possible?

Code: Select all

image eileen animated:
    "eileen_happy.png"
    pause 1.0
    "eileen_vhappy.png"
    pause 1.0
    repeat
by tacoen
Fri May 31, 2019 2:07 am
Forum: Ren'Py Cookbook
Topic: how to write conditionswitch in python
Replies: 0
Views: 3704

how to write conditionswitch in python

how to write renpy conditionswitch in python? Example: image bg waterfront = ConditionSwitch( "time_of_day == 'day'", "waterfront_day.jpg", "time_of_day == 'night'", "waterfront_night.jpg", ) in python: init -1 python: cs = ConditionSwitch( "time_of_day =...
by tacoen
Fri May 31, 2019 1:25 am
Forum: Ren'Py Questions and Announcements
Topic: zorder value of "quit dialog"
Replies: 2
Views: 809

Re: zorder value of "quit dialog"

thanks. it's on screens.rpy
by tacoen
Thu May 23, 2019 10:08 pm
Forum: Ren'Py Questions and Announcements
Topic: zorder value of "quit dialog"
Replies: 2
Views: 809

zorder value of "quit dialog"

I wonder if there is a list of layer zorder value?

I like to know what is the zorder value of "Are you sure want to quit?" dialog

I made some screen on zorder 1024 and Modal True; it's blocking that dialog.
by tacoen
Thu May 23, 2019 10:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Interporlating {w=3.0} or {p=1.0}
Replies: 2
Views: 347

Re: Interporlating {w=3.0} or {p=1.0}

Yes it's worked. My typo.
by tacoen
Mon May 20, 2019 12:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Interporlating {w=3.0} or {p=1.0}
Replies: 2
Views: 347

Interporlating {w=3.0} or {p=1.0}

Hi. I would like to had a line that say: "You call susan" (wait, 3 second) ring... (wait, 3 second) ring... " Here the code: def Phone_Ring(nr): num = renpy.random.randint(2, 4) for z in range(num): nr += "{w=3.0}ring... " return nr and in game label: label call_susan: $ nr ...
by tacoen
Mon May 20, 2019 12:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton clicking is advancing the story
Replies: 3
Views: 467

Re: Imagebutton clicking is advancing the story

Thanks for replying to this subject.

I rewrite the code, and find that

Code: Select all

$ renpy.hide_screen('ivn_bar')
was the one causing this madness.

Problem was solved by using "ToggleScreen" in the Action.

Thanks.
by tacoen
Wed May 15, 2019 12:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton clicking is advancing the story
Replies: 3
Views: 467

Imagebutton clicking is advancing the story

How to stop click on my screen imagebutton or any other clickable advancing the story? 1. if I use Call("phone_ui"), "phone_ui" is a label. Then the story advancing 2. if I use Show('phone_face"), "phone_face" is a screen. Then the story not advancing, but the &quo...
by tacoen
Wed May 15, 2019 12:59 am
Forum: Ren'Py Questions and Announcements
Topic: how to get character name?
Replies: 2
Views: 431

Re: how to get character name?

So stupid me. :roll:

Thanks to pointing it out:

As String:

Code: Select all

$ name = getattr(globals()['a'],'name')
"[name]"
As Object:

Code: Select all

$ name = getattr(p,'name')
"[name]"
by tacoen
Tue May 14, 2019 8:32 pm
Forum: Ren'Py Questions and Announcements
Topic: how to get character name?
Replies: 2
Views: 431

how to get character name?

Please help me understanding this

define p = Character("Peter", dynamic=True)

Question: how to get "Petter" (string) ?