I have, but I'm still really confused as to why my buttons won't show up. I'm still kind of new to this, sorry
EDIT: After hours of messing with it, I finally figured out what the issue was. Thanks for the help!
Search found 32 matches
- Sun May 06, 2018 3:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Expected Statement with Imagebuttons
- Replies: 4
- Views: 707
- Sun May 06, 2018 1:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Expected Statement with Imagebuttons
- Replies: 4
- Views: 707
Re: Expected Statement with Imagebuttons
This fixed the error, but my imagebuttons still aren't showing up. Any suggestions?
Thanks for the help so far
Thanks for the help so far
- Sat May 05, 2018 10:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Expected Statement with Imagebuttons
- Replies: 4
- Views: 707
Expected Statement with Imagebuttons
I'm using the Uncle Mugen imagebutton tutorial to help customize my textbox, but I keep getting an expected statement error. What should I do? My code: if show_quick_menu1: use quick_menu1 init -2 python: show_quick_menu1=False screen quick_menu1: imagebutton auto "SAVE.png" action ShowMen...
- Sat May 05, 2018 9:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'py can't find font?
- Replies: 2
- Views: 432
Ren'py can't find font?
I've tested this with 2 fonts now, and both times Ren'py is unable to find it? The font's installed on both my computer and it's in the game's folder and I've found no typos. I don't know what I'm doing wrong! Any help is appreciated.
- Sun Dec 31, 2017 4:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How do I make non-rectangular hotspots?
- Replies: 4
- Views: 748
- Sun Dec 31, 2017 12:07 am
- Forum: Ren'Py Questions and Announcements
- Topic: How do I make non-rectangular hotspots?
- Replies: 4
- Views: 748
How do I make non-rectangular hotspots?
I'm using imagemaps to make hotspots, and it just occurred to me that not all of my hotspots should be rectangular. How do I make a non-rectangular hotspot?
- Fri Dec 29, 2017 4:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Imagemap Problems
- Replies: 7
- Views: 1558
Re: Imagemap Problems
And here's the error I'm getting: I'm sorry, but errors were detected in your script. Please correct the errors listed below, and try again. File "game/script.rpy", line 51: Line is indented, but the preceding show statement statement does not expect a block. Please check this line's inde...
- Fri Dec 29, 2017 2:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Invalid syntax with naming player?
- Replies: 14
- Views: 2009
Re: Invalid syntax with naming player?
Even so, the player is still allowed to input the name in a weird case like "SerA" or "sERA" since those names are not listed. While it's not very likely that someone will write their name in such a weird way, there is that possibility. HOWEVER I just realized there is a faster ...
- Fri Dec 29, 2017 2:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Imagemap Problems
- Replies: 7
- Views: 1558
Re: Imagemap Problems
I am not an expert using imagemaps, but at first glance I can see some things: First: you must define the image "homepage idle.jpg" befor you can use the show statement. However, this is not necessary for an imagemap. To set an imagemap you need a Screen, not an image. Second: the action ...
- Thu Dec 28, 2017 8:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Invalid syntax with naming player?
- Replies: 14
- Views: 2009
Re: Invalid syntax with naming player?
The problem there is the way you are trying to exclude several names at the same time, instead of listing the names like ' Name, name, NAME ' try adding "or" conditions, something like this: if povname == "Sera" or povname == "sera" or povname == "SERA": &quo...
- Thu Dec 28, 2017 8:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Imagemap Problems
- Replies: 7
- Views: 1558
Imagemap Problems
I'm rather new to Imagemaps, so I decided to use this tutorial: https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=46229 I've done everything she said, but I can't get my code to work. Here's my code: show "homepage idle.jpg" imagemap: idle "homepage idle.jpg" hover "...
- Thu Dec 28, 2017 7:44 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Invalid syntax with naming player?
- Replies: 14
- Views: 2009
Re: Invalid syntax with naming player?
Yeah, I just noticed the mistake, we are inside a python block so it is shown in the console but not in ren'py. The $ symbol is used for sigle-line python statements, which is super helpful. I didn't know you wanted the game to make you select another name :P . Try with this one, I just tested it a...
- Thu Dec 28, 2017 7:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Invalid syntax with naming player?
- Replies: 14
- Views: 2009
Re: Invalid syntax with naming player?
Yeah, I just noticed the mistake, we are inside a python block so it is shown in the console but not in ren'py. The $ symbol is used for sigle-line python statements, which is super helpful. I didn't know you wanted the game to make you select another name :P . Try with this one, I just tested it a...
- Thu Dec 28, 2017 5:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Invalid syntax with naming player?
- Replies: 14
- Views: 2009
Re: Invalid syntax with naming player?
A single "=" is used to set something, if you want to check for equalty you should use double, i.e. "==" Try something like this: python: povname = renpy.input("Enter your name. If you don't put one, a name will be chosen automatically.") povname = povname.strip() if p...
- Thu Dec 28, 2017 1:08 am
- Forum: Ren'Py Questions and Announcements
- Topic: Invalid syntax with naming player?
- Replies: 14
- Views: 2009
Invalid syntax with naming player?
I'm trying to do a thing for when my player names themself. If they name theirself the same name as a character in the game, they'll get a message. It's kind of like in Undertale. Basically, I have my code for naming the player, which works well, but I don't know how to do the same-name thing. pytho...