Search found 159 matches
- Thu Jan 23, 2014 10:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Reading files in RenPy
- Replies: 5
- Views: 1940
Re: Reading files in RenPy [resolved]
Ahh, I found it. After putting the renpy.file() in, I messed with the filename just to be sure it wasn't that. Apparently when changing it back, I didn't do it exactly right. The file list listed it as "page_template.xml.xml" All clear now. Thank you. I didn't even know there was a filename list but...
- Thu Jan 23, 2014 9:56 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Reading files in RenPy
- Replies: 5
- Views: 1940
Re: Reading files in RenPy
Still nothing, I'm afraid. I even tried testing renpy.file() independently:
but got the mostly same error: "IOError: Couldn't find file 'page_template.xml'." This time it isn't errno 2, but unfortunately that doesn't mean much to me.
Code: Select all
formatTest = renpy.file('page_template.xml')- Thu Jan 23, 2014 9:40 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Reading files in RenPy
- Replies: 5
- Views: 1940
Reading files in RenPy
In my current project I'm using the ElementTree module to read game data from XML files. (with the module, in python it looks like: init python: import xml.etree.ElementTree as ET import math import renpy.store as store import renpy.exports as renpy formatTest = ET.parse('page_template.xml').getRoot...
- Thu Jan 23, 2014 9:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: dynamic screen resizing
- Replies: 5
- Views: 1673
Re: dynamic screen resizing [solved]
I agree that it's better to maintain an aspect ratio than not have black bars, I just wanted to know if there was some way to get as close to the players' native resolutions as possible. That multiple aspect ratio option will work great. Thanks for the help!
- Tue Jan 21, 2014 12:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: dynamic screen resizing
- Replies: 5
- Views: 1673
Re: dynamic screen resizing
I must not have messed with the preference menu much last time I worked with RenPy. That makes things easier. I should probably qualify a little better on the resizing thing. It's not resizing the window I'm unsure how to do, it's having the game itself resize when the player expands the window. As ...
- Tue Jan 21, 2014 12:23 am
- Forum: Ren'Py Questions and Announcements
- Topic: RenPy Update Error
- Replies: 2
- Views: 846
Re: RenPy Update Error
So it is.
- Mon Jan 20, 2014 11:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: dynamic screen resizing
- Replies: 5
- Views: 1673
dynamic screen resizing
So knowing that the window dimensions are set during init and the fullscreen setting is only run the first time you run a game, is it possible to set up a system to allow players to turn on and off fullscreen during gameplay? Related: Is there a way to dynamically change the game's dimensions based ...
- Mon Jan 20, 2014 10:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: RenPy Update Error
- Replies: 2
- Views: 846
RenPy Update Error
Whenever I try to set the editor or prompt RenPy to update, it stops after about a second of trying and spits out the message "An error has occurred. Could not verify update signature." While manually downloading an editor did eventually seem to trick the sdk into setting the editor, the error still...
- Mon Apr 22, 2013 1:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: visible, but inactive menu options
- Replies: 6
- Views: 849
Re: visible, but inactive menu options
still not quite the same thing, I'm afraid.
It's not that the button shouldn't do anything, it's that it should bi visible, but un-selctable. Greyed and inactive.
At this point I think I'll just have to make my own custom menu that can do that
It's not that the button shouldn't do anything, it's that it should bi visible, but un-selctable. Greyed and inactive.
At this point I think I'll just have to make my own custom menu that can do that
- Sun Apr 21, 2013 4:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: visible, but inactive menu options
- Replies: 6
- Views: 849
Re: visible, but inactive menu options
Yeah, That's what I've done in the meantime.
It would be a neat little feature, though, I think. There's something different about a choice that's there, but you can't touch.
It would be a neat little feature, though, I think. There's something different about a choice that's there, but you can't touch.
- Sun Apr 21, 2013 2:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: visible, but inactive menu options
- Replies: 6
- Views: 849
visible, but inactive menu options
Is there a way I can get a menu: to have an inactive, but visible option in it? It's just an aesthetic thing I'd like to have, and I'm curious if there's some simple way to do it before I go and make my own custom menus.
- Sun Mar 31, 2013 12:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: store.object class variable doesn't save
- Replies: 2
- Views: 767
Re: store.object class variable doesn't save
I was having the class inherit from renpy.python.NoRollback, and I needed the lists to be included in that. It's not inheriting from it now because I thought that might have been a cause of the saving issue, but I've since ruled that out. It's kind of hackey and inefficient, but I suppose I could de...
- Sat Mar 30, 2013 2:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: store.object class variable doesn't save
- Replies: 2
- Views: 767
store.object class variable doesn't save
I even define all the objects after the start label so they should be in savable space. If you roll back, it's djankey, but it does undo changes to the class, so why wouldn't it save normally? Aren't the basically the same thing? The part that I can see the easiest are those two lists at the top: Ma...
- Sat Mar 23, 2013 1:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: TypeError: __init__() takes exactly 2 arguments [solved]
- Replies: 2
- Views: 504
Re: TypeError: __init__() takes exactly 2 arguments from Pla
Right. Not sure why I didn't catch that. Thanks.
- Sat Mar 23, 2013 12:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: TypeError: __init__() takes exactly 2 arguments [solved]
- Replies: 2
- Views: 504
TypeError: __init__() takes exactly 2 arguments [solved]
When I hit this line of code: on "hide" action If( (destination.locName == "The Train"), true=Play("music", "sounds/trainAmbience.wav", fadein=1.0), false=Stop("music", "sounds/trainAmbience.wav", fadeout=0.5) ) I get a "TypeError: __init__() takes exactly 2 arguments (4 given)" Seeing as none of th...