Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.

Visit our new games list, blog aggregator, IRC channel, and Discord (new).
Activation problem? Email pytom@bishoujo.us.
It is currently Mon Jun 26, 2017 1:23 am

All times are UTC - 5 hours [ DST ]


Forum rules


This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like, and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Apr 12, 2017 1:28 pm 
Regular
User avatar

Joined: Thu Oct 27, 2016 3:22 pm
Posts: 36
I've no idea where to start with this, but I have an idea for a VN I'm reviving. I'm wanting to make it to where the player uses his arrow keys to cycle through menu options on the title screen. The options are set-up in a circle starting with start, when you press right (Or left) it rotates to the next option, and so on and so forth. Is this possible in Ren'py?


Top
 Profile Send private message  
 
PostPosted: Wed Apr 12, 2017 2:42 pm 
Veteran
User avatar

Joined: Sat Jan 07, 2017 3:09 pm
Posts: 211
Something like this might help:

viewtopic.php?f=8&t=26511

And here's the documentation entry:

https://www.renpy.org/doc/html/keymap.html


Top
 Profile Send private message  
 
PostPosted: Thu Apr 13, 2017 1:13 pm 
Regular
User avatar

Joined: Thu Oct 27, 2016 3:22 pm
Posts: 36
That helps with the keybinds, Thanks. Now to figure out the rotating selection.


Top
 Profile Send private message  
 
PostPosted: Thu Apr 20, 2017 12:58 pm 
Regular
User avatar

Joined: Thu Oct 27, 2016 3:22 pm
Posts: 36
Okay I made the UI assets I needed for the rotating menu, but how do I have the options move in a circle?
As you cycle through the options I want them to rotate. I've messed with the positioning, but I've no idea how to pull this off. Any help?


Top
 Profile Send private message  
 
PostPosted: Fri Apr 21, 2017 12:07 am 
Regular
User avatar

Joined: Sun Oct 26, 2014 1:07 pm
Posts: 192
Deviantart: saltome
Well I figure you should define a couple of transforms, to animate the buttons moving in a circle, then use the keybinding to get them to move.

Although, you do realize this isn't RPGMaker? My first instinct won't even remotely be to use the arrow keys on the main menu.

_________________
Phoenix Star - Persistence, perseverance, ambition.
...
Lost Legends
[VN][Fantasy][Open World]

Deviant Art: Image


Top
 Profile Send private message  
 
PostPosted: Fri Apr 21, 2017 8:50 am 
Regular
User avatar

Joined: Thu Oct 27, 2016 3:22 pm
Posts: 36
Saltome wrote:
Although, you do realize this isn't RPGMaker? My first instinct won't even remotely be to use the arrow keys on the main menu.


Well, I need the player to rotate through the selection somehow. I suppose using a the mouse and mouse wheel could work.
Actually where would I find the code to alter the postion of the main menu options.


Top
 Profile Send private message  
 
PostPosted: Fri Apr 21, 2017 11:13 am 
Regular
User avatar

Joined: Sun Oct 26, 2014 1:07 pm
Posts: 192
Deviantart: saltome
That might work, assuming you don't have any issues with the rollback feature. Since that's also mapped to the mousewheel. But you should be fine.

In the screens file, the main_menu screen.

_________________
Phoenix Star - Persistence, perseverance, ambition.
...
Lost Legends
[VN][Fantasy][Open World]

Deviant Art: Image


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group