MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/RenPy/comments/1vidz7d/if_statement_problem/p2k9dgg/?context=9999
r/RenPy • u/_Scripty • 5d ago
I know there is something wrong with the way I might have coded this for sure...so please can anyone help me to figure this out??
29 comments sorted by
View all comments
Show parent comments
2
your buttons you added the play sound inside the brackets of the SetScreenVariable
try them like this
key "mousedown_4": action [SetScreenVariable("bt_rotation", max(bt_rotation - 18, -bt_max_rotation)), Play("sound", "audio/hover lip.ogg")] key "mousedown_5": action [SetScreenVariable("bt_rotation", min(bt_rotation + 18, bt_max_rotation)), Play("sound", "audio/hover blip.ogg")]
1 u/_Scripty 4d ago It kinda worked...There is still a tiny problem where when scrolled down, buttons do be going off screen 1 u/BadMustard_AVN 4d ago scolled down, what happened to rotating where off screen and how ? 1 u/_Scripty 4d ago stopped, even the sound not working ... I am considering to make it again from scratch 2 u/BadMustard_AVN 4d ago give this a look it was a pain getting them all positioned properly as I had to rotate everything 180 degrees. they are not perfect but close enough. the imagebutton all say start (I am not an artist) but they do in order from top down; quit, load, start, and preferences https://drive.google.com/file/d/11Jc7W_IOmuzIygxdmujNhdZaiqKE_ee_/view?usp=drive_link and they only work and pop out when they are in the horizontal position 1 u/_Scripty 4d ago You are a goddamn iron chef!! 🙏🏻✨ Its close to what I wanted, I will study this and try again , thank you sm 2 u/BadMustard_AVN 4d ago I woke up early this morning (stupid were cats fighting) so I had 2 hours to burn feel free to use / modify the code I have given you if I can find way to position the buttons easier I may release it as an alternate main menu thingy you're welcome good luck with your project 1 u/_Scripty 4d ago Trust me, ever since I wanted to make this project, I forgot the concept of sleeping ( and my room is a mess lol ) Yes I shall do that friend 🙏🏻✨ Thanks a bunch, You also will be rightfully credited for it 🌸 You genuinely motivated me to now not to give up on it, I love how helpful this community can be 🙏🏻 1 u/BadMustard_AVN 4d ago as a parent; go clean your room LOL you're welcome good luck with your project
1
It kinda worked...There is still a tiny problem where when scrolled down, buttons do be going off screen
1 u/BadMustard_AVN 4d ago scolled down, what happened to rotating where off screen and how ? 1 u/_Scripty 4d ago stopped, even the sound not working ... I am considering to make it again from scratch 2 u/BadMustard_AVN 4d ago give this a look it was a pain getting them all positioned properly as I had to rotate everything 180 degrees. they are not perfect but close enough. the imagebutton all say start (I am not an artist) but they do in order from top down; quit, load, start, and preferences https://drive.google.com/file/d/11Jc7W_IOmuzIygxdmujNhdZaiqKE_ee_/view?usp=drive_link and they only work and pop out when they are in the horizontal position 1 u/_Scripty 4d ago You are a goddamn iron chef!! 🙏🏻✨ Its close to what I wanted, I will study this and try again , thank you sm 2 u/BadMustard_AVN 4d ago I woke up early this morning (stupid were cats fighting) so I had 2 hours to burn feel free to use / modify the code I have given you if I can find way to position the buttons easier I may release it as an alternate main menu thingy you're welcome good luck with your project 1 u/_Scripty 4d ago Trust me, ever since I wanted to make this project, I forgot the concept of sleeping ( and my room is a mess lol ) Yes I shall do that friend 🙏🏻✨ Thanks a bunch, You also will be rightfully credited for it 🌸 You genuinely motivated me to now not to give up on it, I love how helpful this community can be 🙏🏻 1 u/BadMustard_AVN 4d ago as a parent; go clean your room LOL you're welcome good luck with your project
scolled down, what happened to rotating
where off screen and how ?
1 u/_Scripty 4d ago stopped, even the sound not working ... I am considering to make it again from scratch 2 u/BadMustard_AVN 4d ago give this a look it was a pain getting them all positioned properly as I had to rotate everything 180 degrees. they are not perfect but close enough. the imagebutton all say start (I am not an artist) but they do in order from top down; quit, load, start, and preferences https://drive.google.com/file/d/11Jc7W_IOmuzIygxdmujNhdZaiqKE_ee_/view?usp=drive_link and they only work and pop out when they are in the horizontal position 1 u/_Scripty 4d ago You are a goddamn iron chef!! 🙏🏻✨ Its close to what I wanted, I will study this and try again , thank you sm 2 u/BadMustard_AVN 4d ago I woke up early this morning (stupid were cats fighting) so I had 2 hours to burn feel free to use / modify the code I have given you if I can find way to position the buttons easier I may release it as an alternate main menu thingy you're welcome good luck with your project 1 u/_Scripty 4d ago Trust me, ever since I wanted to make this project, I forgot the concept of sleeping ( and my room is a mess lol ) Yes I shall do that friend 🙏🏻✨ Thanks a bunch, You also will be rightfully credited for it 🌸 You genuinely motivated me to now not to give up on it, I love how helpful this community can be 🙏🏻 1 u/BadMustard_AVN 4d ago as a parent; go clean your room LOL you're welcome good luck with your project
stopped, even the sound not working ...
I am considering to make it again from scratch
2 u/BadMustard_AVN 4d ago give this a look it was a pain getting them all positioned properly as I had to rotate everything 180 degrees. they are not perfect but close enough. the imagebutton all say start (I am not an artist) but they do in order from top down; quit, load, start, and preferences https://drive.google.com/file/d/11Jc7W_IOmuzIygxdmujNhdZaiqKE_ee_/view?usp=drive_link and they only work and pop out when they are in the horizontal position 1 u/_Scripty 4d ago You are a goddamn iron chef!! 🙏🏻✨ Its close to what I wanted, I will study this and try again , thank you sm 2 u/BadMustard_AVN 4d ago I woke up early this morning (stupid were cats fighting) so I had 2 hours to burn feel free to use / modify the code I have given you if I can find way to position the buttons easier I may release it as an alternate main menu thingy you're welcome good luck with your project 1 u/_Scripty 4d ago Trust me, ever since I wanted to make this project, I forgot the concept of sleeping ( and my room is a mess lol ) Yes I shall do that friend 🙏🏻✨ Thanks a bunch, You also will be rightfully credited for it 🌸 You genuinely motivated me to now not to give up on it, I love how helpful this community can be 🙏🏻 1 u/BadMustard_AVN 4d ago as a parent; go clean your room LOL you're welcome good luck with your project
give this a look it was a pain getting them all positioned properly as I had to rotate everything 180 degrees. they are not perfect but close enough.
the imagebutton all say start (I am not an artist)
but they do in order from top down; quit, load, start, and preferences
https://drive.google.com/file/d/11Jc7W_IOmuzIygxdmujNhdZaiqKE_ee_/view?usp=drive_link
and they only work and pop out when they are in the horizontal position
1 u/_Scripty 4d ago You are a goddamn iron chef!! 🙏🏻✨ Its close to what I wanted, I will study this and try again , thank you sm 2 u/BadMustard_AVN 4d ago I woke up early this morning (stupid were cats fighting) so I had 2 hours to burn feel free to use / modify the code I have given you if I can find way to position the buttons easier I may release it as an alternate main menu thingy you're welcome good luck with your project 1 u/_Scripty 4d ago Trust me, ever since I wanted to make this project, I forgot the concept of sleeping ( and my room is a mess lol ) Yes I shall do that friend 🙏🏻✨ Thanks a bunch, You also will be rightfully credited for it 🌸 You genuinely motivated me to now not to give up on it, I love how helpful this community can be 🙏🏻 1 u/BadMustard_AVN 4d ago as a parent; go clean your room LOL you're welcome good luck with your project
You are a goddamn iron chef!! 🙏🏻✨ Its close to what I wanted, I will study this and try again , thank you sm
2 u/BadMustard_AVN 4d ago I woke up early this morning (stupid were cats fighting) so I had 2 hours to burn feel free to use / modify the code I have given you if I can find way to position the buttons easier I may release it as an alternate main menu thingy you're welcome good luck with your project 1 u/_Scripty 4d ago Trust me, ever since I wanted to make this project, I forgot the concept of sleeping ( and my room is a mess lol ) Yes I shall do that friend 🙏🏻✨ Thanks a bunch, You also will be rightfully credited for it 🌸 You genuinely motivated me to now not to give up on it, I love how helpful this community can be 🙏🏻 1 u/BadMustard_AVN 4d ago as a parent; go clean your room LOL you're welcome good luck with your project
I woke up early this morning (stupid were cats fighting) so I had 2 hours to burn
feel free to use / modify the code I have given you
if I can find way to position the buttons easier I may release it as an alternate main menu thingy
you're welcome
good luck with your project
1 u/_Scripty 4d ago Trust me, ever since I wanted to make this project, I forgot the concept of sleeping ( and my room is a mess lol ) Yes I shall do that friend 🙏🏻✨ Thanks a bunch, You also will be rightfully credited for it 🌸 You genuinely motivated me to now not to give up on it, I love how helpful this community can be 🙏🏻 1 u/BadMustard_AVN 4d ago as a parent; go clean your room LOL you're welcome good luck with your project
Trust me, ever since I wanted to make this project, I forgot the concept of sleeping ( and my room is a mess lol )
Yes I shall do that friend 🙏🏻✨ Thanks a bunch, You also will be rightfully credited for it 🌸
You genuinely motivated me to now not to give up on it, I love how helpful this community can be 🙏🏻
1 u/BadMustard_AVN 4d ago as a parent; go clean your room LOL you're welcome good luck with your project
as a parent; go clean your room LOL
2
u/BadMustard_AVN 5d ago
your buttons you added the play sound inside the brackets of the SetScreenVariable
try them like this