LittleBigPlanet Promotion Portal

Reply

Switching emitter based on direction??

Hey all

 

I was just wondering if anyone knew of any logic I could use to do this:

 

I have a sackbot that emits a projectile from itself and flicks into act mode for about half a second to give the illusion of it being thrown. Is there any way I can make a different emitter and different Act chip activate when i run a different direction?

 

e.g. run left, throw a fireball left, run right, throw it right

 

 

thanks,

 

Steve

Please use plain text.

Level 6

Level 6
Tommy012345
Posts: 969
Registered: ‎23-11-2008
Message 2 of 6 (201 Views)

Re: Switching emitter based on direction??

[ Edited ]

Direction splitter :smileywink:

Place the L-Stick into the Input, an the it becomes two Outputs (+ = Right, - = Left)



The End
Please use plain text.

Re: Switching emitter based on direction??

Will that only change when I press the other direction or will it be every time i press the stick?

 

e.g. if I was going left, stopped, and went left again would it change state?

Please use plain text.

Level 6

Level 6
Tommy012345
Posts: 969
Registered: ‎23-11-2008
Message 4 of 6 (179 Views)

Re: Switching emitter based on direction??

Like I said, it creates two Outputs. Either of them are only active when the stick is pushed in either direction. (Eg: Press L-Stick right, it will turn the + output on. Connect that to a one shot emitter and it will emit everytime the L-Stick is pushed Right. Set the emitter to On/Off, and as long as L-Stick is being held right, it'll emit.)


The End
Please use plain text.

Re: Switching emitter based on direction??

I didn't mean to emit whenever I was running.

 

I meant to have it emit like when I press Circle it emits in the direction that was last pressed on the stick. I thought I had this working using 2 toggles but realised if i tapped a direction multiple times it just flicked between. A directional Splitter wired into a selector and AND gates seems to have done the trick!

 

Think I'll do a Dark Jak vs. Krimzon Guard survival level when I finish the costume off for the guards - a bad-***** dark eco warrior throwing bolts of plasma at guards surely beats paintinator and zombies!!

 

Thanks for helping me with the Directional Splitter Tommy! It'll provide useful in future no doubt, may be able to re-jig my weaponbot with it! use the pad for Bomb Gloves, Paintinator, Minions of Doom (Yes, from Ratchet and Clank!), and no eqiupment.

Please use plain text.

Level 1

Level 1
CelticRedemption
Posts: 20
Registered: ‎25-01-2011
Message 6 of 6 (124 Views)

Re: Switching emitter based on direction??

You could've also used the directional splitter to 2 1-count counters that reset each other, so when you press right, one of them is active and resets the other, and mapping a fireball to it will result in it using a specific emitter connected to that active counter. when you press left, it resets the active counter and then has a different active counter that you would connect to an emitter that emits to the left.

Please use plain text.
This widget could not be displayed.
Announcements


Welcome to the LittleBigPlanet Create & Share Forum!

For the latest news and updates on what is happening in the PlayStation community, head over to our Announcements & Events forum. To post a message, you will need to Sign In to the Forums using your PLAYSTATION®Network Sign In ID and password. If you do not yet have a PSN account, just click here to register.

Recent News