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

Timer Help

Archive: 3 posts


im creating a survival horror mini game, were your suppose to turn on cameras while avoiding ghost. Everything is finish except one part, the timer that indicates when the game is over. This how its suppose to work
There are 4 cameras, that add time to the timer, during the game the cameras will turn off and your suppose to turn them on again. As each camera turns off, it slows down the timer, when all the cameras are off, the timer stops. How do i do this?
2011-12-21 02:21:00

Author:
wait wtf
Posts: 853


The way you wrote this is kinda confusing, So let me lay it out.
Their is 4 cameras right. you want to keep them all on or 1 is on at a time and when none is on the timers stop?
basically you want the cameras to add up to the main timer until the times is complete and then you survived.

Hmm not too difficult.
you want to do this.
1, Make your main "timer" a counter then attach an Or gate to it with 4 slots(play with it a little bit to see how long it needs to be)
2 Make each camera be attached to a timer that resets itself (say only 1 second on each one )
3, Then attach each of the timers connected to your cameras to a slot on the Or gate that is attached to your counter.
(Potential step if all of the cameras can be active at once)
4, Attach the timers that are connected to your cameras to a selector with 4 slots, then just attach each selector output to each Or gate input.

This may be a bit tricky depending on your exact ideas for what you want, maybe you could add me for a time and i could help you.
potentially be a permanent friend
2011-12-21 05:46:00

Author:
Tyranny68
Posts: 390


you will need a timer(SPeed scale) 9 counters(1 reg, 8 -1 shot[self reseting] ) a direction combiner and two 4 port or gates. also 4 NOT gates.

setup: place all these items on a MC.

take the signal that manipulates the cameras and plug all 4 of them into 4 -1 shot counters and 4 NOT gates the lead into 4 -1 shot counter s . all 8 signals will now lead to two 4 port or gates( positive signals in 1 and negative signals in the other. OR GATES will then wire to the direction combiner that goes into a 4 shot counter. wire that to your speed scaler timer and your are done. you can even use it as ur display
2011-12-21 06:52: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.