Search found 29 matches
- Wed Jul 28, 2021 3:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to draw&update 2500(50x50) tiles
- Replies: 1
- Views: 1758
How to draw&update 2500(50x50) tiles
Usecase: - a board game with 50x50 tiles (or more) - tiles will change as the game progress, so they need to be updated (on click - and automatically) - the board has row and column headers that needs to update (highlight/change color) as the mouse moves around over the board I've tried with image b...
- Wed Jul 14, 2021 7:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to know in which language is the game right now?
- Replies: 9
- Views: 1028
- Tue Jul 13, 2021 1:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to know in which language is the game right now?
- Replies: 9
- Views: 1028
Re: Is there a way to know in which language is the game right now?
Your viewport has no dimension or position? Are those screenshots of the whole screen? or partials? It looks to me like the texts are both centered around the same point - which isn't far from the right edge of the center blue area in your widget. Ie. the middle of each text lines up with each other...
- Tue Jul 13, 2021 1:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Showing two languages in-game simultaneously
- Replies: 7
- Views: 1646
Re: Showing two languages in-game simultaneously
Just how small is your screen.... (and do you only have one???) that you can't have two instances side by side - So that you can see both at once.
You sure demand a lot without being willing to put in the minimum effort yourself (like clicking an extra time with the mouse...)
You sure demand a lot without being willing to put in the minimum effort yourself (like clicking an extra time with the mouse...)
- Tue Jul 13, 2021 1:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Confirmed BUG] imagebutton with animated image(atl) behaves strangely
- Replies: 1
- Views: 2038
Re: imagebutton with animated image(atl) behaves strangely [BUG?]
Confirmed as buggy - partial fix is in : https://github.com/renpy/renpy/issues/2 ... -877547702
- Mon Jul 12, 2021 6:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Showing two languages in-game simultaneously
- Replies: 7
- Views: 1646
Re: Showing two languages in-game simultaneously
How about simply having two instances of the same game running at the same time.
One for each language.
No change or coding needed.
One for each language.
No change or coding needed.
- Mon Jul 12, 2021 3:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Rewinding
- Replies: 3
- Views: 1166
Re: Rewinding
A minimal code example showing the behavior would go a long way to figure out if it's a Renpy bug or (more likely) something in your code.
- Mon Jul 12, 2021 3:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] I set all displayables to keyboard_focus = False, yet one of them still gains focus via arrow key.
- Replies: 9
- Views: 994
Re: I set all displayables to keyboard_focus = False, yet one of them still gains focus via arrow key. Anyone know why?
It would really help if you posted some code - A million things could be wrong...
- Mon Jul 12, 2021 3:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to know in which language is the game right now?
- Replies: 9
- Views: 1028
Re: Is there a way to know in which language is the game right now?
ah yes - I was assuming he was already centering - and the code we saw was just an attempt to fix.
Do yourself a favor and use centering (xcenter or xalign) in this case - then you don't have to worry about the language.
Do yourself a favor and use centering (xcenter or xalign) in this case - then you don't have to worry about the language.
- Mon Jul 12, 2021 12:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to know in which language is the game right now?
- Replies: 9
- Views: 1028
Re: Is there a way to know in which language is the game right now?
Are you *100%* sure that you have enough room for the (long spanish) text in whatever "box" you are placing it in?
Sounds like it might not have enough room - and thus "overflows" the box it's in (and thus looks as if it's not centered, because it's taking up all the box + a bit)
Sounds like it might not have enough room - and thus "overflows" the box it's in (and thus looks as if it's not centered, because it's taking up all the box + a bit)
- Mon Jul 12, 2021 11:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: Unable to play Any RenPy games from External HDD's
- Replies: 3
- Views: 913
Re: Unable to play Any RenPy games from External HDD's
No clue but: Try right-clicking the game exe and "run as administrator" see if it makes any difference (not sure why that would even be needed - But worth a shot)
- Mon Jul 12, 2021 11:46 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can you change a full layered image with a variable?
- Replies: 1
- Views: 1109
Re: Can you change a full layered image with a variable?
You will probably have to be a bit more specific to get useful answers. As is - There's nothing in Renpy preventing you from doing that - So go ahead. But it's a bit like asking "Can I pour water into a glass?". - Yes you can - But do you have something to pour with. Do you even have water...
- Sun Jul 11, 2021 4:45 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to speed up child rendering of CDD?
- Replies: 1
- Views: 638
Re: Speed up child rendering of CDD
Full plug&play test code init python: class Board: def __init__(self, size = 20, tile_size = 16): self.size = size self.tile_size = tile_size self.tiles_state = [ [0 for _ in range(self.size)] for _ in range(self.size) ] self.gutter = 100 self.active_tile = (0, 0) self.tile_set = [ Fixed( Solid(...
- Sun Jul 11, 2021 4:45 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to speed up child rendering of CDD?
- Replies: 1
- Views: 638
How to speed up child rendering of CDD?
(Full test code in 2nd post - Just the interesting bit in this post) I've made a CDD that draws a (configurable) 50*50 grid of tiles (child_render_1) (that's 2500 tiles) Or it can simply draw one big Solid (child_render_2) Child_render_2 is way faster than child_render_1 Why? And what can I do to sp...
- Mon Jul 05, 2021 11:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]Only one of two variables is updated in UDD
- Replies: 7
- Views: 1091
Re: Only one of two variables is updated in UDD
I guess I wasn't paying attention to the right things.
I put in a renpy.restart_interaction() right after where I update the mouse position - and I now see the text updating....
I put in a renpy.restart_interaction() right after where I update the mouse position - and I now see the text updating....