Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

holding buttons in controlinator.

Archive: 7 posts


I am using the controlinator's "X" button to perform the action "MOVE FORWARD ONCE" with a mover. The problem is, if the user holds down the "X" button, the move will continue moving forward until maximum forward plane is reached. I very specifically DO NOT WANT the user to be able to continue moving forward simply by holding down the button. HOW CAN I FIX THIS!!!! 2011-01-31 06:46:00

Author:
spartacus0007
Posts: 7


Two words.
counter switch. It's a great tool.

You connect the switch to its own reset input and set it to one, and you shouldn't have that trouble anymore.
2011-01-31 07:06:00

Author:
Devious_Oatmeal
Posts: 1799


Thanks, that worked great, except now I am encountering a different problem. They can instead mash the button over and over and essential achieve the same affect. I want there to be a slight pause (say 1 second) before they can perform the action again.

I had this fixed before with a complicated timer/AND gate setup, but that's when I was having the problem of them simply holding the button down instead.
2011-01-31 13:09:00

Author:
spartacus0007
Posts: 7


Put a battery on a sequencer. Make the sequencer how often they should be able to hit the button. You cannot start a sequencer until it's done, so make the first part of the sequencer the amount of move you want and make the rest empty. Now they can't mash or hold the button.

EDIT: Hook that battery up to the mover or the switch. Whatever it is that is giving the input.
2011-01-31 16:10:00

Author:
RSQViper
Posts: 302


Before the counter, add an AND. To the second input of the AND add a timer. Have the output of the AND wire to the timer's reset.2011-01-31 16:40:00

Author:
Biv
Posts: 734


Sequencer was gold, thanks

Biv: sorry, but that's actually what I had tried, and it doesn't work that way unfortunately, every time they mash the button, it just resets the timer, effectively creating a pause for every failed check as well as the passed ones. I only wanted the 1 second pause on the passing checks.

I completely forgot the sequencer existed though. I face-palmed myself as soon as I read that.
2011-01-31 17:00:00

Author:
spartacus0007
Posts: 7


Sequencer was gold, thanks

Biv: sorry, but that's actually what I had tried, and it doesn't work that way unfortunately, every time they mash the button, it just resets the timer, effectively creating a pause for every failed check as well as the passed ones. I only wanted the 1 second pause on the passing checks.

I completely forgot the sequencer existed though. I face-palmed myself as soon as I read that.

Awesome! Glad it worked out for ya'.

v
v
v
v
2011-01-31 18:21:00

Author:
RSQViper
Posts: 302


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.