Of course it doesn't work.
Variable definitions are not retroactives.
So, if you increase time_in_minutes +1, only this variable increase, not any other one.
You had to call a function or do instructions that update all other values (like hours and days), THEN do those checks.
Search found 835 matches
- Mon Aug 01, 2016 9:45 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Coding time based events based on clock
- Replies: 6
- Views: 543
- Mon Aug 01, 2016 9:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Using aflter_load label
- Replies: 5
- Views: 2216
Re: Using aflter_load label
It lack the RETURN statement at the end of the after_load instructions.
- Mon Aug 01, 2016 5:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Question about Callback for both bleeps and mouth movements.
- Replies: 6
- Views: 1909
Re: Question about Callback for both bleeps and mouth moveme
I hope you understand this. You can create ONE function to call, that execute both tasks. Try this (unsure, I can't test it right now). init python: # This is set to the name of the character that is speaking, or # None if no character is currently speaking. speaking = None # This returns speaking i...
- Mon Aug 01, 2016 4:39 pm
- Forum: Development of Ren'Py
- Topic: Request: Showing two languages in one interaction.
- Replies: 4
- Views: 910
Re: Request: Showing two languages in one interaction.
Didnt use the translation feature so far but is it possible to have for example even the english text in the japanese version? (thus the first row is the translation into japanese for that text)? You translate the text by changing the actual text with other tenses, so, technically speaking, yes you...
- Sun Jul 31, 2016 7:44 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How can I to turn off Quick Menu?
- Replies: 2
- Views: 2106
Re: How can I to turn off Quick Menu?
# If there's a side image, display it above the text. if side_image: add side_image else: add SideImage() xalign 0.0 yalign 1.0 # Use the quick menu. use quick_menu <<<<< delete this line in the screens.rpy file, in the say screen. As above, remove "use quick_menu" statement in the screen...
- Sat Jul 30, 2016 10:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Ideal Resolution Size for Desktop + Mobile
- Replies: 3
- Views: 1024
Re: Ideal Resolution Size for Desktop + Mobile
A good standard resolution to work with nowadays is 1280*720. It fit almost everywhere. Also mind that, thank to VARIATIONS, you can actually create scaled down version of the same gui/images without any need for extra stuff for lower resolutions (like tablet). The upcoming release (6.9.11) will foc...
- Sat Jul 30, 2016 10:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Adding in game menu to imagemap screens - how to?
- Replies: 3
- Views: 369
Re: Adding in game menu to imagemap screens - how to?
screen citymapoverviewchoices: imagemap: ground "images/citymapoverviewbasicdaytime.png" hover "images/citymapoverviewbasicdaytimehover.png" hotspot (6, 87, 195, 45) clicked Return("beach") hotspot (770, 75, 195, 45) clicked Return("police") hotspot (750, 165...
- Sat Jul 30, 2016 9:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Custom Positions Causing Floating Characters [SOLVED]
- Replies: 4
- Views: 499
Re: Custom Positions Causing Floating Characters
Code: Select all
transform centerright: #between center and right
xpos 0.65
yanchor 1.0
ypos 1.0
https://i.gyazo.com/fae96e896e8ff472d37 ... 53cb95.png
- Sat Jul 30, 2016 4:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: adding game mechanics like Cytus musical game in renpy?
- Replies: 4
- Views: 1119
Re: adding game mechanics like Cytus musical game in renpy?
Of course developers will NOT consider this feature, not even in thousand years. Anyway, if you feel brave, you need to study: Ren'py, screen language, user defined displayable, timer Python at an average degree, and maybe PyGame libraries. When you're ready, chances are you don't need to ask any qu...
- Thu Jul 28, 2016 8:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Saveslot Delete issue (solved)
- Replies: 7
- Views: 711
Re: Saveslot Delete issue
1: KEY must be tied to the single button, as a child. The way you define it is tied to the screen as a whole (that's why it work on the latest save).
2: BUTTON can have childs, IMAGEBUTTON not at all.
So change your imagebuttons to buttons.
2: BUTTON can have childs, IMAGEBUTTON not at all.
So change your imagebuttons to buttons.
- Fri Jul 22, 2016 11:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Long background image for imagemap
- Replies: 8
- Views: 967
Re: Long background image for imagemap
You have a very simple solution: change the x coordinate of the hotspots.
- Fri Jul 22, 2016 11:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: New to Renpy and Coding in general, need help :)
- Replies: 21
- Views: 2686
Re: New to Renpy and Coding in general, need help :)
The reply to your last question is: yes.
- Fri Jul 22, 2016 4:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How can I position the text instead of just centering it?
- Replies: 3
- Views: 1297
Re: How can I position the text instead of just centering it
Yes, with ParameterizedText you can create then associate a style (outlines included).
https://www.renpy.org/doc/html/text.htm ... splayables
https://www.renpy.org/doc/html/text.htm ... splayables
- Fri Jul 22, 2016 4:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How can I position the text instead of just centering it?
- Replies: 3
- Views: 1297
Re: How can I position the text instead of just centering it
Don't use a character. Use a text displayable.
- Wed Jul 20, 2016 4:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animated sprite won't center.
- Replies: 4
- Views: 377
Re: Animated sprite won't center.
Create a transformation and apply it to the image.