Close Mark all as read
Notifications Announcements

Total posts
12

Views
1,485


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
Sonya
Princess
can you explain more

Like you want a custom button that toggles hiding and showing the textbox?
Sonya said: can you explain more

Like you want a custom button that toggles hiding and showing the textbox?
@Sonya

yes, and also for restart.
Because, the default settings screen has "hide textbox" and "restart" options, but I don't know how to put those in the custom screen

Sonya
Princess
Sonya
Princess
got it I'll add them in, soon
Sonya said: got it I'll add them in, soon
@Sonya

Awesome, thank you!
Sonya 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?
Sonya
Princess
Sonya
Princess
tobedecided001 said:
Sonya 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?
@tobedecided001
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.
Sonya
Princess
Sonya
Princess
@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.
@tobedecided001
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

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.
@tobedecided001
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

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
Sonya
Princess
tobedecided001 said:
Sonya said:
@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.
@tobedecided001
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

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?
@tobedecided001
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:
tobedecided001 said:
Sonya said:
@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.
@tobedecided001
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

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?
@tobedecided001
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

That will be amazing! Thank you so much!!!