Thank you for the awesome script! I just played the demo and I noticed the profile picture at the top and the text at the bottom goes outside of the phone screen, is this intentional? If so how do I make anything outside of the phone screen cut off? Or at least scale them in a way so they fit in the first place? Thank you so much in advance!
Hi! Is it possible you could show a screenshot of what you mean? I'm not sure I see that on my end in the demo. Also, your device and resolution may help, in case it's a scaling issue. Thanks :)
Did you change anything at all in the demo? That's so strange, I don't have that happening on my end. It looks just like a z-order issue with the phone case being too low. Does changing the window's aspect resolution impact it at all (ex. shrinking the window make it go away)?
The only thing I changed is renaming the inner folder to Game so Renpy can run it, and putting the game in the same folder as my other renpy project. though I re-downloaded and it's still the same thing. But I think I figured it out. in the message_viewport, you defined the ysize to be 750, so I removed that line and it somehow auto-scaled on its own with the correct ratio O_O
I'm having some issues with it as I'm fairly new with Ren'py but I'm learning ! I alas need your help with a little problem I can't seems to resolve : my textbox keeps appearing in the back of the phone when it's open ! It's just... slighty smaller, and return to normal once the phone is closed.
Do you have any idea how to make the textbox disappear for good ? Thank you very much for your time !
hihi yes! thank you :) and did you adjust the screens.rpy with the code snippet in the README? basically, you add an extra line if the global phone mode is toggled on, to hide the textbox completely. feel free to add me on discord (kleineluka) if you need further help
I did, but with no effect :/ ! I even erased persistent data after changing but it didn't work... Thanks for your time and proposition ! EDIT : I found the problem ! I erased by mistake a # in front of " background Image("gui/textbox.png", xalign=0.5, yalign=1.0)" in the style window !
EDIT OF THE EDIT : I am but a fool and my ancestors are disappointed in me. Changing this # made all my textbox disappear, with or without the phone open. Fixed this, but now the textbox during phone is back.
Hi, I'd need to see your screen code to help further debug as I'm a bit lost as to where you are right now in the process of debugging it. If possible, could you reach out on Discord? It's a bit easier than Itch.io comments and I am much more active :)
← Return to ren'py script
Comments
Log in with itch.io to leave a comment.
Hi!! This is sooo awesome!! I'm using this in my game Yuki's Oblivion (its in development still). Will, of course, be crediting ^^
Awesome!! Thanks so much for sharing and I'm glad it's working well for your use-case, I can't wait to see it when it's done :)
Hi Zoey,
Thank you for the awesome script! I just played the demo and I noticed the profile picture at the top and the text at the bottom goes outside of the phone screen, is this intentional? If so how do I make anything outside of the phone screen cut off? Or at least scale them in a way so they fit in the first place? Thank you so much in advance!
Hi! Is it possible you could show a screenshot of what you mean? I'm not sure I see that on my end in the demo. Also, your device and resolution may help, in case it's a scaling issue. Thanks :)
I'm on Windows 11 Desktop, and using resolution of 1920 x 1080. Here's a screenshot:
Did you change anything at all in the demo? That's so strange, I don't have that happening on my end. It looks just like a z-order issue with the phone case being too low. Does changing the window's aspect resolution impact it at all (ex. shrinking the window make it go away)?
The only thing I changed is renaming the inner folder to Game so Renpy can run it, and putting the game in the same folder as my other renpy project. though I re-downloaded and it's still the same thing. But I think I figured it out. in the message_viewport, you defined the ysize to be 750, so I removed that line and it somehow auto-scaled on its own with the correct ratio O_O
Hmm, strange. I'll have to take a look at that line of code. So does it all work as intended now?
This code is perfect, thank you !
I'm having some issues with it as I'm fairly new with Ren'py but I'm learning ! I alas need your help with a little problem I can't seems to resolve : my textbox keeps appearing in the back of the phone when it's open ! It's just... slighty smaller, and return to normal once the phone is closed.
Do you have any idea how to make the textbox disappear for good ? Thank you very much for your time !
hihi yes! thank you :) and did you adjust the screens.rpy with the code snippet in the README? basically, you add an extra line if the global phone mode is toggled on, to hide the textbox completely. feel free to add me on discord (kleineluka) if you need further help
I did, but with no effect :/ ! I even erased persistent data after changing but it didn't work... Thanks for your time and proposition !
EDIT : I found the problem ! I erased by mistake a # in front of " background Image("gui/textbox.png", xalign=0.5, yalign=1.0)" in the style window !
EDIT OF THE EDIT : I am but a fool and my ancestors are disappointed in me. Changing this # made all my textbox disappear, with or without the phone open. Fixed this, but now the textbox during phone is back.
Hi, I'd need to see your screen code to help further debug as I'm a bit lost as to where you are right now in the process of debugging it. If possible, could you reach out on Discord? It's a bit easier than Itch.io comments and I am much more active :)
oh cool, i wonder if is possible turn it in a discord screen? I was trying do it with nvl system but still no sucess i will try it thanks
I plan to release a Discord-like chat program soon as well :) it is absolutely possible, even just with refactoring the code here. o/
It's just perfect, thank you so much.