#1
How do I make a combo using different buttons?
Archive: 4 posts
Hello everybody, I'll first explain I'm trying to make before I just tell you my problem and stuff because I can imagine that you don't understand if I'd just tell the problem. So yeah... I'm working on this top-down adventure game, where you can generally punch with your right hand, and your left hand, using R2 and L2. Now I'm getting pretty far done with it, I actually have an R2-only and an L2-only combo made. But the problem, is I can't seem to figure out how to make a combo using both L2 and R2! I kind of got something using a selector(R2-L2-R2-L2), but that one also works if I just hold both R2 and L2. Help me pleeeaase! ![]() Oh and I'm Dutch so my English might suck pretty **** hard. Thanks in advance ![]() | 2011-02-13 17:23:00 Author: SmallLargeEarthling ![]() Posts: 29 |
My first thought would be: Pressing R2 starts very short timer Pressing L2 while the timer is running resets it, and starts another timer Pressing R2 resets it, starts another Pressing L2 runs your combo. In order to keep R2 and L2 from tripping the third and fourth steps early, have the second and third timers on an AND switch, with another pair of timers corresponding to when you hit R2 and L2 the first time. So, if you wanted the entire combo to be pressed in the space of one second: - Press R2 - Timer 1 starts, set for .25 seconds - Timer 2 starts, set for .50 seconds - Press L2 before Timer 1 runs out - Timer 3 starts, set for .25 seconds - Timer 4 starts, set for .50 seconds - Press R2 before Timers 2 AND 3 run out - Timer 5 starts, set for .25 seconds - Press L2 before Timers 4 AND 5 run out, run the combo Seems like it should work to me, at least. | 2011-02-13 17:42:00 Author: Unknown User ![]() |
If its both muttons at once, use and "AND" gate, connect both L2 and R2 to its inputs, then place the output to what you want it to activate. If its one THEN the other, its almost the same, but 1st place a timer and connect either of the combo buttons (whichever goes 1st.) to it and its "reset" input, and connect the timer, to the AND gate of its corresponding button, then set the timer to "countdown," edit the timer's time to adjust how long after the button its press that you can press the other to still be able to make the combo and yer done, that SHOULD work in theory at least.. Hope that helps! ![]() | 2011-02-13 17:54:00 Author: Silverleon ![]() Posts: 6707 |
You can make some combo movements with a sequencer. Maybe one button makes the sequencer play very quick and pressing another starts the next sequencer after the first one has ended. ![]() | 2011-02-13 20:02:00 Author: mutant_red_peas ![]() Posts: 516 |
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.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.