Search found 135 matches

by Enchant00
Tue Sep 24, 2019 8:35 am
Forum: Ren'Py Questions and Announcements
Topic: Question about Renpy bars (colors)
Replies: 8
Views: 443

Re: Question about Renpy bars (colors)

Haven't tested it out but you cant try ConditionalSwitch: https://www.renpy.org/doc/html/displayables.html?highlight=conditionswitch#ConditionSwitch What you would do is define your filler bar as an image block and put the necessary conditions. I once encountered in renpy cookbook project where when...
by Enchant00
Tue Sep 24, 2019 8:21 am
Forum: Ren'Py Questions and Announcements
Topic: Modified Phone Msg With Menu
Replies: 3
Views: 348

Re: Modified Phone Msg With Menu

Hmm I can't seem to find the problem. Under label jump detailed, what block of code are you running? The error could possibly be there instead.
by Enchant00
Wed Aug 07, 2019 12:56 pm
Forum: Ren'Py Questions and Announcements
Topic: How to import another file classes
Replies: 4
Views: 239

Re: How to import another file classes

You don't need to import your utils.python_random. The good thing about RENPY is that no matter where the file is located within the main directory, they are connected. So if you want to use your class PythonRandom, you can just create an object for it in any other rpy file and access it directly. Y...
by Enchant00
Fri Aug 02, 2019 8:42 am
Forum: Ren'Py Questions and Announcements
Topic: HELP:HIDE A MOVIE ON RENPY
Replies: 2
Views: 187

Re: HELP:HIDE A MOVIE ON RENPY

Just set loop to false.

Code: Select all

 image movie = Movie(size=(1280, 720), xpos=100, ypos=100, xanchor=100, yanchor=100, loop = False)
by Enchant00
Wed Jul 31, 2019 12:27 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Jumping to another screen via screen conditional
Replies: 3
Views: 266

Re: Jumping to another screen via screen conditional

Maybe you can try the on "show: for screen menu with a one screen action If conditional . However, there seems to be an interesting thing in the screens documentation of the command showif https://www.renpy.org/doc/html/screens.html#showif-statement . I never tested it so give this a shot. So try th...
by Enchant00
Fri Jul 19, 2019 8:38 am
Forum: Ren'Py Cookbook
Topic: [Tutorial] Using Ren'Py SpriteManager for Complex Systems (Beginner-Friendly)
Replies: 7
Views: 906

Re: [Tutorial] Using Ren'Py SpriteManager for Complex Systems (Beginner-Friendly)

This is amazing! I didn't even know you can use it that way. Thank you for the tutorial.
by Enchant00
Thu Jul 18, 2019 7:50 am
Forum: Ren'Py Questions and Announcements
Topic: Possible to link strings directly to characters?
Replies: 3
Views: 335

Re: Possible to link strings directly to characters?

I think you can create a list of your characters, iterate over the list to see if the name matches anyone, and format it as such. Not sure if this would work, but give it a shot. I'm more interested in the part below if who.getpossession(NAME) in characters: since to me it doesn't look like proper p...
by Enchant00
Thu Jul 18, 2019 7:32 am
Forum: Ren'Py Questions and Announcements
Topic: Delete save files [SOLVED]
Replies: 5
Views: 459

Re: Delete save files

I haven't tested it out, but the code below should work. init python: def delete_saves(): saved_games = renpy.list_saved_games(fast = True) for i in saved_games: renpy.unlink_save(1) Just paste it above your start and every time you need to delete all the saves, just call the one below: $ delete_sav...
by Enchant00
Wed Jul 17, 2019 6:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Trying to increase de size to the CG Gallery.
Replies: 1
Views: 254

Re: Trying to increase de size to the CG Gallery.

First try putting your own custom sized button images then report back your findings. Lastly,I can't seem to find the new_gallery.rpy so if you can send me a link to it that would be great. More importantly, it is best first if you try it out with your custom buttons that way we can adjust the grid ...
by Enchant00
Wed Jul 17, 2019 1:11 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]"Return button doesn't working" even though the game still runs
Replies: 3
Views: 275

Re: "Return button doesn't working" even though the game still runs

Hmm yeah, I don't see to see what's wrong with your code. Since you used the tag menu, it should replace the game_menu and return back to game. If you're just trying to go back to the game from the menu, try to hide the screen instead. imagebutton idle "gui/button/mainmenu_return_button.png" xpos 11...
by Enchant00
Sun Jul 14, 2019 6:41 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Applying styles to multiple screen texts?
Replies: 2
Views: 321

Re: Applying styles to multiple screen texts?

Yeah, that seems to do the trick. Thanks! For anyone else that's wondering how it's done: vbox: style prefix "sample" # name of the styles, in this case they all start with sample text 'Sample text 1' text 'Sample text 2' text 'Sample text 3' text 'Sample text 4' style sample_text: # your style name...
by Enchant00
Sun Jul 14, 2019 6:24 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to you actually use screen side?
Replies: 5
Views: 330

Re: How to you actually use screen side?

Oh, okay. Thanks! I get it now.
by Enchant00
Sat Jul 13, 2019 6:06 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to you actually use screen side?
Replies: 5
Views: 330

Re: How to you actually use screen side?

Uhm, documentation has sample codes for side and viewport... Side can be used if you want to layout several things onscreen.... HAHA even with the examples I couldn't understand it but after your explanation is kinda makes sense now. So in essence, your saying it's like a container and it's a way t...
by Enchant00
Sat Jul 13, 2019 9:12 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to you actually use screen side?
Replies: 5
Views: 330

[SOLVED] How to you actually use screen side?

I can't seem to fathom how the screen side is even used: https://www.renpy.org/doc/html/screens.html#side c', 't', 'b', 'l', 'r', 'tl', 'tr', 'bl', 'br' ... So can someone simplify to me how and when to use side? Also, if I were to create a viewport, then how is side applied there? Thank you in adva...
by Enchant00
Sat Jul 13, 2019 8:41 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Applying styles to multiple screen texts?
Replies: 2
Views: 321

[SOLVED] Applying styles to multiple screen texts?

It's probably something I mislooked, but is there a way to simplify the applying of text styles into one line than applying like the one below? vbox: area (400, 300, 100, 100) text 'Sample text 1' style 'sample text' text 'Sample text 2' style 'sample text' text 'Sample text 3' style 'sample text' t...