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

Score Giver - decreasing the score by 10 every second?

Archive: 4 posts


Hello Sackfolk.

This has bugged me for a while now and it seems simple, there is even an option on the score giver to 'scale down every second with an input' but I cant get it working. Basically, in the picture the sackbot says 'heres 1000 score for the race but it will decrease every second until you reach the scoreboard and whatever you end up with adds on to your original score from bubbles ect.' Does anyone know how to make the score decrease by using a timer or counter in some sort of way?

46540
2013-08-18 15:44:00

Author:
Kyesty
Posts: 97


I never really bothered to learn what that feature does (I just use it for score memorizing). I personally would just hook up a timer set to 1.0 seconds (have it reset itself) to a score giver with the default state set to -10. And I don't know if you would have to but have an AND gate that have a toggle/selector for when the player reaches the scoreboard.2013-08-18 16:10:00

Author:
koltonaugust
Posts: 1382


What Koltonaugust says works perfectly well.

As a mental exercise I also tried to come up with a solution.

GOAL: Punish the player with -10 points per second.

With no other parameters this is quite easy:


http://i.imgur.com/82pbTOm.png

* Make sure the sequencer is set to PLAY FORWARD so it continues after the player leaves the zone.

↑ 
The player enters the zone.
The sequencer plays forward.
Every second, the sequencer punishes with -10 points.
The sequencer loops forever.


PROBLEM: If the player continues to play the level longer than 100 seconds, they will lose more than 1000 points.

That's no good! So we need a few extra bits of logic:


http://i.imgur.com/E7SKttF.png

* Make sure the sequencer is set to START/STOP so it responds to the other logic.
* Make sure the counter is set to COUNT UP to 1.
* Make sure the timer is set to COUNT UP to 100.

↑ 
The player enters the zone.
The logic is triggered.
The 1-shot count up does 2 things:
..... a) the sequencer plays forward.
..... b) the 100-second timer starts.
Every second, the sequencer punishes with -10 points.
The sequencer loops until the 100-second timer is full (-1000 points).
The logic shuts down the sequencer.


There are definitely other ways to achieve this, and some might be simpler.
In fact, it may be doable with nothing more than the 100-second count up timer and a score giver.
I hope this helps as a starting point!
2013-08-19 15:02:00

Author:
Unknown User


Thanks alot, I will try this now2013-08-19 16:02:00

Author:
Kyesty
Posts: 97


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.