Search found 777 matches

by hell_oh_world
Sun Aug 25, 2019 4:32 am
Forum: Ren'Py Questions and Announcements
Topic: save problem
Replies: 2
Views: 421

Re: save problem

I just use this solution about save. And when I save at the point I forse to save,the other save data will be delete. :cry: :cry: how to keep other save data? https://www.reddit.com/r/RenPy/comments/apnig0/forcing_the_game_to_save_etc/ega2uhl/ What trouble are you actually facing with the saves? Al...
by hell_oh_world
Sun Aug 25, 2019 1:38 am
Forum: Ren'Py Questions and Announcements
Topic: Pausing forever
Replies: 5
Views: 644

Re: Pausing forever

How would the player quit then if the game is paused? Through the close button on the game's window? If you want to do this... I guess this could help.. init python: import threading def pauseRenpy(): renpy.pause(delay=60, hard=True) threading.Timer(59, pauseRenpy).start() label start: "some dialog...
by hell_oh_world
Sat Aug 24, 2019 8:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Pausing forever
Replies: 5
Views: 644

Re: Pausing forever

How would the player quit then if the game is paused? Through the close button on the game's window? If you want to do this... I guess this could help.. init python: import threading def pauseRenpy(): renpy.pause(delay=60, hard=True) threading.Timer(59, pauseRenpy).start() label start: "some dialogu...
by hell_oh_world
Sat Aug 24, 2019 4:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] altering main menu when certain route/end has been reached in game
Replies: 5
Views: 747

Re: altering main menu when certain route/end has been reached in game

is there anyway to add main menu buttons/change the main menu music after certain endings? sorry if i'm asking for too much. Yes. Its also possible, just like the code of Angelo Seraphim. You can change the music by using the configuration variables. # default story_ending = " " default persistent....
by hell_oh_world
Sat Aug 24, 2019 9:41 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 783

Re: Default padding in frames?

# The problem was the gutter property for the bar. It gives margin to the bar itself. # Also, as requested the Borders(0, 0, 0, 0) is how you redefine the borders of a frame displayable. # Rectified and working code: screen character_icon(character=""): # style_prefix "ui" zorder 10 frame: padding ...
by hell_oh_world
Sat Aug 24, 2019 9:12 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 783

Re: Default padding in frames?

Hmm, that doesn't seem to override whatever borders are still blocking it it looks like. https://i.imgur.com/iDsdAYc.png That totally makes sense that it's not the bars, but even with the padding from the frame removed it looks wrong. https://i.imgur.com/gV8tzD7.png I can fix the bars there, but th...
by hell_oh_world
Sat Aug 24, 2019 9:02 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 783

Re: Default padding in frames?

Okay cool, thank you. :) So that works for the frames, but it looks like I can't do it on the bar? It says that padding isn't a valid child for it, but I think it's the borders around the bars that are keeping the text from showing in the right place. Do you know a way to redefine the borders there...
by hell_oh_world
Sat Aug 24, 2019 8:53 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 783

Re: Default padding in frames?

If setting the padding still results in misalignment... add another piece of code.

Code: Select all

frame:
    padding (0, 0) # sets the padding to 0, wherein by default frames have padding.

    text "100/100":
        align (0.5, 0.5) # aligns the text (truecenter).
by hell_oh_world
Sat Aug 24, 2019 8:50 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 783

Re: Default padding in frames?

Yeah, that's what I figured, but I'm actually not sure how to override it, haha. How do I redefine the Borders in a screen? I showed an example on how you can override it. Just add the property padding to the frame container of the text frame: padding (0, 0) # sets the padding to 0, wherein by defa...
by hell_oh_world
Sat Aug 24, 2019 8:36 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 783

Re: Default padding in frames?

I actually just searched through the code and found this line in gui.rpy ## Generic frames. define gui.frame_borders = Borders(4, 4, 4, 4) I'm assuming that's what's doing this? But how do I overwrite that in my particular frame? It looks like bars have the same thing: define gui.bar_borders = Bord...
by hell_oh_world
Sat Aug 24, 2019 8:29 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Default padding in frames?
Replies: 14
Views: 783

Re: Default padding in frames?

frame: ysize 15 yalign 0.0 bar: style "ui_bar" bottom_bar Frame("images/icons/empty_bar.png") top_bar Frame("images/icons/health_bar.png") value character.hp range character.max_hp text "[character.hp]/[character.max_hp]" As far as I know, there is a default padding on a frame container. My workaro...
by hell_oh_world
Sun Aug 18, 2019 4:19 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I make the quick-menu remain visible while hovered?
Replies: 8
Views: 896

Re: How can I make the quick-menu remain visible while hovered?

This is a really nice addition, though it doesn't stop the quick menu from hiding when 'back' is clicked. The "back" you are referring to is a button right? Maybe I have a better workaround. You'll gonna do all of this inside the quick_menu screen in screens.rpy. Create a local variable first insid...
by hell_oh_world
Sun Aug 18, 2019 5:51 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Ever changing background image with transition per image, for a button's background property
Replies: 15
Views: 780

Re: Ever changing background image with transition per image, for a button's background property

Cookie cutter meaning that nothing has to be a specific way. You can mix and mess with all of these transform keywords and timers and amount etc This is basically the same code but with some smoother effect. You can mess around with it until you achieve what you're looking for. image button_animati...
by hell_oh_world
Sun Aug 18, 2019 12:06 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Ever changing background image with transition per image, for a button's background property
Replies: 15
Views: 780

Re: Ever changing background image with transition per image, for a button's background property

This isn't a cookie cutter situation. You put the animations steps in the image accordingly. I will give an example when I'm back on my pc "Cookie cutter", was that supposed to mean something (like an idiom)? I'm looking forward to it namastaii, even I wasn't able to get back on my pc, so sorry for...
by hell_oh_world
Sat Aug 17, 2019 11:28 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Ever changing background image with transition per image, for a button's background property
Replies: 15
Views: 780

Re: Ever changing background image with transition per image, for a button's background property

Well when you define the image with all the images and animations (including transition-like animations) - you'd put that defined image inside the frame transform my_fade: alpha 0.0 easein 1.0 alpha 1.0 image button_animation: "images/animated_button/1.png" .2 "images/animated_button/2.png" .2 "ima...