Only Ninja and Sakura members can post here
the title says it all, i want to know how to add hide textbox option to settings with a custom button
EDIT: same with Restart
Sonya
Princess
can you explain more
Like you want a custom button that toggles hiding and showing the textbox?
Like you want a custom button that toggles hiding and showing the textbox?
Sonya
Princess
got it I'll add them in, soon
Sonya
Princess
tobedecided001 said:@tobedecided001Sonya said: got it I'll add them in, soon@Sonya
Oh and also is it possible to make it so that when "Auto" is running, the "Auto" button is changed to a "Pause" button?
I can add a pause button but you'll have to create the toggle mechanism that'll switch the auto to pause button. So you will need to create 2 buttons and maybe a screen for the auto button where if you click auto, it'll switch to the second button, the pause button, etc.
[quote][/quote]@Sonya
For example: I made a flag called "isAuto" that is a boolean that defaults to false.
And if isAuto is false, then the "Pause" button is hidden, and the "Auto" button is shown. When clicked, it sets "isAuto" to true.
I made it so that if it is true, then the "Auto" button is hidden, and the "Pause" button is shown. If clicked, it sets "isAuto" to false.
But when I go to test it, the button doesn't show and hide, it just is stuck as the "Auto" button, even though the Auto command is working.
For example: I made a flag called "isAuto" that is a boolean that defaults to false.
And if isAuto is false, then the "Pause" button is hidden, and the "Auto" button is shown. When clicked, it sets "isAuto" to true.
I made it so that if it is true, then the "Auto" button is hidden, and the "Pause" button is shown. If clicked, it sets "isAuto" to false.
But when I go to test it, the button doesn't show and hide, it just is stuck as the "Auto" button, even though the Auto command is working.
Sonya
Princess
@Sonya@tobedecided001
For example: I made a flag called "isAuto" that is a boolean that defaults to false.
And if isAuto is false, then the "Pause" button is hidden, and the "Auto" button is shown. When clicked, it sets "isAuto" to true.
I made it so that if it is true, then the "Auto" button is hidden, and the "Pause" button is shown. If clicked, it sets "isAuto" to false.
But when I go to test it, the button doesn't show and hide, it just is stuck as the "Auto" button, even though the Auto command is working.
Did you reopen the screen? You have to reopen the screen when you click the auto/pause button in order for the animation to play again.
Sonya said:@Sonya@Sonya@tobedecided001
For example: I made a flag called "isAuto" that is a boolean that defaults to false.
And if isAuto is false, then the "Pause" button is hidden, and the "Auto" button is shown. When clicked, it sets "isAuto" to true.
I made it so that if it is true, then the "Auto" button is hidden, and the "Pause" button is shown. If clicked, it sets "isAuto" to false.
But when I go to test it, the button doesn't show and hide, it just is stuck as the "Auto" button, even though the Auto command is working.
Did you reopen the screen? You have to reopen the screen when you click the auto/pause button in order for the animation to play again.
No, I didn't reopen the screen, but in the "default" settings screen, there is no need to reopen it, so I thought it was something wrong?
Sonya
Princess
tobedecided001 said:@tobedecided001Sonya said:@Sonya@Sonya@tobedecided001
For example: I made a flag called "isAuto" that is a boolean that defaults to false.
And if isAuto is false, then the "Pause" button is hidden, and the "Auto" button is shown. When clicked, it sets "isAuto" to true.
I made it so that if it is true, then the "Auto" button is hidden, and the "Pause" button is shown. If clicked, it sets "isAuto" to false.
But when I go to test it, the button doesn't show and hide, it just is stuck as the "Auto" button, even though the Auto command is working.
Did you reopen the screen? You have to reopen the screen when you click the auto/pause button in order for the animation to play again.
No, I didn't reopen the screen, but in the "default" settings screen, there is no need to reopen it, so I thought it was something wrong?
So in order for the animation to execute you need to replay the screen either open/close animation for the animations to run again. This is what I mean by putting the auto and pause button in it's own screen instead of just appearing in the default settings screen. You need to replay the animation in order to show/hide the buttons, so put the auto and pause buttons in it's own screen.
actually wait I realized that it's kinda hide to open a screen when you open/close another screen.
Hold on, give me a few days, I'll add a feature where you can open/close screens from opening/closing another screen as well as changing flag values.
What I suggested is a little bit tricky to do without this feature,
okay just wait, I'll fix it. I'll add this new feature in next week so you can make this feature.
Sonya said:@Sonyatobedecided001 said:@tobedecided001Sonya said:@Sonya@Sonya@tobedecided001
For example: I made a flag called "isAuto" that is a boolean that defaults to false.
And if isAuto is false, then the "Pause" button is hidden, and the "Auto" button is shown. When clicked, it sets "isAuto" to true.
I made it so that if it is true, then the "Auto" button is hidden, and the "Pause" button is shown. If clicked, it sets "isAuto" to false.
But when I go to test it, the button doesn't show and hide, it just is stuck as the "Auto" button, even though the Auto command is working.
Did you reopen the screen? You have to reopen the screen when you click the auto/pause button in order for the animation to play again.
No, I didn't reopen the screen, but in the "default" settings screen, there is no need to reopen it, so I thought it was something wrong?
So in order for the animation to execute you need to replay the screen either open/close animation for the animations to run again. This is what I mean by putting the auto and pause button in it's own screen instead of just appearing in the default settings screen. You need to replay the animation in order to show/hide the buttons, so put the auto and pause buttons in it's own screen.
actually wait I realized that it's kinda hide to open a screen when you open/close another screen.
Hold on, give me a few days, I'll add a feature where you can open/close screens from opening/closing another screen as well as changing flag values.
What I suggested is a little bit tricky to do without this feature,
okay just wait, I'll fix it. I'll add this new feature in next week so you can make this feature.
That will be amazing! Thank you so much!!!