Page 1 of 1
Navigation Screen
Posted: Sat Jul 28, 2018 1:53 pm
by Minuteman
Hello, I have two questions about Navigation Screen and Menu choices :
1 - I want to add navigation screen - like day, day week, map and etc, show this screen over any other screens
2 - There is issue I have with several menu choices ( 15 ) most of them goes behind screen, this is possible to add a scrollbar to menu choices?
Sorry if this sounds dumb and thanks in advance!
Re: Navigation Screen
Posted: Tue Jul 31, 2018 9:55 am
by Minuteman
Bump?....
Re: Navigation Screen
Posted: Tue Jul 31, 2018 11:12 am
by Per K Grok
Minuteman wrote: ↑Sat Jul 28, 2018 1:53 pm
...
1 - I want to add navigation screen - like day, day week, map and etc, show this screen over any other screens
...
What is the problem?
Minuteman wrote: ↑Sat Jul 28, 2018 1:53 pm
2 - There is issue I have with several menu choices ( 15 ) most of them goes behind screen, this is possible to add a scrollbar to menu choices?
As far as I know, not out of the box. You would probably have to build your own choice screen to get what I think that you want. I think you might not be quit ready for that yet. No offense intended.
A simpler model you could try is to split the menu up in smaller parts with the option to jump between the parts.
Code: Select all
label menu1:
menu:
"Choice 1":
---stuff---
"Choice 2":
---stuff---
"Choice 3":
---stuff---
"Choice 4":
---stuff---
"Choice 5":
---stuff---
"Next set of choices":
jump menu2
label menu2:
menu:
"Previous set of choices":
jump menu1
"Choice 6":
---stuff---
"Choice 7":
---stuff---
"Choice 8":
---stuff---
"Choice 9":
---stuff---
"Next set of choices":
jump menu3
------
You could also consider other methods for organizing smaller parts of the menu.
Re: Navigation Screen
Posted: Tue Jul 31, 2018 6:35 pm
by Imperf3kt
Really quick 'day', ultra simple screen example
Screens.rpy
Code: Select all
default day = "Sunday"
screen weekday():
text "[day]"
How to use it:
Script.rpy
Code: Select all
label start:
show screen weekday
"Today is Sunday."
$day = "Monday"
"Now it is Monday."
return
Further customisation and automation, depends on how you will use the screen and its purpose.
Re: Navigation Screen
Posted: Thu Aug 02, 2018 5:15 pm
by Minuteman
Per K Grok wrote: ↑Tue Jul 31, 2018 11:12 am
Minuteman wrote: ↑Sat Jul 28, 2018 1:53 pm
...
1 - I want to add navigation screen - like day, day week, map and etc, show this screen over any other screens
...
What is the problem?
Minuteman wrote: ↑Sat Jul 28, 2018 1:53 pm
2 - There is issue I have with several menu choices ( 15 ) most of them goes behind screen, this is possible to add a scrollbar to menu choices?
As far as I know, not out of the box. You would probably have to build your own choice screen to get what I think that you want. I think you might not be quit ready for that yet. No offense intended.
A simpler model you could try is to split the menu up in smaller parts with the option to jump between the parts.
Code: Select all
label menu1:
menu:
"Choice 1":
---stuff---
"Choice 2":
---stuff---
"Choice 3":
---stuff---
"Choice 4":
---stuff---
"Choice 5":
---stuff---
"Next set of choices":
jump menu2
label menu2:
menu:
"Previous set of choices":
jump menu1
"Choice 6":
---stuff---
"Choice 7":
---stuff---
"Choice 8":
---stuff---
"Choice 9":
---stuff---
"Next set of choices":
jump menu3
------
You could also consider other methods for organizing smaller parts of the menu.
This looks more simple and easy than creating a whole new screen, thanks!
Imperf3kt wrote: ↑Tue Jul 31, 2018 6:35 pm
Really quick 'day', ultra simple screen example
Screens.rpy
Code: Select all
default day = "Sunday"
screen weekday():
text "[day]"
How to use it:
Script.rpy
Code: Select all
label start:
show screen weekday
"Today is Sunday."
$day = "Monday"
"Now it is Monday."
return
Further customisation and automation, depends on how you will use the screen and its purpose.
But...this still gets behind when I on different screens ( 'show screen' or 'call screen' statement )