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

Output After Moving Stops

Archive: 4 posts


I am unsure on how I can get a sound to activate after the movement of a character (It is top down and made from materials not sackbots) stops. It needs to be so that the sound only plays after movement comes to an end, not when there is no movement at all.

If it helps, the sound is similar to the one in MediEvil (Video here: http://www.youtube.com/watch?v=H5dxb5ikWxg&playnext=1&list=PL4380D1A3F6D1DE63, the sound can be heard at around 0:24 seconds.) that plays once the character stops moving, almost like a skin. If this cannot be achieved any way then it is not a major issue but I wanted to preserve the original MediEvil game's feeling as much as I could as I am making a LittleBigPlanet version of it.

Would most appreciate someones help in creating this logic!

(If I was not aloud to post that video link forgive me, this is my first thread here.)
2011-06-18 16:10:00

Author:
Huknar
Posts: 3


Whichever wire(s) you're using to control movement run them through a NOT gate and it'll activate when there's no movement signal.2011-06-18 17:26:00

Author:
Ayneh
Posts: 2454


What Ayneh said.

To prevent the sound when the chip is first activated or your controlled object is emitted, you may have to add a "permanent" gate (counter with a target of 1) after your movement control logic, and connect this with the NOT gate of your movement control that Ayneh mentioned using an AND gate, and connect the AND gate to the sound. You'll also connect the NOT gate of your movement control logic to the counter to reset it.

This way you will be able to prevent the initial sound when the chip gets activated (may be at level start, or whenever the piece of logic gets first "run"), if the initial sound would bother you.
2011-06-18 22:46:00

Author:
hesido
Posts: 166


Thank you both, it worked like a treat! I had thought the not gate would just keep playing the sound until there was input and it does, but then I realized you have to turn the sound to "Toggle/Play Once".2011-06-19 13:37:00

Author:
Huknar
Posts: 3


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.