Home    LittleBigPlanet 1 - PSP - Tearaway -Run Sackboy Run    LittleBigPlanet 1    [LBP1] Ideas and Projects [Archive]
#1

Lift Idea help.

Archive: 2 posts


Hi people. Basically. I've got this idea for my next level but I'm not sure how to pull it off, so I'd like some help (pretty please ).

So, what I want to do is have the player in a lift shaft. There are 4 rows of lifts all going down very slowly and the player needs to make his/her way up by jumping on the lifts.

http://i27.tinypic.com/jf96i0.jpg
here's a very shoddy illustration of what I'm trying to portray.

I know that something at least fairly similar to this is possible because Media Molecule did something similar in their Marvel level Downtown Doom, except there are two rows of lifts, they're going up and the player needs to go down.

http://i32.tinypic.com/2rdajcp.jpg

One problem I can see already, though, is the pattern of lifts necessary.

http://i26.tinypic.com/szbyio.jpg

rows 1 and 4 have a pattern (of the blank spaces between the lifts) of "5, 5" while row 2 has a pattern of "1,3,1,3" and row 3 with a pattern of "3,1,3,1". The alternating spaces between the lifts for the middle rows may be a problem.

Anyway, any ideas as to how to do this?
2010-07-26 17:11:00

Author:
WORLD_THREAT
Posts: 21


Since you potentially need an endless supply of descending lifts to cater to players who die frequently in this section I'd say that you'd need to go the emitter route.

You'd start with a block of dark matter an you fancy, created lift underneath with both connected to a piston. The piston is set to the speed you want the lift to descend at and the length is enough such that the lift will be past the gas at the bottom and out of sight to the player when it stops. Capture all this as an object with the piston fully retracted.

You place the dark matter/lift object in the emitter, set it to emit the lift in the row that you want and you can either go two ways with the timing. If you have only the lift then you need to make the timing of the emitter such that it will emit the next dark matter/lift object such that you get the spacing in-between the lifts that will match your diagram.

Make sure that the emitter will emit a max object count higher than the total amount of lifts that will be active at any one time and the duration is long enough so that the lift has time to fully descend through the gas where it will then be de-emitted.

Since dark matter can be emitted onto other dark matter the emitter can continue emitting lifts as soon as the timer allows it.

If you aren't as keen to twiddle with the timings you can cheat a little bit by making the lift and then a thin layer background piece that is the length of the space you want to be between the lifts and is connected to the descending lift. You'd have the lift still connected to the dark matter but with the background layer involved the lift would necessarily be farther away from the dark matter. Capture this as an object and emit this from the emitter with the timing set to 0.1.

Now because you have the background layer the emitter will not be able to emit the next lift until the first lift has descended enough that the background layer material has cleared the emit zone at which point the emitter will emit the next lift. The second lift is descending at the same rate as the first and this will create a never-ending stream of descending lifts.

Doing the row 2 and row 3 lifts is not much more difficult except that you would have do make and capture two lifts rather than one as your object. Both rows have a repeating pattern so if you make and capture the lowest common denominator you will be able do the same emitting as you do in the other rows.

For row 2 you'd have a lift that started one unit above the lowest point, another lift connected by a stiff rod or background layer material that is equal in length to three units and then another lift. Above this lift is more background layer material or space to equal one unit. This top lift is connected to the dark mater material by piston and with the same descent values as the other pistons.

Now when you emit the object for row two you'll get your lift, three spaces, lift, one space, newly emitted lift that repeats the pattern. You'd have to manage all of the row's emitters to emit their objects so that they'd all align properly but with a lot of tweaking and finessing you could get all of this to match and work smoothly.

You'd need to make and capture a different lift object for each row as they all have a different arrangement of lifts regarding their initial starting height and distance between them.

I know that I haven't described this well so just head on over to rtm223 excellent write up on his blog here. http://www.lbpcentral.com/forums/entry.php?1041-Emitter-Blocking-Theory

In this blog there is a section on conveyor belt systems which is exactly what you want except that yours is descending rather than extending.

I'm happy to write this up in more detail or differently if it will help answer any other questions you have.
2010-07-26 18:23:00

Author:
Trindall
Posts: 297


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.