Search found 26 matches

by Doeny
Mon Oct 03, 2022 5:22 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Calling more than one screen
Replies: 2
Views: 234

[Solved] Calling more than one screen

Hi, I tried creating a screen with imagebutton that calls another screen, however the 2nd screen overrides the 1st one. Is there a way to display two screens at once, without using "show screen" function?
by Doeny
Wed Sep 28, 2022 7:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Call / Call Screen error
Replies: 3
Views: 283

Re: Call / Call Screen error

Is this a complete error message? It looks like part of backtrace with actual error missing. Here's the rest from full traceback message, but I'm not sure how much of it actually refers to calls itselves: File "D:\renpy-8.0.2-sdk\renpy\ast.py", line 2115, in execute if renpy.python.py_eval(conditio...
by Doeny
Wed Sep 28, 2022 7:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Call / Call Screen error
Replies: 3
Views: 283

Call / Call Screen error

So basically for some reason this happened to nearly every call function in my code. It doesn't stop game from working but it shows off when another error appears and I feel like it's highly lowering game's permormance. Any ideas how to fix it? While running game code: File "game/continue.rpy", line...
by Doeny
Mon Sep 19, 2022 2:18 am
Forum: Ren'Py Questions and Announcements
Topic: (solved) About rounding numbers
Replies: 2
Views: 286

Re: About rounding numbers

laure44 wrote:
Mon Sep 19, 2022 1:05 am
Doeny wrote:
Mon Sep 19, 2022 12:28 am
Hi, I need help with rounding numbers to hundredth part/2nd space after comma. Can i do it in a simple way or do I have to write an individual code for that?

Code: Select all

round(num,2)
Thx, I got it
by Doeny
Mon Sep 19, 2022 12:28 am
Forum: Ren'Py Questions and Announcements
Topic: (solved) About rounding numbers
Replies: 2
Views: 286

(solved) About rounding numbers

Hi, I need help with rounding numbers to hundredth part/2nd space after comma. Can i do it in a simple way or do I have to write an individual code for that?
by Doeny
Thu Sep 08, 2022 11:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] AttributeError: type object 'Player' has no attribute 'equipment'
Replies: 6
Views: 281

Re: AttributeError: type object 'Player' has no attribute 'equipment'

laure44 wrote:
Thu Sep 08, 2022 9:11 pm
I did test it on a fresh game and it works fine. Perhaps you should try to rename pc to something else, just to make sure the error doesn't come from that.
I changed it and now it works well. Thank you very much!
by Doeny
Thu Sep 08, 2022 7:06 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] AttributeError: type object 'Player' has no attribute 'equipment'
Replies: 6
Views: 281

Re: AttributeError: type object 'Player' has no attribute 'equipment'

Ocelot wrote:
Thu Sep 08, 2022 6:14 pm
Are you sure that parentheses are there and nothing else overwrites pc anywhere?
Yeah, it's the only time I use it. Nothing's overwriting it.
by Doeny
Thu Sep 08, 2022 5:58 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] AttributeError: type object 'Player' has no attribute 'equipment'
Replies: 6
Views: 281

Re: AttributeError: type object 'Player' has no attribute 'equipment'

Ocelot wrote:
Thu Sep 08, 2022 5:53 pm
It seems that pc is not an object of type 'Player', but type itself.
What do you mean? I have pc defined in the script file :
default pc = Player()
by Doeny
Thu Sep 08, 2022 5:38 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] AttributeError: type object 'Player' has no attribute 'equipment'
Replies: 6
Views: 281

[Solved] AttributeError: type object 'Player' has no attribute 'equipment'

So I'm trying to make an equipment screen, but for some reason I'm heading an error which main part you can see below: File "renpy/common/000statements.rpy", line 609, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "game/inventory.rpy", line 10, in execute scree...
by Doeny
Wed Sep 07, 2022 8:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Lists to create an inventory with specified slots for different type of equipment.
Replies: 1
Views: 265

Lists to create an inventory with specified slots for different type of equipment.

I've spent days on searching for a solution or tutorial, but the only one that'd fit by Elaine turned out to lead to some absurd bugs, like Renpy not reading some attributes. Do you have any idea or maybe already tested script that i could use?
by Doeny
Wed Sep 07, 2022 8:37 pm
Forum: General Discussion
Topic: What anime or game do you consider to have great music?
Replies: 6
Views: 2747

Re: What anime or game do you consider to have great music?

All the "Kimi no na wa" movie ost, or other tracks by Radwimps