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

LED Puzzle (BRAINMELT)

Archive: 6 posts


Hi, first post so be nice please

I've been playing LBP since the first and generally my levels are pretty straightforward. I never really got into the nitty gritty untill now and its hurting my brain!

I'm trying to make a puzzle where you have to press switches in order to light up a 4x4 group of LED's.

Now this is relativley simple on its own, however I want 4 switches and each switch to be linked to 5 lights thus needing a correct combination of button presses in order to light them all up.


Example - I have the light board.

[X][X][X][X]
[X][X][X][X]
[X][X][X][X]
[X][X][X][X]

If I press Switch 1 it turns on 5.

[X][O][X][X]
[X][X][O][X]
[X][X][O][X]
[X][X][O][O]

If I press Switch 2, it's supposed to turn on 5, but because one bulb is already lit up, it turns it off.

[X][O][O][O]
[X][X][O][O]
[X][X][O][O]
[X][X][O][X]


So my question is, is it possible?

I hope I am explaining this enough If not I apologise.
2011-02-14 15:05:00

Author:
Unknown User


yes, it's possible. If you're asking how to flip the switches, take a counter and set it to 1. Then put its output and feed back to its own reset. hook your switch to that.

Now, connect a different toggle to each of your lights. Then take the counter you have connected to your switch, and run its output to the lights you want it to change. If the light is on, it will turn it off, if it is off it will turn it on.

You'll probably need to use some OR gates so you can have multiple switches attached to a given light, but that is the general idea.
2011-02-14 15:14:00

Author:
tdarb
Posts: 689


Thankyou so much it works now!

The only thing is, the counter wont let me select 1. It only lets me go from 10 and up.
2011-02-14 15:58:00

Author:
Unknown User


Thankyou so much it works now!

The only thing is, the counter wont let me select 1. It only lets me go from 10 and up.

Yes it will. Use your D-pad to set it to zero. Then use your left joystick to set it to one. The D-pad is for gross adjustments, the joystick for fine adjustments.
2011-02-14 16:07:00

Author:
Shanghaidilly
Posts: 153


yes, it's possible. If you're asking how to flip the switches, take a counter and set it to 1. Then put its output and feed back to its own reset. hook your switch to that.

Not quite sure why you need that, rather than just hooking the switch directly to the toggle.
2011-02-14 16:55:00

Author:
Aya042
Posts: 2870


Yeah, it would probably work both ways. It's just a habit I have gotten into. I tend to make everything one shot where I can, to avoid conflicts. It doesn't fix everything, but if a button is pressed while holding another one, it helps make sure it registers.

I was probably over thinking it though.
2011-02-14 17:11:00

Author:
tdarb
Posts: 689


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.