Search found 267 matches
- Thu Oct 01, 2020 12:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] images for imagebutton not showing up?
- Replies: 2
- Views: 298
Re: images for imagebutton not showing up?
I think the imagemap is being drawn over the buttons, because you placed it on the screen after the imagebutton declaration. Ren'py draws screen elements in the same order you code them, so in this case, the imagebuttons are drawn and placed on the game screen first, then the imagemap is drawn, but ...
- Mon Sep 28, 2020 9:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved-ish] Textbox position per character in new GUI?
- Replies: 2
- Views: 370
Re: Textbox position per character in new GUI?
Did you try this?
If you need to change it for every character, in screens.rpy there is a style window statement defining the textbox position and image.
Code: Select all
define al = Character ("Alexis", color="#5499C7", window_background="alexis_textbox.png", window_xalign=.5)
- Fri Sep 25, 2020 10:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Menu hides screens
- Replies: 3
- Views: 298
Re: Menu hides screens
You can use Show action instead of ShowMenu, if you want other screens to stop receiving input add modal True clause to your screen: screen my_game_menu(): modal True Just make sure your screen also has some way for the player to quit it once they want to continue the game, like adding a button or s...
- Wed Sep 23, 2020 8:26 am
- Forum: Ren'Py Questions and Announcements
- Topic: Particle system
- Replies: 2
- Views: 367
Re: Particle system
There's a Sprite class included in Ren'Py that can be used to create this but it requires solid python knowledge.
SnowBlossom is a premade class based on this that can be easily programmed to display sprites moving in any given direction.
SnowBlossom is a premade class based on this that can be easily programmed to display sprites moving in any given direction.
- Fri Sep 11, 2020 11:10 am
- Forum: Ren'Py Questions and Announcements
- Topic: "Linear" auto save/load functionality
- Replies: 2
- Views: 309
Re: "Linear" auto save/load functionality
You could try setting a few configuration variables to achieve that. Something like the following code: # set autosave_slots to 1 so Ren'Py uses only one save file. define config.autosave_slots = 1 # set the autosave frequency per interaction. Interaction is any time the game waits for user input, l...
- Mon Sep 07, 2020 1:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: The animation doesn't work
- Replies: 2
- Views: 295
Re: The animation doesn't work
Try using yoffset instead of yalign for the linear statements.
Code: Select all
transform directorSalto:
xalign 0.5 yalign 0.5
linear 1.0 yoffset 100 #adjust the number of pixels to your needs
linear 2.0 yoffset 0
repeat
- Mon Aug 17, 2020 8:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Slow text skipping problem on screens
- Replies: 0
- Views: 312
[SOLVED] Slow text skipping problem on screens
I'm trying to create a custom dialogue screen for use with certain specific characters, without replacing the default say screen. Among other things, I want the text in my screen to be displayed according to the user's text speed preference settings, and I also need for the screen to be dismissed wh...
- Fri Aug 14, 2020 1:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Trouble with textbutton - Function(texthere)
- Replies: 3
- Views: 228
Re: Trouble with textbutton - Function(texthere)
Try using action instead of clicked. Also, I think the Function() must receive arguments directly to the action itself. Here's what I mean:
Code: Select all
action Function(cyclone.p_inv.use, cyclone.p_inv.items[i], cyclone.p_inv)
- Fri Aug 14, 2020 12:58 pm
- Forum: Anime, Games, and Japan
- Topic: Guilty Pleasure Anime
- Replies: 81
- Views: 15948
Re: Guilty Pleasure Anime
For me this is Shokugeki no Soma. It does have a decent story but a lot of the reactions to food are just too ecchi for my taste (no pun intended).
But I just can't stop watching it.
But I just can't stop watching it.
- Fri Aug 14, 2020 11:51 am
- Forum: Anime, Games, and Japan
- Topic: Worst anime you have ever watched?
- Replies: 311
- Views: 52988
Re: Worst anime you have ever watched?
Ousama Game. I know it was an horror show so I shouldn't expect a great story, but it is SO nonsensical and ridiculous, with so little character development (not enough time to even care for most of them) and so many gaps in logic or common sense; the only good thing about it was the opening song by...
- Mon Aug 10, 2020 10:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: Events that can take place at any point.
- Replies: 2
- Views: 393
Re: Events that can take place at any point.
The most basic way would be to make use of the call statement to run a label that, once finished, returns to the exact point after it was called. Here's a basic, fly-typed example (somewhat based on Danganronpa's system): label start: #this can be any chapter/point in the story "I have some free tim...
- Mon Aug 10, 2020 9:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Hiding HUD during dialogue segments
- Replies: 2
- Views: 236
Re: Hiding HUD during dialogue segments
You could use the renpy.get_screen() function to check if the dialogue screen is being shown:
Code: Select all
showif not renpy.get_screen("say"):
text "show HUD"
- Mon Aug 10, 2020 9:02 am
- Forum: Ren'Py Questions and Announcements
- Topic: Playing a song before the title screen, and a different one during it.
- Replies: 2
- Views: 248
Re: Playing a song before the title screen, and a different one during it.
I'm gonna guess you're using the config.main_menu_music variable in options.rpy Try commenting out that option if that's what you're using, and play the dark song from the button in fakestart: button: xysize (config.screen_width, config.screen_height) activate_sound "audio/se/crash.ogg" action [Play...
- Fri Aug 07, 2020 8:16 am
- Forum: Ren'Py Cookbook
- Topic: Animated RPG Battle Engine 1.2
- Replies: 12
- Views: 4020
Re: Animated RPG Battle Engine 1.0
This looks very nice and helpful!
Thanks for sharing it!
Thanks for sharing it!
- Wed Aug 05, 2020 8:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: call custom screen using a button
- Replies: 2
- Views: 199
Re: call custom screen using a button
You need to type the screen name as a string.
Also you should add an image parameter to your imagebutton, idle or auto:
Also you should add an image parameter to your imagebutton, idle or auto:
Code: Select all
imagebutton idle "my_img_button.png" xalign 0.5 yalign 0.5:
action Show("testscreen")