Search found 10 matches

by ElonMuskIsMyDad
Sun May 16, 2021 5:47 pm
Forum: Ren'Py Questions and Announcements
Topic: NameError: The variable...doesn't exist
Replies: 2
Views: 879

NameError: The variable...doesn't exist

Hello, everyone! I've run into an issue with one of my screens. I've never had this issue before, but suddenly, my screen was rendered useless. Here's the error I'm receiving: [code] I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 284, i...
by ElonMuskIsMyDad
Tue Apr 27, 2021 8:19 pm
Forum: Ren'Py Questions and Announcements
Topic: User input -- numbers
Replies: 2
Views: 390

Re: User input -- numbers

That makes so much more sense. Thank you so much for your help!
by ElonMuskIsMyDad
Tue Apr 27, 2021 6:41 pm
Forum: Ren'Py Questions and Announcements
Topic: User input -- numbers
Replies: 2
Views: 390

User input -- numbers

Hello again, everyone. I've looked everywhere, but I can't find how to correctly allow a player to input an answer, let alone a numerical answer. Renpy gives me an error with this code, stating that I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy&qu...
by ElonMuskIsMyDad
Tue Jan 26, 2021 9:45 am
Forum: Ren'Py Questions and Announcements
Topic: How to create a point-based ending?
Replies: 2
Views: 343

Re: How to create a point-based ending?

Funny enough, I remembered to indent in the script, but not here. :lol:

I did forget the return. Thank you!
by ElonMuskIsMyDad
Mon Jan 25, 2021 11:05 pm
Forum: Ren'Py Questions and Announcements
Topic: How to create a point-based ending?
Replies: 2
Views: 343

How to create a point-based ending?

Hello, everyone! I've been reading through the threads for this specific question, but I'm still having a bit of trouble. I have a point system in place that works just fine, but I don't know how to code it so that seven points will jump the good ending. default points = 0 is what I have before the ...
by ElonMuskIsMyDad
Wed Jan 20, 2021 5:35 pm
Forum: Ren'Py Questions and Announcements
Topic: AttributeError: 'unicode' object has no attribute 'ogg'
Replies: 4
Views: 1148

Re: AttributeError: 'unicode' object has no attribute 'ogg'

Imperf3kt wrote: Wed Jan 20, 2021 5:21 pm You forgot to wrap your file name in quotation.

Add " to the start and end of the filename.

Code: Select all

play music "tokyo.ogg"
How embarrassing. Thank you so much! You really helped me out.
by ElonMuskIsMyDad
Wed Jan 20, 2021 5:07 pm
Forum: Ren'Py Questions and Announcements
Topic: AttributeError: 'unicode' object has no attribute 'ogg'
Replies: 4
Views: 1148

AttributeError: 'unicode' object has no attribute 'ogg'

Hey, everyone, I've looked everywhere online, but I haven't seen anyone with this specific issue. What's odd is that in the beginning of the game, the music plays just fine, but around line 700, it won't play. The music is copied to the game and audio folder, which had worked for all of the songs. D...
by ElonMuskIsMyDad
Sun Nov 29, 2020 4:21 pm
Forum: Ren'Py Questions and Announcements
Topic: "Say menuitems and captions cannot exist within the same menu."
Replies: 1
Views: 446

"Say menuitems and captions cannot exist within the same menu."

 Hello, everyone! This is the first time I have attempted to make choices in a game. The actual choices work just fine without label after_menu . When I wanted to "end" the menu, so to speak, I created label after_menu so I could continue on with coding the game. However, I think the game...