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

New level help please

Archive: 5 posts


Not named this level yet, but is a 1st person view adventure.

I have got to a point where I have a raft to jump onto and want the player to move with the raft. I have made this raft as sticky as possible but as soon as it moves the player falls off.
My two ideas are

1.to destroy the player, use a little camera trickery so it still looks like it's you on the raft and respawn on the opposite side of the lake
2. put forcefield material around the player so when they jump onto the raft this would surround them stopping them from falling off and destroy this forcefield when they reach the other side.

Any other simpler ideas would be appreciated!

One note though, I already have a substantial amount of logic on the spawn point, so obviously I would prefer the solution not to need placing anymore on there if possible

Thanks in advance

Edit: Have tried camera/respawn method, creates glitch.
2014-06-12 11:03:00

Author:
Scorpio1357
Posts: 460


A simple solution: Create a cage.

Make 4 walls of force field that raise up around the raft when it activates. I'm not sure what logic you're using to make the raft move, but a player sensor in the middle of the raft with a range a bit smaller than the size of the raft (to make sure the player is all the way on before it activates) has been good enough for me. Using a piston set to the "forwards/reverse" input action, with 0 pause and a time of ~0.1-0.3 would make it a near instantaneous wall when they get to the center of the raft. I say "forwards/reverse" so that it activates and deactivates for the duration you want it, rather than on a strict and equal on and off time that pause makes. You can use a countdown timer if you know the exact duration of the trip, or you can hook the output of the motor that moves the raft up to the input of the piston, so that when the raft motor is on, the walls are up, and when its off, the walls are down.

Edit: Make sure to make the invisible walls apart of the same object as the raft so that it all moves together.
2014-06-12 14:33:00

Author:
StJimmysAdiction
Posts: 388


A simple solution: Create a cage.

Make 4 walls of force field that raise up around the raft when it activates. I'm not sure what logic you're using to make the raft move, but a player sensor in the middle of the raft with a range a bit smaller than the size of the raft (to make sure the player is all the way on before it activates) has been good enough for me. Using a piston set to the "forwards/reverse" input action, with 0 pause and a time of ~0.1-0.3 would make it a near instantaneous wall when they get to the center of the raft. I say "forwards/reverse" so that it activates and deactivates for the duration you want it, lrather than on a strict and equal on and off time that pause makes. You can use a countdown timer if you know the exact duration of the trip, or you can hook the output of the motor that moves the raft up to the input of the piston, so that when the raft motor is on, the walls are up, and when its off, the walls are down.

Edit: Make sure to make the invisible walls apart of the same object as the raft so that it all moves together.

Thanks so much for the help. I tried something similar to that and it kept jumping the player off the raft. Have just created a solid barrier as part of the raft now, looks okay. The level is based at night so small scenic things like that shouldn't be too noticeable.

Once again, appreciate your input, sure I'll be back here soon for more advice!
2014-06-12 16:08:00

Author:
Scorpio1357
Posts: 460


May be something similar to your fisrt idea: instead of deleting the player , you can delete the raft and make a kart transformation, which includes the player and the raft. At the opposite side of the lake, make the inverse kart transformation, then make the raft appears.

I think that's the idea which have been used by Pookachoo in his last level Love Panda Caye (https://karting.lbp.me/v/rp04).
Take a look at it or ask him directly.
2014-06-12 16:54:00

Author:
gipsy
Posts: 408


May be something similar to your fisrt idea: instead of deleting the player , you can delete the raft and make a kart transformation, which includes the player and the raft. At the opposite side of the lake, make the inverse kart transformation, then make the raft appears.

I think that's the idea which have been used by Pookachoo in his last level Love Panda Caye (https://karting.lbp.me/v/rp04).
Take a look at it or ask him directly.

Thanks. I'll bear that in mind for future creations. I've managed to sort it now and other than the kart occasionally bumping into the sides, which I think actually adds to the raft movement feeling, it works perfectly. I've destroyed it at the other side of the lake mainly to try to bring down the thermo, which is getting dangerously full.

Edit: Have now named the level, The Castle Grounds. It'll make sense when I publish it.

Also, one more question. Does anyone know if it's possible to remove the player name from the screen (arena style)
2014-06-12 20:53:00

Author:
Scorpio1357
Posts: 460


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.