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

Possitional for timers???

Archive: 8 posts


I need two different things here.
1. Is it possible to make something using a sequencer and a timer, where the timer displays the possition of the sequencer ( NOT the other way around!)

2. Is there a way to use possibly batteries or some other logic that will
Make a timer count up at a normal rate but go to a certain percent of the timer on impact ( perhaps with a tag and a battery so the amount taken from the bar is adjustable?) but then continues to count up from there again. This will be to determine how long an effect will last on something and you can mod that time with just 1 tag.
2012-04-22 04:34:00

Author:
RonPierce
Posts: 131


if you set the timer to speed scale and 0.1 secs, wire a combiner to the timer, wire the timer to the bottom input of the combiner, then wire your incoming analogue signal to the top input. (the same one you have wired to the positional sequencer.
the main issue with this setup is it can take a couple of frames to match, as it slows as it gets closer to the target due to the speed scale setting
2012-04-22 07:19:00

Author:
evret
Posts: 612


Everything you ask I explained in my response to your threat question last week. Dig into this feedback loop thing and let the timer be a display of the looping signal, not the source of the signal.

It may be tough stuff to chew on, but it is worth it.
2012-04-22 12:34:00

Author:
Antikris
Posts: 1340


Okay thanks both of you. Slight frame timing isn't an issue for my cause. Also I'll look into it again. I'm just going to have to practice it to learn the logic versus just repeating what I see. I have an issue with feedbacks only because I can't see the signal strength and I'm a very visual person but I'll figure it out, it'll just take some extra time. Thanks again.2012-04-22 15:10:00

Author:
RonPierce
Posts: 131


Okay thanks both of you. Slight frame timing isn't an issue for my cause. Also I'll look into it again. I'm just going to have to practice it to learn the logic versus just repeating what I see. I have an issue with feedbacks only because I can't see the signal strength and I'm a very visual person but I'll figure it out, it'll just take some extra time. Thanks again.

I know exactly how you feel, Ron. I have been struggling with it myself for months before it started to sink in. I am just as visually oriented. I cannot even imagine what goes on in the heads of people like evret.

That is why in the screenshot with my reply there was this timer that shows the loop's strength. It is set up exactly as evret described above.

You may also like to start using "signal probes". You can find them in a few community levels as gifts, search for it. Or maybe evret would like to hand you his awesome version.
2012-04-22 21:35:00

Author:
Antikris
Posts: 1340


Think of it that way. The combiner subtracts a signal from another. Let's say you have a timer set to speed scale getting powered by that combiner. The output of the timer goes in the combiner's negative. For now, timer's at zero, so nothing happens. Now plug 50% in the positive of the combiner. 50-0=50 so the combiner outputs 50 to the timer. Timer will start filling. Let's say timer is filled at 25%. The combiner now does 50-25=25. The timer will keep on filling, but slower. Then when it reaches 50% full, the combiner does 50-50=0. The timer stops moving. Now let's replace the + input with 25%. The combiner does 25-50=-25, so the timer slowly goes down. When it reaches 25%, it will do again 25-25=0 and stop. Get it? Timer will follow the input. Now this takes some frames. Actually, it will never reach the exact value since it will slow down every time it gets closer to the value. But since it's for visual purpose. Making a health/magic meter? 2012-04-23 01:52:00

Author:
Unknown User


[...] 50-0=50 so the combiner outputs 50 to the timer. Timer will start filling.
What is probably the most interesting fact of the Speed Scale Timers (and what makes this feedback loop work) is that the rate at which they fill depend on the Strength of the Signal they receive. Therefore a Timer receiving a signal of 25% will fill at 25% of the rate set by the Target Time. A Speed Scale Timer receiving a signal of -50% will, going by the same logic, empty with a rate of 50% of the Target Time.

This is also the reason for the asymptotic behaviour evret mentioned, but due to the very small (.1 second) Target Time, it isn't likely to be a problem unless you circuit is operating with very narrow frame-windows.
2012-04-23 08:17:00

Author:
Slaeden-Bob
Posts: 605


This is also the reason for the asymptotic behaviour evret mentioned, but due to the very small (.1 second) Target Time, it isn't likely to be a problem unless you circuit is operating with very narrow frame-windows.

And for this reason it is why I recommend using a far more fast and accurate feedback loop to center your logic around and only use a speed-scale timer on the output of this loop for display purposes.
2012-04-23 16:09:00

Author:
Antikris
Posts: 1340


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.