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

Point-Giving Stopwatch

Archive: 8 posts


Hello all, eventually I would like to update my Lunar Defender level with a "stopwatch" type scoring system. For instance, when the player begins the level, the point value starts at a certain amount and continually decreases, and if the player makes it to the end, the current amount of points will be given, therefore making it relative to your time. I think I saw this implemented in one of the community levels, but I forget which it was. I didn't want to use the race gate, because, from my experiences, it cannot be activated remotely without running up to it. I also do not want the ticking sound it makes. So, I was wondering if this could be accomplished without a timer at all, but maybe one of the digital counters I have seen made.

Any help would be much appreciated. Thanks!
2011-02-17 18:17:00

Author:
Jdsfrog
Posts: 97


Its easy to make a timer with a few selectors. My idea for the score giver though would be to have a row of blocks with score sensors attached and they dissolve as the timer counts down. The simpler the better so instead of having it connected to the timer have a piston thats set to the same time as the timer run along the blocks with a tag on it so it dissolves the blocks. As the timer counts down the blocks disappear taking the score giver with them. When the player finishes their game the timer and piston stops and the remaining score givers are turned on rewarding the player with however many blocks are left. Its an idea but it's not the best one I know and its a little bit LBP 1 to be honest. It's simple though and I think it would be easier to create than one using digital logic.
All you have to do is make a block with a score giver attached to something which turns it on when the player finishes their game and a tag sensor attached to a destroyer which dissolves the block on contact with the tag. Then just copy and place them in a row
2011-02-17 18:35:00

Author:
Dangerlove
Posts: 88


How I did it in Corridors of Madness was to use an inverted timer (it counts down, not up) and at the end of the level I connected that to a score giver set to "scaled output per second" or something along those lines.

I used another timer and either used an AND gate with the inverted timer mentioned above, or used a microchip activation circuit, to give a scaled bonus a couple of times. (So I could go past the 10,000 limit on points). Timers output their analog output so the more time left on the first timer, the more points

If you AND it with a timer that only lasts around a second, you'll give a single bonus.
2011-02-17 18:39:00

Author:
Foofles
Posts: 2278


Ha Foofles one is waaaaay better!!! Haven't really messed round with score givers tbh hence my answer! Didnt even know they could have a scaled output! Nyway good luck with your level2011-02-17 20:43:00

Author:
Dangerlove
Posts: 88


Wow thanks everyone! I will definately try that method Foofles, I hadn't really thought of that. (Didn't even know what exactly scaled output did) Thanks a lot! (P.S. Corridors of Madness left my friend and I completely astonished. It was beyond awesome.)2011-02-17 22:22:00

Author:
Jdsfrog
Posts: 97


I believe you can attach wires to race gates now, so no need to run up to it. Same for end gates, too!2011-02-18 02:55:00

Author:
Yofig
Posts: 288


I believe you can attach wires to race gates now, so no need to run up to it. Same for end gates, too!

Yes, you can, but it doesn't do what you are thinking. It only turns their ability to be triggered on and off, so it seems kind of useless. So if they are off, they won't do anything, if they are on they act normally.
2011-02-18 03:00:00

Author:
Osprey71
Posts: 93


Or you could have a Selector with however many ports you want seconds (if you want 60 seconds, 60 ports) and to the left of that, a timer set to 1.0 seconds and it resets itself and also its output is to cycle through the selector. Now off every selector output there is an AND gate and the wire is connected to one port.

So, your selector has all its outputs wired up to an individual AND gate. Now, whatever you do to get points, wire it up to the other port on every AND gate. If there's more than one way to get points, use an OR switch to combine them all.

So the same 'do this to get points' output is connected to the AND gate with a separate selector output.

Now the AND gate output is connected to a Score Giver and from the top of the AND gates, gradient the amount of points (get smaller) (was that the right word? Gradient?) so the top has the most points and the bottom has..... 0.

If you wanted a visual timer it's best to make a separate one in sync with it.

Also you could slow the timer down so it only goes at 2.0 seconds, so it'd take 120 seconds to get to the bottom and you have 2 seconds to get that amount of points.



Foofles' thing is probs the best option though Mine can be a little tedious.....
2011-02-18 07:42: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.