Search found 882 matches

by Kia
Sat Feb 15, 2020 8:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Proper way of using classes
Replies: 7
Views: 169

Re: Proper way of using classes

ow, you're right. I've seen `time` and assumed time is imported somewhere else causing a problem, jumping to conclusion I've missed the real question. :oops:
by Kia
Sat Feb 15, 2020 6:28 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Proper way of using classes
Replies: 7
Views: 169

Re: Proper way of using classes

an instance is a copy of your class stored in a variable.
once you instance a class, you can use that instance name to access the variables and functions of that instance.
$ timekeep .incTime()
by Kia
Sat Feb 15, 2020 10:35 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Proper way of using classes
Replies: 7
Views: 169

Re: Proper way of using classes

You should name your class something else since time is already in use in python. also you need to create an instance of your class and use that in your screen:

Code: Select all

default timekeep = timekeep_class(0, 0)
by Kia
Sat Feb 01, 2020 5:17 am
Forum: Ren'Py Questions and Announcements
Topic: Choice Menu Background and Textbox [SOLVED]
Replies: 26
Views: 1655

Re: Choice Menu Background and Textbox [SOLVED]

it should be easy with ATL )check the documents for full instructions

Code: Select all

transform choice_t:
    alpha 0
    linear .2 alpha 1
screen choice(items):
    style_prefix "choice"
    add "choice_overlay.png" at choice_t
    
by Kia
Fri Jan 17, 2020 2:49 am
Forum: We are a Commercial Project looking for Partners
Topic: [CLOSED] [REV-SHARE] [NSFW] Looking For A Long-term Artist/Partner To Work On A Cyberpunk RPG
Replies: 6
Views: 593

Re: [OPEN] [REV-SHARE] [NSFW] Looking For A Long-term Artist/Partner To Work On A Cyberpunk RPG

you're right about the lazy leaders, that's a sure recipe for disaster, past that usually it's the lack of art that kills most of the projects, it is hard to find good artists and harder to keep your artists on board and active. I suggest learning the basics of drawing, it helps you choose and commu...
by Kia
Tue Dec 17, 2019 7:35 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] error: pop from empty list but the list isn't empty, or is it?
Replies: 2
Views: 324

Re: error: pop from empty list but the list isn't empty, or is it?

I would check the deck right before drawing. def drawCard(self): if not len(self.cards): self.build() self.shuffle() drawn = self.cards.pop() if drawn.value == 11:drawn.value = "J" if drawn.value == 12:drawn.value = "Q" if drawn.value == 13:drawn.value = "K" if drawn.value == 14:drawn.value = "A" re...
by Kia
Sat Dec 14, 2019 3:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Folder Structure for Ren'Py?
Replies: 3
Views: 523

Re: Folder Structure for Ren'Py?

renpy scans for every .rpy file in the game directory and it's sub directories.
as long as you keep in mind that renpy reads the files in order it finds (nearly alphabetical), you'll be fine.
by Kia
Sat Dec 07, 2019 12:47 pm
Forum: Creative Commons
Topic: 1080p wipes (image dissolve transitions)
Replies: 42
Views: 8722

Re: 1080p wipes (image dissolve transitions)

Heya, just popping by to say thank you so much for these transitions! They helped my kinetic novel flow so much more seamlessly. (If you want to check it out, the link is in my signature below). Thanks again!!! :) I loved them! I'm glad you've found them useful. ^^ Even though I'm not a fan of read...
by Kia
Fri Dec 06, 2019 2:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Realtime Timer" avaible with Renpy/farming system
Replies: 4
Views: 313

Re: Realtime Timer" avaible with Renpy/farming system

the are a number if ways to create a variable, the common method is:

Code: Select all

default current_time = 0
however, you might have to use persistent data for this one: https://www.renpy.org/doc/html/persistent.html
by Kia
Fri Dec 06, 2019 12:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Text speed preview system bugs
Replies: 2
Views: 350

Re: Text speed preview system bugs

for the delay, you can use: on "show" in the screen, it will trigger the action when the screen is shown. for the second problem, you can use a screen tag and finally you can use hover/unhover to show and hide the preview screen depending on where your mouse is hovering but any use of those two excl...
by Kia
Fri Dec 06, 2019 11:59 am
Forum: Ren'Py Questions and Announcements
Topic: Player Names
Replies: 4
Views: 149

Re: Player Names

I would change the character's name directly, saves you one step of defining an extra variable, but at the end there's not that much of difference between the two methods python: name = renpy.input("My name is...") name = name.strip() if name: p.name = name "Hello [p.name]"
by Kia
Fri Dec 06, 2019 11:53 am
Forum: Ren'Py Questions and Announcements
Topic: Realtime Timer" avaible with Renpy/farming system
Replies: 4
Views: 313

Re: Realtime Timer" avaible with Renpy/farming system

you can store the current time in a variable and the next time the player visits that screen/part of the game compare the current time with stored time and decide on what to do based on the difference
by Kia
Sun Dec 01, 2019 3:22 pm
Forum: Ren'Py Questions and Announcements
Topic: How do you return to a point mid scene
Replies: 9
Views: 378

Re: How do you return to a point mid scene

you can use Show("inventory_screen") for the action of your button, or remove the return in the function
by Kia
Sun Dec 01, 2019 11:40 am
Forum: Ren'Py Questions and Announcements
Topic: How do you return to a point mid scene
Replies: 9
Views: 378

Re: How do you return to a point mid scene

The issue I run into with just showing the inventory is the game continues to progress whenever you click, so it shows the inventory but the rest of the scenes continue to play out. Unless I'm doing something wrong with that I need to jump to a new scene or call the inventory screen. you can use "m...
by Kia
Sun Dec 01, 2019 3:30 am
Forum: Ren'Py Questions and Announcements
Topic: A comment about this scheme of Main story flow VS routine scenes
Replies: 2
Views: 302

Re: A comment about this scheme of Main story flow VS routine scenes

I don't think there's any need to worry about the performance in this case, computing a condition takes a fraction of a frame, the only thing you need to worry about is the amount of object showing on the screen at any given time and since you're simply jumping around it plays like any linear game w...