Search found 92 matches
- Mon May 27, 2019 1:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Showing a screen or another one after labels or screens
- Replies: 4
- Views: 531
Re: Showing a screen or another one after labels or screens
i think you should provide exact code you need to fix because usually there are no problem to make a switch between shown statements whatsoever. screen map_switch if condition: use map1 else: use map2 label mapswitch: if condition: call screen map1 else: call screen map2 both approaches should work ...
- Sun May 12, 2019 4:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Question] Selling Your Game in Parts
- Replies: 3
- Views: 166
Re: [Question] Selling Your Game in Parts
1) https://www.renpy.org/dev-doc/html/pers ... Persistent here is official example of exactly what you want.
2) This marketing strat is famous for being frantically hated, thus I doubt it is optimal in terms of profit. But it's up to you
2) This marketing strat is famous for being frantically hated, thus I doubt it is optimal in terms of profit. But it's up to you

- Sun May 12, 2019 4:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Help] invaild syntax, I don't know what's wrong
- Replies: 1
- Views: 87
Re: [Help] invaild syntax, I don't know what's wrong
Code: Select all
init python:
def ending(truth):
global goodending
global badending
if truth >=0:
renpy.jump(goodending)
else:
renpy.jump(badending)
return
- Fri May 10, 2019 11:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: how do i animate the main menu's background, like what DDLC did?
- Replies: 2
- Views: 135
Re: how do i animate the main menu's background, like what DDLC did?
You can make animated displayable using "Animation and Transformation Language" https://www.renpy.org/doc/html/atl.html And then place it into main_menu screen, which is usually located in screens.rpy. Search "screen main_menu" Screens are operated with Screens Language https://www.renpy.org/doc/htm...
- Fri May 10, 2019 5:10 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to create a parallax in the main menu
- Replies: 7
- Views: 534
Re: How to create a parallax in the main menu
whoops, just realized my remarks indented in a misleading way. this would be more clear def event(self, ev, x, y, st): #insert here if x<0 or y<0: return #rest of code here in case of further hardships there is tested worknig example code #to run this toss any image into images dir of your project a...
- Thu May 09, 2019 11:37 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to create a parallax in the main menu
- Replies: 7
- Views: 534
Re: How to create a parallax in the main menu
Would you happen to know how to stop it from getting into its original position when the cursor goes past the edge of the window? on that occasion both x and y on UDD's 'event' section gain -1 value. so you just need to if these values out insertion suggested below is somewhat brutal, but might wor...
- Tue May 07, 2019 10:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: Pause UDD from screen?
- Replies: 2
- Views: 146
Re: Pause UDD from screen?
Just made my example for UDD which pauses when enters game menu (right click). Not pretty, but you can utilize it if nothing better comes along. Hope it helps :wink: init python: config.layers.append('X') def any(list): for item in list: if item: return True return False class Paused(renpy.Displayab...
- Mon Feb 18, 2019 2:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to create a parallax in the main menu
- Replies: 7
- Views: 534
Re: How to create a parallax in the main menu
I also tried using this image tracking code provided by PyTom in this Topic: https://lemmasoft.renai.us/forums/viewtopic.php?t=28495 This worked, but I have no clue how to tinker with it even after reading the CDD renpy page. I would like for the background image to follow the cursor, but only slig...
- Fri Feb 15, 2019 11:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: (solved)How do I script a reposition of drag within a screen?
- Replies: 2
- Views: 120
Re: How do I script a reposition of drag within a screen?
Maybe (untested) $ renpy.get_widget( "say", "screen_say" ).snap( 0, 400, 0.5 ) Thanks! That surely did lead to a working solution. Although it won't work like this because no say screen is shown when $ scripts are executed, hence get_widget returns None instead of a widget. So there is some tricky ...
- Thu Feb 14, 2019 4:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: (solved)How do I script a reposition of drag within a screen?
- Replies: 2
- Views: 120
(solved)How do I script a reposition of drag within a screen?
Let's say I have a screen with a draggable object inside screen say(who, what): style_prefix "say" drag: drag_name 'screen_say' window: id "window" if who is not None: window: id "namebox" style "namebox" text who id "who" text what id "what" and I want it to move into a certain position, ideally wi...
- Thu Feb 14, 2019 3:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: how do I make text skippable on first read?
- Replies: 3
- Views: 154
Re: how do I make text skippable on first read?
How about you try.. label boring_part: $ _skipping = True 'lines of boring text which you can skip' 'more lines of boring text which you can skip' 'even more lines of boring text which you can skip' #dozens of boring lines but we skipped them #this text shouldn't be skippable if unseen and not opte...
- Wed Feb 13, 2019 5:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: how do I make text skippable on first read?
- Replies: 3
- Views: 154
how do I make text skippable on first read?
I need some part of my story to behave like user already read it. i.e be skippable with 'skip' feature right away on the first run, even if 'skip unseen text' preference is off. I think something like "register" these lines as already seen, would be ideal solution. Can I do it? #this text should be ...
- Tue Jan 29, 2019 7:42 am
- Forum: Development of Ren'Py
- Topic: Ren'Py Gripes
- Replies: 507
- Views: 113867
Re: Ren'Py Gripes
Made some silly mouth animation. default preferences.text_cps = 200 image talking_mouth: 'talking_mouth_1' 1/preferences.text_cps 'talking_mouth_2' 1/preferences.text_cps 'talking_mouth_3' 1/preferences.text_cps 'talking_mouth_4' 1/preferences.text_cps 'talking_mouth_5' 1/preferences.text_cps 'talki...
- Sun Jan 27, 2019 5:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: can I inherit overridden screen?
- Replies: 0
- Views: 141
can I inherit overridden screen?
I have a third party RenPy application and i want to mod it placing my .rpy file over it. It will override a screen, which i know would be changed over time and i want my override to sustain the changes, so a rewrite of entire screen is not a preferable option. Instead i want to append some overlay,...
- Sat Jan 26, 2019 4:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: (solved)how do i make a bar glow while hovered
- Replies: 4
- Views: 172
Re: how do i make a bar glow while hovered
Yep, that's work. Thank you, IrinaLazareva!IrinaLazareva wrote: ↑Sat Jan 26, 2019 4:08 pmtry to replacetoCode: Select all
bar value FieldValue(persistent,'custom_value',1.0,step=.01)
Code: Select all
bar value FieldValue(persistent,'custom_value',1.0,step=.01) style 'pref_slider'