Search found 12 matches
- Wed Oct 07, 2020 4:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: TypeError: 'tuple' object is not callable - inventory issue
- Replies: 1
- Views: 418
TypeError: 'tuple' object is not callable - inventory issue
Hello! I'm trying to code an inventory: image banana: "gui/banana_idle.png" size 50,50 default banana_item = Consumable("banana", 10, 10) init python: class Player: def __init__(self, hunger, athletic, haggling, gaming, tolerance, charisma, logic, mmusic, cooking): self.hunger = ...
- Sat Jan 11, 2020 10:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Dissolve that Doesn't Stop Game?
- Replies: 3
- Views: 422
Re: Dissolve that Doesn't Stop Game?
Dict transitions. https://www.renpy.org/doc/html/transitions.html#dict-transitions Another idea is to use an ATL transform instead of transitions, that are made specifically for a change in scene. WIth an ATL transform execution don't wait for inputs. Thanks! That worked but brought up a new proble...
- Fri Jan 10, 2020 6:56 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Dissolve that Doesn't Stop Game?
- Replies: 3
- Views: 422
Dissolve that Doesn't Stop Game?
I'm trying to have images dissolve in the background in a cycle. However when other actions are done it kind of pauses and waits to finish the dissolve so clicking doesn't work for a second. Is there a way around this?
Code: Select all
screen daynight:
add "bg morning"
$ renpy.transition(dissolve)
- Tue Jan 07, 2020 4:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Stop an Item Effect From Stacking?
- Replies: 2
- Views: 434
Re: Stop an Item Effect From Stacking?
Thank you very much! ^_^philat wrote: ↑Sun Jan 05, 2020 8:56 pm Just wrap the whole Yes action in an If() https://www.renpy.org/doc/html/screen_actions.html#If
Code: Select all
If(not athleticbuff, [SetVariable('athleticskill', athleticskill +1), SetVariable('athleticbuff', True)])
- Sun Jan 05, 2020 7:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Stop an Item Effect From Stacking?
- Replies: 2
- Views: 434
Stop an Item Effect From Stacking?
I'm currently working on a buff/debuff system. So if the player get s a consumable item one of their skills goes up for a certain amount of time. It works like this: screen consumeExample: text "Eat?" xpos 1300 ypos 300 textbutton ("Yes") action SetVariable('athleticskill', athle...
- Mon Dec 30, 2019 5:34 pm
- Forum: We are offering Paid Work
- Topic: Looking for BG Artist
- Replies: 3
- Views: 974
Looking for BG Artist
Hello! I am looking to hire a BG Artist for a visual novel project called Vanilla Orchid. This is a NSFW project, so please consider that when applying. Please let me know your rate and give examples of your work. I plan to start with a few commissions and if that works well I hope yo continue worki...
- Fri Dec 20, 2019 4:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Timer Stops Variable From Working
- Replies: 5
- Views: 747
Re: Timer Stops Variable From Working
This is really convoluted. So it looks like all you really want to do is have a number decrease by 5 every 5 seconds. So you can just do that directly. Here is some sample code. Make a new project with just this code and see how it works. screen hungerbar(): frame: has vbox bar value hunger range 1...
- Fri Dec 20, 2019 12:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: Timer Stops Variable From Working
- Replies: 5
- Views: 747
Timer Stops Variable From Working
Hi! I have a timer that when it goes gets to zero, it lowers a variable number. However that stops the variable from working. It continues to decrease when the timer resets and gets to zero again, but it can't be affected by anything else if I try to increase or decrease it through the script. Other...
- Fri Dec 06, 2019 12:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Calling a screen that doesn't pause the game?
- Replies: 3
- Views: 480
Re: Calling a screen that doesn't pause the game?
Hey! Thanks for the reply However modal also seems to pause the backgrounds from switching time of day- it works for not progressing dialogue but also still 'pauses' the game.
- Fri Dec 06, 2019 1:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: Calling a screen that doesn't pause the game?
- Replies: 3
- Views: 480
Calling a screen that doesn't pause the game?
So I've been working on a day/night cycle in the engine and I have it pretty much where I like it. Unfortunately, when I call a screen for my dialogue system, it 'pauses' the background, so the backgrounds don't switch over to the right state or it snaps to night after the screen is closed. Show scr...
- Mon Jun 24, 2019 12:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Creating an 'active' clock?
- Replies: 3
- Views: 905
Re: Creating an 'active' clock?
Thanks for the reply! This works well, thank you. And I totally get how people can read at different speeds, so I plan to pause the timer during main dialogue events so anyone can take as long or fast as the need. It's mostly just so I can make the world a little more dynamic with time of day and a ...
- Thu Jun 20, 2019 7:08 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Creating an 'active' clock?
- Replies: 3
- Views: 905
Creating an 'active' clock?
Hello! I'm trying to figure out how to make an in-game clock that helps track the amount of days that have passed. I'm newer to coding, so I have a great lack of experience but want to keep learning. The way I'm currently trying to do it probably isn't the best way to go about it- maybe I'm thinking...