Search found 48 matches
- Sun Dec 16, 2018 2:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'Py 7.1.3 Released
- Replies: 16
- Views: 3670
Re: Ren'Py 7.1.3 Released
monkeykg>>> I'm not sure what to tell you. "delay 1.0" isn't meaningful here, the improvement is Ren'Py is now actually telling you that. AERenior>>> Can you put together an example for me? I haven't been following that problem, and it's hard to understand what's wrong without seeing it i...
- Sun Dec 16, 2018 2:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: re: renpy QTE tutorial question
- Replies: 2
- Views: 437
Re: re: renpy QTE tutorial question
You need to copy/paste the code for qte_button screen (it's at the end of first post) and change label qte_setup(time_start, time_max, interval, trigger_key, x_align, y_align): $ time_start = time_start $ time_max = time_max $ interval = interval $ trigger_key = trigger_key $ x_align = x_align $ y_...
- Fri Dec 07, 2018 9:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'Py 7.1.3 Released
- Replies: 16
- Views: 3670
Re: Ren'Py 7.1.3 Released
Oof, hello! it's been awhile since I updated Ren'py (7.0.0.123 or something) Before, this worked: scene black delay 1.0 with Dissolve(1.0) now I get this error. Image 'black' does not accept attributes 'delay 1.0' What do I replace this with? every single transition in my game so far pretty much use...
- Fri Dec 07, 2018 8:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: re: renpy QTE tutorial question
- Replies: 2
- Views: 437
re: renpy QTE tutorial question
viewtopic.php?f=51&t=50766
in this thread it explains how to install this basic QTE code, but while I got it working, I'm having trouble figuring out how to switch it from click input to button input mode. Anyone familiar with this code?
in this thread it explains how to install this basic QTE code, but while I got it working, I'm having trouble figuring out how to switch it from click input to button input mode. Anyone familiar with this code?
- Fri Sep 28, 2018 7:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: keyword argument repeated
- Replies: 4
- Views: 1002
Re: keyword argument repeated
This is because your definition of the callbackcontinue isn't done properly. Why don't you combine the two like so: init python: def low_beep(event, **kwargs): if event == "show": renpy.music.play("textsound.mp3", channel="sound", loop=True) elif event == "slow_do...
- Fri Sep 28, 2018 2:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: keyword argument repeated
- Replies: 4
- Views: 1002
- Fri Sep 28, 2018 1:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: keyword argument repeated
- Replies: 4
- Views: 1002
keyword argument repeated
I'm trying to test out CTC sound and text sound at the same time. define narrator = Character("",color="#FAFAD2", who_outlines=[ (1, "#cc0066") ], what_outlines=[ (1, "#cc0066") ],ctc="ctc_blink",callback=callbackcontinue,callback=low_beep) having ju...
- Tue May 29, 2018 8:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Viewable inventory issues
- Replies: 5
- Views: 891
Re: Viewable inventory issues
You've created your classes in an init block which has index either 0, meanwhile you're trying to create the items at init -1 which gets executed before init 0, so at that point in your code, item hasn't been setup as a class yet. Sort out your init orders and it'll work. You've also got a lot of p...
- Tue May 29, 2018 5:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Viewable inventory issues
- Replies: 5
- Views: 891
Re: Viewable inventory issues
Variable declarations within renpy code needs to be within a python: block or a $ prefix. init: block is also Renpy code, if you want to write python directly you need to use init python: Hmr, okay, really weird- now it's telling me items isn't defined. all i changed was this: $ roses = item("...
- Tue May 29, 2018 4:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Viewable inventory issues
- Replies: 5
- Views: 891
Viewable inventory issues
I successfully implemented the money system and inventory system itself, both were working right -- Until i went and added the cookbook for this viewable inventory so now i'm just getting this error. If i remove what it's telling me to it tells me the items aren't defined. I'm sorry, but errors were...
- Mon May 28, 2018 3:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: error while implementing inventory
- Replies: 7
- Views: 1967
Re: error while implementing inventory
Aahhh it's working now, thank you both so much.
- Sat May 26, 2018 10:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: error while implementing inventory
- Replies: 7
- Views: 1967
Re: error while implementing inventory
Use inventory.money instead of goldcoins to show how much money there is. Your inventory code changes inventory.money, not goldcoin when you buy stuff. Assigning inventory.money to goldcoin at the start just puts the current amount in the goldcoin variable, it doesn’t update it afterwards. Ah I'm a...
- Fri May 25, 2018 10:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: error while implementing inventory
- Replies: 7
- Views: 1967
Re: error while implementing inventory
Error 1: NameError: name 'inventory' is not defined $ current_money = inventory.money $ inventory = Inventory() Note you're using inventory.money before inventory was declared. Also, if your inventory is going to manage the money, there seems little point of using the variable current_money Error 2...
- Fri May 25, 2018 5:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: error while implementing inventory
- Replies: 7
- Views: 1967
error while implementing inventory
money worked fine up until now, but now that i've added in a placeholder inventory system (it's someone else's example for now) it's starting to give me weird errors. For reference, I'm just trying to allow the game to show the money count on screen- and have it cooperate with the inventory system. ...
- Thu May 24, 2018 1:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: money variable not defined
- Replies: 6
- Views: 927
Re: money variable not defined
Where did you get the code from to show your money this way? It's way more complicated than it needs to be... You can use a screen to display your money with very few lines of code... screen money: zorder 999 frame: background None xalign 0.9 yalign 0.9 text "[goldcoins]" color "#fff...