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

Demitting in LBP2

Archive: 16 posts


Hey there,

I'm putting the final touches on a music player that emits song titles that scroll across the screen, depending on which track you're playing. I would prefer to emit and demit them on the fly as you scroll through the playlist, but I'd like to avoid using the old piston tricks.

Anyone know of a more elegant solution in LBP2?

I may just be dense here, but sometimes an easy solution can be the most difficult to find.
2011-07-25 02:11:00

Author:
schm0
Posts: 1239


I assume you have tried using destroyers?

Maybe set it up so that when you press the next button on the controller, it transmits a signal to the destroyer on the emitted object?

Disclaimer: I suck at logic so I may be talking total gibberish...
2011-07-25 02:15:00

Author:
Plasmavore
Posts: 1913


Maybe you can use hologram. To do this use selectors and link each port to the hologram and if you do all of the menu logic right, they should be on/off when you hover over them. This also works with other color/brightness editable materials. Hope I could help!
-RagingGiraffe
2011-07-25 02:39:00

Author:
Unknown User


Destroyers may have to do the trick... for some reason I never thought about these.2011-07-25 02:55:00

Author:
schm0
Posts: 1239


Sorry I couldn't help 2011-07-25 02:59:00

Author:
Unknown User


I quite like the hologram idea!

I emit holo material (sticker text) with a mover, a timer, and a destroyer. The holo pops up, scrolls, and disappears. As Giraffe suggests you could also attach the timer to a material tweaker that fades to zero brightness, then disappears. It'll give you a nice effect!
2011-07-25 03:07:00

Author:
Unknown User


My first idea when reading this was to use holograms too. I dunno if this is the same as what has been suggested, but I wouldn't bother with emitters, instead make all of your song titles out off holo and hook each one up to a port on a selector. Then glue them all together over each other in the same layer - when in preview only one will be visible at any given time. You can then incorperate your logic so that it cycles through the outputs or whatever it is you wish to do. Once that is sorted it is simply a case of making the whole thing scroll across the screen which can be done a few ways by pistons, movers or follower etc.

The benefit this will have is your text can be changed mid scroll, where as emitters will mean the title will vanish and the new one start scrolling from the beginning.
2011-07-25 14:02:00

Author:
Xaif
Posts: 365


My first idea when reading this was to use holograms too. I dunno if this is the same as what has been suggested, but I wouldn't bother with emitters, instead make all of your song titles out off holo and hook each one up to a port on a selector. Then glue them all together over each other in the same layer - when in preview only one will be visible at any given time. You can then incorperate your logic so that it cycles through the outputs or whatever it is you wish to do. Once that is sorted it is simply a case of making the whole thing scroll across the screen which can be done a few ways by pistons, movers or follower etc.

The benefit this will have is your text can be changed mid scroll, where as emitters will mean the title will vanish and the new one start scrolling from the beginning.
Yeah I said that same thing too. It's way easier than using the emitters technique, and is easier to make in terms of logic.
-RagingGiraffe
2011-07-25 15:03:00

Author:
Unknown User


Yeah I said that same thing too. It's way easier than using the emitters technique, and is easier to make in terms of logic.
-RagingGiraffe

The only reason to use emitters is for those animation effects, but those aren't that important...
2011-07-25 15:07:00

Author:
StaticLinuxpro
Posts: 482


I assume you have tried using destroyers?

Maybe set it up so that when you press the next button on the controller, it transmits a signal to the destroyer on the emitted object?

Disclaimer: I suck at logic so I may be talking total gibberish...

You just earned yourself a mention in the description!


I quite like the hologram idea!

I emit holo material (sticker text) with a mover, a timer, and a destroyer. The holo pops up, scrolls, and disappears. As Giraffe suggests you could also attach the timer to a material tweaker that fades to zero brightness, then disappears. It'll give you a nice effect!

The timer wouldn't be needed since once the title scrolls through once, it demits using the lifetime time limit. The problem was switching that title out for the next, and the destroyers did the trick.

Now all my no-frills music player needs are those scrolling instructions at the bottom of the screen to inform the player how to use the controller to play the songs.


My first idea when reading this was to use holograms too. I dunno if this is the same as what has been suggested, but I wouldn't bother with emitters, instead make all of your song titles out off holo and hook each one up to a port on a selector. Then glue them all together over each other in the same layer - when in preview only one will be visible at any given time. You can then incorperate your logic so that it cycles through the outputs or whatever it is you wish to do. Once that is sorted it is simply a case of making the whole thing scroll across the screen which can be done a few ways by pistons, movers or follower etc.

The benefit this will have is your text can be changed mid scroll, where as emitters will mean the title will vanish and the new one start scrolling from the beginning.

That would work except when the title is selected it only goes across the screen once. After that, it's done. You'd have to find a way to create many of the same thing, which is why emitters are necessary. And the title object is currently demitted after a period of time (i.e. object lifetime.)

The problem was, what happens when you switch tracks while the title is scrolling across the screen? The way it works now is that once the next track is selected, a one-shot triggers a destroyer and the new title is emitted and begins scrolling across.

The title is made of holo and neon. I'm thinking of putting up a demo for testing purposes tonight if you folks want a preview, linked through my existing music level.
2011-07-26 12:27:00

Author:
schm0
Posts: 1239


Aww, I don't get mentioned?
I was the second response!

Oh well..




....


Nah it's good. I know I didn't help and you don't need to say anything about me in it
2011-07-26 13:11:00

Author:
Unknown User


The destroyer method is certainly the best IMO. It's easy to do and doesn't require a lot of logic. Also, in more general terms, having something emitted and deleted at whatever points you want is very useful because it saves a lot of thermo. Particularly with things like Sackbots. In my Sackleships level (subtle advertising alert!) I have in total 4 sackbots. To 3 of these sackbots, I attach the cutscene logic that goes with them. When you've finished the intro, the first 3 sackbots spawn. After you've passed the first 2, a door closes and they are deleted. Then when you descend to the arena, the 3rd sackbot is deleted. You complete the Sackleships match, then ascend, the 3rd sackbot spawns again, as does the 3rd one. Having logic attached to those sackbots saves even more space.2011-07-26 14:17:00

Author:
Ali_Star
Posts: 4085


The best way to think of a destroyer is a demitter. It has the same destruction effects as an emitter but gives you that variable timing option. One of my favourite new things in LBP2011-07-27 08:17:00

Author:
Mr_Fusion
Posts: 1799


Also use a sequencer with those destroyers 2011-07-27 14:02:00

Author:
zzmorg82
Posts: 948


Also use a sequencer with those destroyers

Any reason why I should use a sequencer?

Right now, the logic for the destroyer is emitted per title and depends on a tag sensor to activate it. When the player selects a new track, the tag is activated and the title is destroyed and replaced with a new one. The emitted title (i.e. which consists of two or more unique words) only lasts a few seconds, and there is only a brief window where there are two titles in existence before their time limit expires.
2011-07-27 18:21:00

Author:
schm0
Posts: 1239


Any reason why I should use a sequencer?


Hmmm if destroyers are stretchy than that would be interesting... Never tried that. Must check it out!
2011-07-28 08:32:00

Author:
Mr_Fusion
Posts: 1799


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.