Search found 62 matches
- Tue Jul 05, 2016 5:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Fix Code?
- Replies: 3
- Views: 408
Re: Fix Code?
A simple improvement would be to change your If/else statements a little bit. # Instead of if result == "Group 1" and group1 == False: jump Group1v1 elif result == "Group 1" and group1 == True: jump Group1v2 # I would write if result == "Group 1": if group1 == False: ju...
- Mon Jul 04, 2016 8:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Would it be the best idea to update code?
- Replies: 6
- Views: 404
Re: Would it be the best idea to update code?
The reason I think it's likely negligible is because creating a new style is likely a one-time occurrence that happens during the game's initialization, and it probably takes less than 1/100th of a second even when done inefficiently. Given those time estimates, even if this new style made the creat...
- Mon Jul 04, 2016 5:45 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Android build problems] Ren'py can't detect JDK
- Replies: 5
- Views: 4892
Re: [Android build problems] Ren'py can't detect JDK
In your last screenshot, one of the entries says "C:\ProgramData\Oracle\Java\javapath". I think that's just the example path given in the tutorial, so you can safely remove that one. (You're correct in not removing any of the other entries though. That could cause all sorts of errors) The ...
- Mon Jul 04, 2016 5:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Would it be the best idea to update code?
- Replies: 6
- Views: 404
Re: Would it be the best idea to update code?
I don't know the details but I pretty sure any performance increase or decrease is negligible. Just use whatever style works for you.
- Mon Jul 04, 2016 3:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Android build problems] Ren'py can't detect JDK
- Replies: 5
- Views: 4892
Re: [Android build problems] Ren'py can't detect JDK
Try opening a command prompt window and entering "javac". If you get an unrecognized-command error you probably forgot to add the SDK to the PATH variable. Refer to: http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jdk-installation-windows.html#path for instructions on updatin...
- Sat Jul 02, 2016 8:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: persistent not being read properly
- Replies: 5
- Views: 804
Re: persistent not being read properly
Try changing
to
If 'persistent.E2_Kani_Flashback' evaluates to true, then that should definitely work.
Code: Select all
action If(persistent.E2_Kani_Flashback, Replay("E2_Kani_Flashback"))
Code: Select all
if persistent.E2_Kani_Flashback:
action Replay("E2_Kani_Flashback")
- Sun Jun 26, 2016 12:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help, error in installing keys and sdk
- Replies: 2
- Views: 405
Re: Help, error in installing keys and sdk
Reposting a response I gave in another thread: I recently had that problem with Android as well. I think some of the google-play libraries have gotten renamed preventing RAPT from finding them. I was able to get my Android build to work by: 1. Going into the RAPT android SDK folder (I:\renpy-6.18.3-...
- Mon Jun 20, 2016 5:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: Side Image Re sizing Problems
- Replies: 5
- Views: 904
Re: Side Image Re sizing Problems
If your using a function like im.Scale you can specify style properties as additional arguments.
So you can do something like:
to offset the image
So you can do something like:
Code: Select all
image side A = im.Scale("side_A.png", 300, 499, xoffset=100, yoffset=100)
- Mon Jun 20, 2016 5:10 am
- Forum: Ren'Py Questions and Announcements
- Topic: if statement for scrollbar?
- Replies: 4
- Views: 402
Re: if statement for scrollbar?
Setting the "unscrollable" property to "hide" might give you behavior you want.
Refer to https://www.renpy.org/doc/html/screens.html for which style properties screen elements have and https://www.renpy.org/doc/html/style_properties.html for descriptions of those properties.
Refer to https://www.renpy.org/doc/html/screens.html for which style properties screen elements have and https://www.renpy.org/doc/html/style_properties.html for descriptions of those properties.
- Sat Jun 18, 2016 10:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Matching Game Customization - Is It Possible???
- Replies: 3
- Views: 1077
Re: Matching Game Customization - Is It Possible???
It's more complicated but definitely possible.
(There are few things Renpy can't do if you put enough effort into it)
I did something similar for a project I worked on where there was a tetris-like minigame with a timer.
I can PM you some more details about the implementation I used if you want.
(There are few things Renpy can't do if you put enough effort into it)
I did something similar for a project I worked on where there was a tetris-like minigame with a timer.
I can PM you some more details about the implementation I used if you want.
- Fri Jun 17, 2016 10:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: python script causing Shift+R error
- Replies: 4
- Views: 541
Re: python script causing Shift+R error
Code: Select all
config.python_callbacks.append(maxhp)
- Wed Jun 15, 2016 11:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help! Error
- Replies: 2
- Views: 485
Re: Help! Error
I think Renpy has trouble loading files with spaces in its path.
Try replacing all space characters in your image names with underscores (ex: 'bg_forest_autum_ns.png' instead of 'bg forest autum ns.png').
(And don't forget to update the script itself to reflect the new names)
Try replacing all space characters in your image names with underscores (ex: 'bg_forest_autum_ns.png' instead of 'bg forest autum ns.png').
(And don't forget to update the script itself to reflect the new names)
- Sun Jun 12, 2016 2:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using an alphamask without the alpha being visible
- Replies: 4
- Views: 2299
Re: Using an alphamask without the alpha being visible
This masking image needs to be a part of the live composite, because it needs to inherit the positional data of the live composite itself The 'AlphaMask' component is positioned relative to the LiveComposite it is in automatically. Adding a second AlphaImage to the LiveComposite should have no effe...
- Sat Jun 11, 2016 8:27 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Using an alphamask without the alpha being visible
- Replies: 4
- Views: 2299
Re: Using an alphamask without the alpha being visible
I've got it working to the point that the alpha layer animates properly Odd. When I tried to replicate your example I couldn't get the positional part of the animation to work at all. Which version of Renpy are you using? In general using ATL transforms that change the position of 'TargetImage' or ...
- Thu Jun 09, 2016 11:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: .exe Icon Troubles
- Replies: 1
- Views: 383
Re: .exe Icon Troubles
It can take a while for the .exe icon to update on your computer even if you did everything correctly.
Restart the windows explorer (Googling "restart windows explorer" gives a nice list of instructions) or just restart your computer entirely to check whether the icon is actually incorrect.
Restart the windows explorer (Googling "restart windows explorer" gives a nice list of instructions) or just restart your computer entirely to check whether the icon is actually incorrect.