Search found 8 matches

by GoldenGob
Wed Apr 17, 2024 7:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems updating certain projects to Renpy 8 from Renpy ~7.5
Replies: 4
Views: 288

Re: Problems updating certain projects to Renpy 8 from Renpy ~7.5

1) you are trying to sort a list containing dictionaries. To do that Python applies operator < to dictionaries. Support for dict comparison was experimental and undocumented (read: should not be used) in Python2 and was completely removed in Python 3. 2) I am not sure there, but it could be constan...
by GoldenGob
Tue Apr 16, 2024 7:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems updating certain projects to Renpy 8 from Renpy ~7.5
Replies: 4
Views: 288

Re: Problems updating certain projects to Renpy 8 from Renpy ~7.5

Another piece of code that's not porting to Renpy 8. For some reason the two added sprites (cars) are not showing up, they did with Renpy 7. screen game_scr(): #### This part will let us interact with the screen. # Put it under the "timer_on" trigger to be able to show it # to the player w...
by GoldenGob
Tue Apr 16, 2024 7:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems updating certain projects to Renpy 8 from Renpy ~7.5
Replies: 4
Views: 288

Problems updating certain projects to Renpy 8 from Renpy ~7.5

Hey all! I've run into problems with some parts of my code with my projects, particuarly my minigame code. It works with version 7 but when I run the project on renpy 8 it throws up errors. I've searched the renpy 8 incompatibility list and couldn't find the reason why the code isn't working, so I'm...
by GoldenGob
Sat Dec 10, 2022 2:07 am
Forum: Ren'Py Questions and Announcements
Topic: Issue with Inventory system after reload save
Replies: 7
Views: 1044

Re: Issue with Inventory system after reload save

Alex wrote: Tue Dec 06, 2022 3:20 pm

And also, do you have

Code: Select all

default inventory = Inventory()
?
Yes. It's in my variables initiated by init:
by GoldenGob
Mon Dec 05, 2022 9:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Issue with Inventory system after reload save
Replies: 7
Views: 1044

Re: Issue with Inventory system after reload save

I fixed it. I had to default the items themselves. chocolate = Item("Chocolate", hp=40, image="gui/inv_chocolate.png") banana = Item("Banana", mp=20, image = "gui/inv_banana.png") IceCream = Item("Ice Cream", mp=20, image = "images/Objects/inv_I...
by GoldenGob
Mon Dec 05, 2022 9:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Issue with Inventory system after reload save
Replies: 7
Views: 1044

Re: Issue with Inventory system after reload save

... What's the code for 'inventory' declaration? The first code segment posted above contains everything regarding the inventory, but I used: $ inventory.drop(BeachBikini) To remove an object, which led to a crash after I reloaded the save. I'm not exactly sure what you mean by declaration. class I...
by GoldenGob
Fri Dec 02, 2022 11:08 am
Forum: Ren'Py Questions and Announcements
Topic: Issue with Inventory system after reload save
Replies: 7
Views: 1044

Re: Issue with Inventory system after reload save

Would really appreciate any input!
by GoldenGob
Sun Nov 27, 2022 5:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Issue with Inventory system after reload save
Replies: 7
Views: 1044

Issue with Inventory system after reload save

Hello all! I've been developing a visual novel for some time and have run into an issue regarding my inventory system, this code is based of another's so I haven't fully understood it. It has worked well but has one glaring flaw whenever I reload a save, being that whatever items are there are not r...