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

Help with some logic please

Archive: 10 posts


Okay, so I've been at this one problem for a while now. I'm trying to develop an easily applicable piece of general logic which will cause a motor bolt to gradually increase in speed, for use primarily in minigames (think Clockwokz by Nuclearfish).

I am also completely stuck with another logic problem: I am trying to make some logic so that the longer a player survives in my minigame, the more points a score giver will give them. I am trying to make it so that for every second a player survives (which will be detected by a player sensor), the score giver will give all surviving players 10 points every second.

Any ideas anybody?
2011-07-18 18:13:00

Author:
Unknown User


Okay, so I've been at this one problem for a while now. I'm trying to develop an easily applicable piece of general logic which will cause a motor bolt to gradually increase in speed, for use primarily in minigames (think Clockwokz by Nuclearfish).

I am also completely stuck with another logic problem: I am trying to make some logic so that the longer a player survives in my minigame, the more points a score giver will give them. I am trying to make it so that for every second a player survives (which will be detected by a player sensor), the score giver will give all surviving players 10 points every second.

Any ideas anybody?

Well for your second problem just geta timer set to one second and and hook it up to the reset. And connect a player sensor there to start the timer. And connect the output to a scoregiver.So everysecond it'll give all players points.

As for your second problem...Are you using a car of somesort, like a topdown, or sidescrolling?
2011-07-18 18:29:00

Author:
fighterwindplus
Posts: 403


Okay, so I've been at this one problem for a while now. I'm trying to develop an easily applicable piece of general logic which will cause a motor bolt to gradually increase in speed, for use primarily in minigames (think Clockwokz by Nuclearfish).

Use a player sensor connected to a timer connected to the bolt. Set the bolt to speed and set the timer to how long you think the game will last.


I am also completely stuck with another logic problem: I am trying to make some logic so that the longer a player survives in my minigame, the more points a score giver will give them. I am trying to make it so that for every second a player survives (which will be detected by a player sensor), the score giver will give all surviving players 10 points every second.

Any ideas anybody?

Timer set to 1 second connected to the score giver and timer reset.
2011-07-18 20:21:00

Author:
Zero10100
Posts: 385


Timer set to 1 second connected to the score giver and timer reset.

The timer is built-in. Just connect the player sensor to the score giver and set it to give 10 pts every second.
2011-07-18 20:51:00

Author:
rtm223
Posts: 6497


Use a player sensor connected to a timer connected to the bolt. Set the bolt to speed and set the timer to how long you think the game will last.

Timer set to 1 second connected to the score giver and timer reset.

This is correct, but you also need to make sure the bolt is set to "dimmer" as its input action.
2011-07-18 23:52:00

Author:
shane_danger
Posts: 283


This is correct, but you also need to make sure the bolt is set to "dimmer" as its input action.
zero10100 already said to set it to speed scale.
2011-07-19 05:55:00

Author:
LBP2_Tutorialist
Posts: 225


zero10100 already said to set it to speed scale.

I thought that he meant the speed of the bolt, not the input action. a new player might still get confused. i didn't make it any better as I said dimmer instead of speed scale...

but thanks for clarifying.
2011-07-19 08:09:00

Author:
shane_danger
Posts: 283


Thanks for all the replies, all problems pretty much solved now

Don't suppose anyone fancies taking a look at this then: Same idea as a gradual increase in speed for a motor bolt, but instead an increasing frequency for an emmiter. I have tried already with a timer so that more and more emmiters become active, but this isn't exactly kind on the thermometer. Again, any help would be much appreciated
2011-07-20 14:03:00

Author:
Unknown User


Don't suppose anyone fancies taking a look at this then: Same idea as a gradual increase in speed for a motor bolt, but instead an increasing frequency for an emmiter. I have tried already with a timer so that more and more emmiters become active, but this isn't exactly kind on the thermometer. Again, any help would be much appreciated

Set the emmiter to 1 shot, Plug a timer into it with a pretty low (quick) setting (basically how fast you want it to be emmiting at its 'full speed' once the level has reached end game difficulty). Set this timer to 'speed scale' and plug its output into its own reset, get another timer and set the time to how ever long you want the level to last until it gets to end game difficulty. Plug this timers output into the 'speed scale' timer's input.

Voila. You now have a gradually increasing emmition rate.
2011-07-20 19:44:00

Author:
Epicurean Dreamer
Posts: 224


Emitters have a speed input as well, so the resetting timer is pointless.2011-07-20 22:53:00

Author:
rtm223
Posts: 6497


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.