Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

Difference between revisions of "Talk:Buttons"

From Starbase wiki
Jump to navigation Jump to search
m
(answer found!)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
:edit: does it cycle through [0, offstate, onstate, offstate+onstate] ?
:edit: does it cycle through [0, offstate, onstate, offstate+onstate] ?
:edit edit: maybe it means [hold=onstate], release cycles between [0, offstate]
:edit edit: maybe it means [hold=onstate], release cycles between [0, offstate]
:edit^3: wait a minute, is it as esoteric as a simple toggle that only switches on release instead of on buttondown? ie:<br><code>press: --++--++--</code><br><code>state: ----++++--</code>
:and the simple toggle changes state as soon as it gets tapped? --[[User:Totoro|Totoro]] ([[User talk:Totoro|talk]]) 17:56, 29 October 2019 (EET) i.e.:<br><code>press: --++--++--</code><br><code>state: --++++----</code>
:(edit:I would have assumed the former would be the default)
::Finally found it! The difference is how the button model behaves in the game! type 1 will appear pressed if they are turned on, type 2 return to the up position reguardless of their internal state! <br><pre>ArtturiFB 07/31/2019: The difference between type 1 and 2 is whether the button stays down to indicate it's "on" or not. Type 2 toggles the state when pushed but comes back up after every click, type 1 stays down when "on" and interacting again makes the button come back up to indicate "off"</pre>

Latest revision as of 01:19, 30 October 2019

Button style 2 is like a click pen? Aren't they simple toggles?(which is mode 1) Any clarification? --Totoro (talk) 06:23, 29 October 2019 (EET)

edit: does it cycle through [0, offstate, onstate, offstate+onstate] ?
edit edit: maybe it means [hold=onstate], release cycles between [0, offstate]
edit^3: wait a minute, is it as esoteric as a simple toggle that only switches on release instead of on buttondown? ie:
press: --++--++--
state: ----++++--
and the simple toggle changes state as soon as it gets tapped? --Totoro (talk) 17:56, 29 October 2019 (EET) i.e.:
press: --++--++--
state: --++++----
(edit:I would have assumed the former would be the default)
Finally found it! The difference is how the button model behaves in the game! type 1 will appear pressed if they are turned on, type 2 return to the up position reguardless of their internal state!
ArtturiFB 07/31/2019: The difference between type 1 and 2 is whether the button stays down to indicate it's "on" or not. Type 2 toggles the state when pushed but comes back up after every click, type 1 stays down when "on" and interacting again makes the button come back up to indicate "off"
Cookies help us deliver our services. By using our services, you agree to our use of cookies.