Search found 15 matches
- Fri May 12, 2023 11:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Show a renpy Displayable stored in a Python class?
- Replies: 1
- Views: 226
Show a renpy Displayable stored in a Python class?
What would you good folk say is the proper way show a renpy Displayable who is in the attribute of a Python class? Somehow it seems different from calling something like a renpy "Character". The code below works: init -999 python: class uo_character: def __init__(self, p_name): self.name =...
- Sun Dec 20, 2020 9:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Renpy, PyGames and OpenGL in 2021
- Replies: 1
- Views: 865
Renpy, PyGames and OpenGL in 2021
I built a wee minigame in pygame and OpenGL. The OpenGL is for loading a model with some bones while the pygame is for mouse position and clicks. Now I would like to call it in the VN. However it appears that pygame/renpygame is no longer supported, as importing from pygame.locals import * (or renpy...
- Sat Sep 19, 2020 5:26 pm
- Forum: Creator Discussion
- Topic: Code Planning.
- Replies: 1
- Views: 3347
Code Planning.
Hello gamers, I hope y'all be having an EPIC reopening. Leave a like and subscribe if you want Corona to yeet itself before Christmas. I'm going to start my second Ren'py game and this one will be a little bit more robust. The goal is to make a commercial publish and as such I can't afford to be slo...
- Sun Sep 02, 2018 11:05 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] PushMove - Don't push everything.
- Replies: 2
- Views: 530
Re: [SOLVED] PushMove - Don't push everything.
Smooth as silk! Thanks PyTom.
In case someone ends in this thread, all I did was:
Just like it's explained here
thanks again, cheers!
In case someone ends in this thread, all I did was:
Code: Select all
define pushleft_master = { "master" : pushleft }
define pushright_master = { "master" : pushright }
show overlay onlayer otherlayer
thanks again, cheers!
- Sat Sep 01, 2018 1:46 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] PushMove - Don't push everything.
- Replies: 2
- Views: 530
[SOLVED] PushMove - Don't push everything.
I'm using the PushMove transition to give the impression of turning the head to look around. Looks great but I run into a imbroglio. PushMove, as is described in the transitions page "works by taking the new scene and using it to "push" the old scene off the screen." But I would ...
- Thu Aug 09, 2018 6:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Local labels broke on build.
- Replies: 6
- Views: 999
Re: Local labels broke on build.
I experimented compiling with the labels on the back row, they behave the same. Also both indentations work on the preview. While doing that I realized there is a option called "Add from clauses to calls". I unchecked it and it compiled, I tested the game and the local calls seems to be wo...
- Wed Aug 08, 2018 4:05 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Local labels broke on build.
- Replies: 6
- Views: 999
Re: Local labels broke on build.
I didn't noticed the lack of space between the call and the dot, thanks for pointing it out. Some calls were lacking spaces while others were not, but both worked in the preview and both calls got the same error messages. Just to be sure I corrected all of the lacking spaces and tried to compile aga...
- Tue Aug 07, 2018 11:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: Local labels broke on build.
- Replies: 6
- Views: 999
Re: Local labels broke on build.
Hi Sr.Pytom, thanks for answering
I'm on version 7.0.0.196, clicking on update tells me it's up to date. I verified the "download latest" on the webpage and the download is also a .196 version.
I'm on version 7.0.0.196, clicking on update tells me it's up to date. I verified the "download latest" on the webpage and the download is also a .196 version.
- Mon Aug 06, 2018 4:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Local labels broke on build.
- Replies: 6
- Views: 999
Local labels broke on build.
I had an unexpected problem during the build where the local labels broke and the code was changed. This person describes the problem better than I can. And it gives this error for each line calling a local label: File "game/cards.rpy", line 434: expected 'label_name_declare' not found. ca...
- Mon Jul 30, 2018 1:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Multi-language voice
- Replies: 3
- Views: 638
Re: Multi-language voice
Thank you Remix, it solved my problem as well. But how come "get_voice_file_name" takes a parameter but is called without one?
Where is identifier coming from?
Code: Select all
def get_voice_file_name(identifier):
...
config.auto_voice = get_voice_file_name
- Sun Jul 29, 2018 8:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Renpy severely reducing volume of voice files
- Replies: 9
- Views: 2060
Re: Renpy severely reducing volume of voice files
While you are at that, do you mind posting the code for your " config.auto_voice = "voice/{id}.ogg" " too?
- Wed Jul 18, 2018 4:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: Recommended practices for "multiple and separate storylines" structure?
- Replies: 2
- Views: 517
Re: Recommended practices for "multiple and separate storylines" structure?
If you mean a way to write the narrative like that I am short on ideas, but to organize the structure of the project as in the folders and scripts here is what I would do. root: Common Asset (image or music or sfx etc): common assets A asset B asset... [/color] main script.rpy main screens.rpy [/b] ...
- Wed Jul 18, 2018 12:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: Author tracking Game Data
- Replies: 2
- Views: 883
Re: Author tracking Game Data
Interesting idea. Now I far as I researched, RenPy can not be easily ported to play online in a web browser, so the easy solution of having a webpage send it to you might not be so straightforward. The way I would go about it: create a very basic class that contains whatever you wish to know about t...
- Sat Jul 07, 2018 8:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: NameError: name 'zoom' is not defined
- Replies: 3
- Views: 962
Re: NameError: name 'zoom' is not defined
I was under the impression the property should return me a float because of this part in the atl documentation. I'm still a little bit confused, I see that the zoom is not a variable (as I though it was) but is there a way I could check the value of this property to store it in a variable of mine? (...
- Fri Jul 06, 2018 10:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: NameError: name 'zoom' is not defined
- Replies: 3
- Views: 962
NameError: name 'zoom' is not defined
Hello, I'm having a strange problem where Python will not accept my attemp at passing a property as a parameter, it goes as follow: Line 67: show bg dream at daughter_crop with dissolve Line 29: transform daughter_crop: linear .75 subpixel True xpos 0.0 ypos 0.0 xanchor 0.0 yanchor 0.0 zoom 2.58 ro...