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

Emit in a random spot within an area?

Archive: 6 posts


(I'm actually making this level in LBPV, but I figure this board is probably more active.)

I'm working on a game somewhat similar to Snake: "collect the good things, stay away from the bad things." (If you have ever played Squarez on PSP, I'm making a Vita clone of it in LBP) I need help making 2 emitters that will emit the good and bad objects, but they must drop in random locations within a specific rectangular area. What would be the best solution to go about this? Thanks in advance.
2012-11-07 23:32:00

Author:
Unknown User


Moved to [LBPV] Help2012-11-08 00:39:00

Author:
Lady_Luck__777
Posts: 3458


Hmm... tough one. I don't think there are any ways to emit an object straight out of an emitter in a random location, so you'll need to either have several emitters or make the emitter move around randomly. Of the two, I think the multiple emitter option is probably easier, although either would probably be fine. So, either have your emitters flit around the play area emitting the things you'd like or have a randomizer that selects one of the emitters to emit at the correct time.2012-11-08 04:43:00

Author:
ChrisF2112
Posts: 265


I don't think there are any ways to emit an object straight out of an emitter in a random location, so you'll need to either have several emitters or make the emitter move around randomly.

I'd probably go with one of Chris' two suggestions as well (Random movement of 1 Emitter; or Random emission by several static Emitters).

There is however one Emitter in the game that does have the ability to emit in a somewhat random place - The Creatinator!
But I highly doubt it would be of any use to you in this situation
2012-11-08 12:05:00

Author:
Slaeden-Bob
Posts: 605


I would have the emmiter movebale. Then make it automatically follow a certain color tag as quickly as possible and hook up a randomizer to tags in random spots!2013-01-06 19:41:00

Author:
qwerty123456
Posts: 309


A pretty simple way is to stick the emitter at the end of a horizontal+vertical piston setup, kinda like this:

s-e
|
st

lines are pistons, s = stickerpanel, st = static stickerpanel, se = emitter on stickerpanel. Then hook a randomizer up to the pistons and tweak speeds as desired.
2013-01-06 22:26:00

Author:
sportbil
Posts: 23


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.