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

Double tap analog in direction to run?

Archive: 4 posts


How do i make it so that i have to quickly double tap my analog stick left or right to run? And also how would i make side scrolling death ? Basically im trying to make rumble fighter if anyone knows what that is2012-04-04 23:17:00

Author:
lilballer22
Posts: 63


I'm going to take in account that you know how to use sackbots and the controlinator.

Place a timer set to "count up". The timer fills and outputs ON. The time it is ON will be the margin for you to make a second tap with the stick, so set it a bit under a second. Now since you don't want the player to start running if he tapped left-right, you need to split the left and right signals from the joystick using a direction splitter. Plug the (+) output in the timer's power input. Place down a counter and set it's maximum to two. Also connect the splitter's (+) to it - to the count up input. Hook the timer to the counter's reset. Now pressing right on the stick will start the timer, but also make the counter go up. Releasing and pressing on the stick again will make the counter go up again, filling it. If you just press once, the counter is half full, but gets emptied by the timer. Now to prevent the timer from emptying the counter if you pressed twice, just hook the counter to the timer's reset. Final step, you have to reset the running if the player is already running but stops pressing on the stick. Use an AND gate to test if the counter is full AND if the player is going right, and hook this AND gate to the counter's reset. Oops, we need to place an OR gate since there's already a wire going in the reset. The OR gates just multiplies the amount of inputs.

You will need the same setup for the negative output of the splitter. Then to make the bot run, you can use a behavior chip set to a faster running speed. Hook the counter to this chip. Also hook the counter to a NOT gate, and this NOT gate to the slow behavior chip.

You can also use movers instead. Place a direction combiner and connect the counters to it (respect the + or -). Place an advanced mover and hook the combiner to its left/right input. Set the settings as you wish, but don't make acceleration/deceleration too high - else the bot will fly.
2012-04-05 00:35:00

Author:
Unknown User


If you are open-minded about the controls for this, I might suggest using another button rather than a double-tap. If you are wanting to stick to the double-tap, I feel the method above puts it perfectly. Also glad to see some rumble fighter levels 2012-04-05 00:43:00

Author:
Unknown User


Thanks i like the thorough response, ill try that out when i get the chance2012-04-05 02:19:00

Author:
lilballer22
Posts: 63


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.