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

My technique for making a scrolling level

Archive: 6 posts


Hi

Here is a short tutorial level demonstrating one way of making a scrolling level.

http://lbp.me/v/xjq-f5

Feel free to give feedback if you find it helpful or not, or if anything needs to be made clearer.
2011-02-08 21:09:00

Author:
Unknown User


Hey, just checked out your tutorial, to see if it was anything like the idea I had come up with. It's very similar, except the frame I made was holographic material set on fire. This way, the player can be their own sack person, you can use all 3 planes, the frame won't crash into any obstacles, but you'll die if you try to leave the screen (similar to the Hedge Hopping level in Da Vinci's Hideout). For a survival scroller like Hedge Hopper, make a stationary frame, and make a sequencer to emit obstacles that move from right to left.2011-04-03 23:59:00

Author:
Brannayen
Posts: 438


I'll try it in a bit,not played with the game for a while,had issues with my disk drive and loaned it out.

From memory,what I did when I started making a side scrolling shooter,was make a holo rectangle.Cut it into 4 sections Top,Left,Right,Bottom.Each section had a Tag that activated an override logic,this prevented the ship from passing the holo,yet retaind movement in any other direction.It also allowed any other object past.
I had it set up so the background would scroll,and not the player.It would stream (emit) the level and I rember testing one section for over a hour and my thermometer never went up.

I'll get on and post some pics.

Here we go,forgot how big the level chunks were couldn't fit in holo box

This is the bottom right of the box,as you can see the clouds pass through.

https://lh5.googleusercontent.com/__brRkgY92SY/TZuPG0uWsyI/AAAAAAAAAJA/kHrJicBD1lw/s800/A%20Photo.jpg



The right Tag and blocking logic.

https://lh4.googleusercontent.com/__brRkgY92SY/TZuPMRsjdYI/AAAAAAAAAJI/hpPdcSJY2-0/s800/A%20Photo.jpg
https://lh3.googleusercontent.com/__brRkgY92SY/TZuPSqgpisI/AAAAAAAAAJQ/-tR0_MUxLmM/s800/A%20Photo.jpg

The logic is really simple,I have the movement inputs on the stick or Dpad.if your only using the stick you can do away with the first two gates.
The green impact sensors are for Top/Bottom.Those are tag labelled.
Red is Left/Right,again Tag labelled.
Hook them to a combine,then into the XOR.Take the Up/Down input from the pad and plug into the same XOR.Then output into the Up/Down of the advanced mover.
If you hit the Top part of the holo it blocks you,as soon as you press down you can move down.You still retain full Left/Right movement.

Do the same with the Left/Right impact sensors,and it's done.


This is my streaming process in action.

https://lh6.googleusercontent.com/__brRkgY92SY/TZuPZCH-87I/AAAAAAAAAJY/kVQ3EtHeyW8/s800/A%20Photo.jpg
https://lh4.googleusercontent.com/__brRkgY92SY/TZuPlUtn5pI/AAAAAAAAAJo/XB5BILbBlrU/s800/A%20Photo.jpg

As you can see in the first image,the chunks emit a slight distance apart (even further apart when first emitted)
By the second image they're touching.

What I did here was use the chunk entering the holo as a brake for the next piece.As soon as the impact sensor on the chunk hit's the holo it uses a slower mover.And it's timed in a way that works.

https://lh6.googleusercontent.com/__brRkgY92SY/TZuPrOXySBI/AAAAAAAAAJw/plDWCH6MaLc/s800/A%20Photo.jpg

This is the "bin" were every thing I dont need gets deleted,saves up thermometer and means this can stream forever,I swap in any number of backgrounds at any point and never worry about space.
I had it flying left,nose diving,top down over a city,climbing into space were i'd stream in the boss.

https://lh6.googleusercontent.com/__brRkgY92SY/TZuPgygTavI/AAAAAAAAAJg/ixIWDmQS-zM/s800/A%20Photo.jpg

Again it's impact sensors and Tags with a destroy command.
2011-04-05 22:22:00

Author:
Unknown User


might you guys know how to make a level that scrolls upward like the addicting iPhone game falldown?2011-04-06 03:04:00

Author:
LBP2_Tutorialist
Posts: 225


My guess: Exactly the same kind of mechanic, but up!2011-04-06 08:26:00

Author:
standby250
Posts: 1113


might you guys know how to make a level that scrolls upward like the addicting iPhone game falldown?


Set it up so it streams from Top to Bottom.With that level I was working on,I just rotated the camera 90?.It looked like it scrolled from Top to Bottom,and I hid the transition behind a cutscene.
2011-04-06 12:41:00

Author:
Unknown User


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.