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

Hold for attack?

Archive: 7 posts


I once played a game on lbp2 i cant remember the name, but he had a move where you held the triangle button for an attack. What logic is used for button holding?2011-09-06 20:01:00

Author:
Unknown User


There are so many ways to accomplish nearly any thing you want What is the sackbot or vehicle is supposed to do when you hold the triangle? What kind of attack are you looking for? Will you be using the triangle for anything else other than this attack feature?2011-09-06 20:22:00

Author:
MonarioBabii
Posts: 128


I once played a game on lbp2 i cant remember the name, but he had a move where you held the triangle button for an attack. What logic is used for button holding?

I used this in my sackbot level, It's quite weird but I can't actually remember the logic I used for it. But If you want, you can play the prize give away leve (http://lbp.me/v/5y41m1)l and examine his logic.

All I know is that I used a timer, a NOT gate and an AND gate.
2011-09-06 20:33:00

Author:
onaga666
Posts: 293


not sure what context u need it in, but one way to do this is using a directional timer.

Get a timer. attatch the triangle output to the timer input. set the timer to forwards/backwards, and then set the output of the timer to whatever u want to happen.

the length (seconds) of the timer will determine how long you must hold triangle b4 the output is achieved.

when you need more specific things to occur then this method might not work. In that case you might have to experiment with directional sequencers with batteries and such. hope this helped
2011-09-06 20:36:00

Author:
ShadowTyphoon
Posts: 80


Would an inverted countdown timer work?2011-09-06 22:45:00

Author:
Ayneh
Posts: 2454


Try using a battery, and AND gate, inverted timer, and the button you what to hold down for an attack.2011-09-06 22:54:00

Author:
zzmorg82
Posts: 948


Thanks for replies, I was playing with the idea of dbz, hold for a super kamehamehah, ive seen so many crappy dbz levels that with my mastered tutorials from silverscorp and comphermc i can make a way better dbz level than them. I just lack DLC for costumes. But back on topic, i may want to make it simple for the user so by having one button it would make it easier. So if i press triangle lets say it'll make a small blast, if i hold triangle i get a bigger blast, that sort of thing. Not sure the logic for a hold though. ill try that method typhoon2011-09-07 01:44:00

Author:
Unknown User


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.