Buttons Will Not Remain In Place

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Scribbler
Newbie
Posts: 13
Joined: Tue Jul 11, 2017 12:10 am
Tumblr: still-in-bed-please
Skype: uselesslesbianvampire_LM
Contact:

Buttons Will Not Remain In Place

#1 Post by Scribbler »

The buttons on the main menu screen (quit, help, load, etc.) reappear in-game when the save/preferences menus are brought up, but they change position completely from where they are on the main menu screen?
Attachments
Where they appear in-game, completely out of place
Where they appear in-game, completely out of place
Main Menu (Where I want the buttons)
Main Menu (Where I want the buttons)

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Buttons Will Not Remain In Place

#2 Post by Imperf3kt »

I don't have enough time to detail the issue for you, but the problem stems from the fact there are actually two screens shown there, one is pushing the other out of the way.

I'll try to explain better later when I have more time.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Scribbler
Newbie
Posts: 13
Joined: Tue Jul 11, 2017 12:10 am
Tumblr: still-in-bed-please
Skype: uselesslesbianvampire_LM
Contact:

Re: Buttons Will Not Remain In Place

#3 Post by Scribbler »

Thank you! I look forward to your next post.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Buttons Will Not Remain In Place

#4 Post by Imperf3kt »

Sorry, I missed my oportunity to reply.
For now, could you either send me or attach your screens.rpy and if you have one, gui.rpy

It will help the process go faster.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Scribbler
Newbie
Posts: 13
Joined: Tue Jul 11, 2017 12:10 am
Tumblr: still-in-bed-please
Skype: uselesslesbianvampire_LM
Contact:

Re: Buttons Will Not Remain In Place

#5 Post by Scribbler »

Right! Here are both of those.
Attachments
gui.rpy
Gui
(15.46 KiB) Downloaded 82 times
screens.rpy
Screens
(37.84 KiB) Downloaded 77 times

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Buttons Will Not Remain In Place

#6 Post by Imperf3kt »

I've taken a quick look from my Android phone and I'm a bit confused.

Your game is clearly 9:16 resolution, but your gui.rpy is in 16:9

Code: Select all

init python:
    gui.init(1280, 720)
Anyway, that aside, I do have a few suggestions and questions.

You use an imagemap, I assume this is the image we see in your initial post?
With that in mind, is there a reason you are still using textbuttons?
From what I can see, you are trying to mimic a smartphone, so logically it would make sense to use "buttons" instead.


If you don't mind, would it be okay if I could get the game in its entirety, including art assets? I'd like to make a few changes that I require the assets for.
You can leave out the script, any music and videos as these are not necessary.

I have a couple of design changes that I'd like to implement for you. Mainly, I think using imagebuttons would better suit your needs than imagemaps + text.
I am not home at the moment though, and won't have access to a computer with Ren'Py for at least another six hours.

If this is not okay, that is fine too. I can still do it without everything, but it will be a bit harder.
Or, if you wish to keep using textbuttons, then I can just look into that as was your original intention for this thread, but I can see that it may not be your end goal.


For an example of sorts, take a look at my Cooking with RWBY project (on hold)
Make sure to grab the latest release v0.05
Please be aware that this is far from complete, so many functions are not ideal / optimised, but it should give you some ideas.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Scribbler
Newbie
Posts: 13
Joined: Tue Jul 11, 2017 12:10 am
Tumblr: still-in-bed-please
Skype: uselesslesbianvampire_LM
Contact:

Re: Buttons Will Not Remain In Place

#7 Post by Scribbler »

Ah! Thank you so much! That is incredible of you to do (/0 o O\) I am so new to all of this, I have no doubt that much of it does not make sense. Now, I attached a zip file, but let me know if another method of file transfer would be preferable. Thanks again.
Attachments
Scribbler's Game - Mitternauchtexts.zip
(6.57 MiB) Downloaded 16 times

Post Reply

Who is online

Users browsing this forum: elcharlo