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

Racer Scoring help

Archive: 7 posts


So I have most of the logic for my simple top down racer, but I was wondering if there is a way to give the person in first a higher score each time a lap is completed? Is that even possible? If so, an easy to understand tutorial or a point in the right direction would be appreciated. Thanks.2011-06-27 22:44:00

Author:
Unknown User


Make a circuit board like this

Finish line sensor--Counter(Max 1)--points

Finish line sensor--Counter(Max 2)--points

Finish line sensor________
....................................}AND Gate --Counter(Max 3)--points
Player sensor(3 players)---

Finish line sensor________
....................................}AND Gate --Counter(Max 4)--points
Player sensor(4 players)---
2011-06-28 02:20:00

Author:
Zero10100
Posts: 385


OK I forgot to mention I am a noob. I get some of the logic but fail to make a connection with your diagram. Is this for a finish only? or would it work with multiple laps? Maybe I need more explanation.2011-06-28 02:28:00

Author:
Unknown User


If you want I could join you and help

-------______ are supposed to be the wires
2011-06-28 02:39:00

Author:
Zero10100
Posts: 385


Sorry about not responding, I got offline right afterwards. But I got your logic to work, but I'm not sure how to get the logic sorted to figure out how to tell how many racers are involved in the game.2011-06-28 15:46:00

Author:
Unknown User


Use a player sensor
go to settings
players required(3-4)
2011-06-28 21:59:00

Author:
Zero10100
Posts: 385


You must be using a counter by now to count a player's laps. If you don't, that has a higher priority to figure out than the score.

Next step, hook the counter to a positional sequencer; on the sequencer's canvas you place batteries at different positions and hook these batteries to score givers. Now, depending on the number of laps, the position of the cursor line on the sequencer will be set to a different battery and will result to a different score.

However, this score will be dished out as soon as the counter changes and the sequencer jumps to a new position (so, when the player crosses the lap line); if you want to delay this, I'd place the the sequencer on a chip of its own and activate the chip at the moment of my choice.
2011-06-29 07:39: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.