Home    LBP Showcase / Reviews / Recommendations    Level Showcase
#1

Logic Gates

Archive: 17 posts


I created a level, Netty's Logic Lesson, which contains several useful logical gates for building contraptions and puzzles in user levels. It contains the following:

* AND
* OR
* NOT (only occasionally useful, since you can invert a switch)
* RELAY (so that you can have a single switch have multiple effects, ie, ON/OFF and DIRECTION)
* STATE (so that you can actually store persistent data)
* XOR (built from ANDs, ORs, and NOTs)
* SINGLE USE OR (once you activate it, it stays activated)
* CONSECUTIVE AND (once you activate each input independently, it stays activated)
* SIMULTANEOUS AND (once you activate both inputs simultaneously, it stays activated)

There's also a key at the end for Netty's Advanced Logic Lesson, which contains a few other useful pieces: an initializer for STATE, an 8-way OR (for simplicity), and a 2P TURN SWITCH for turn-based two-player games.

These building blocks are extremely useful for creating complicated structures!

There's a video of the stage itself here: YouTube - Netty's Logic Lesson

Playing through it will unlock the items. Enjoy!
2008-11-11 16:41:00

Author:
Randofu
Posts: 4


Some nice gates you have there sir.
And nice level to show them off
Any plans of a advanced level Vid ???
2008-11-11 17:05:00

Author:
dorien
Posts: 2767


No, no real plans to make the advanced video. Those tools are much more specific, so they aren't nearly as widely applicable as the others.2008-11-11 17:08:00

Author:
Randofu
Posts: 4


Neat, I have done something similar. Incidentally, an XOR can be done with only one key/switch and two bolts, like this:


|---|
| o |
|---| K
S |---|
| o |
|---|


The bolts rotate 90? counterclockwise when activated. Set the key radius to only fire when they are in these configurations:



|---|
| o |S
|---| K
|---|
| o |
|---|
|---|
| o |
|---|
S |---|
K| o |
|---|
2008-11-14 14:47:00

Author:
pcostabel
Posts: 4


impressive. im hoping mediamolocule will add logic blocks in a future update. if statements would add an amazing flexability. for example a point bubble could be linked to a variable called bubbles. and the door to the exit will only open when bubbles is equal to 1002008-11-14 20:10:00

Author:
useruser3
Posts: 2


Wow your gates are really good2008-11-14 20:19:00

Author:
azbgamer
Posts: 154


Very cool. I liked how you used bolts instead of pistons.2008-11-15 04:53:00

Author:
gevurah22
Posts: 1476


I used one of your switches in my level today, it was a modified and switch. I didn't actually have the switch though because I played your level on a different console, but I used the concept. Anyways, your switches are quite useful. 2008-11-15 06:46:00

Author:
BassDeluxe
Posts: 984


I really liked the video since I like logic. I could see how these gates could be more reliable or more compact than piston gates.2008-11-15 06:51:00

Author:
Voltiare
Posts: 646


I've seen this logic gate video a few days ago and favorited it. This could be extremely useful once I get the game.2008-11-15 06:57:00

Author:
Night Angel
Posts: 1214


impressive. im hoping mediamolocule will add logic blocks in a future update. if statements would add an amazing flexability. for example a point bubble could be linked to a variable called bubbles. and the door to the exit will only open when bubbles is equal to 100

I really wish they added a scripting system to the game. Switches and pistons are a neat way to let people unfamiliar with computer languages build interactive gadgets, but a full fledged language would increase the possibilities exponentially. They could retain the current interface and just give us logic building blocks, like variables, operators etc. that you simply connect and tweak.
2008-11-15 18:24:00

Author:
pcostabel
Posts: 4


I created a level, Netty's Logic Lesson, which contains several useful logical gates for building contraptions and puzzles in user levels. It contains the following:

* AND
* OR
* NOT (only occasionally useful, since you can invert a switch)
* RELAY (so that you can have a single switch have multiple effects, ie, ON/OFF and DIRECTION)
* STATE (so that you can actually store persistent data)
* XOR (built from ANDs, ORs, and NOTs)
* SINGLE USE OR (once you activate it, it stays activated)
* CONSECUTIVE AND (once you activate each input independently, it stays activated)
* SIMULTANEOUS AND (once you activate both inputs simultaneously, it stays activated)

There's also a key at the end for Netty's Advanced Logic Lesson, which contains a few other useful pieces: an initializer for STATE, an 8-way OR (for simplicity), and a 2P TURN SWITCH for turn-based two-player games.

These building blocks are extremely useful for creating complicated structures!

There's a video of the stage itself here: http://www.youtube.com/watch?v=yjysrqO3SXA

Playing through it will unlock the items. Enjoy!

Do you give explanations on how they work? It would be a good idea if you put a magic mouth on each object and show how it works. Or near it, unless you have already something like this, I'm going to play this because I need stuff like this.
2008-11-15 19:13:00

Author:
Whalio Cappuccino
Posts: 5250


Do you give explanations on how they work? It would be a good idea if you put a magic mouth on each object and show how it works. Or near it, unless you have already something like this, I'm going to play this because I need stuff like this.

Yeah he does
Did you not watch the youtube vid he has the link there for

He shows each one at work
2008-11-15 19:31:00

Author:
dorien
Posts: 2767


Do you give explanations on how they work? It would be a good idea if you put a magic mouth on each object and show how it works. Or near it, unless you have already something like this, I'm going to play this because I need stuff like this.

?
?
Have you watched the youtube video?

I annotated everything from the level so you can understand just by watching.
The gate names are literal so it shouldnt be too hard to figure out waht thing do. The gates in this level are nice and large so you can also see the mechanisms in action.
2008-11-15 19:42:00

Author:
accordion
Posts: 76


Wow, great job on the logic gates. I'll have to look at your upload, and use them in some uploads of my own. But of course I'll give you all of the credit of making these awesome logic gates.2008-11-16 20:43:00

Author:
Zorez
Posts: 83


Correct me if I'm wrong.. but the Relay is a simple : you flip a switch, which activates one or more switches elsewhere? (the reason i ask, is I'm thinking I need this one for one of my trap rooms.).

Of course, i felt like an idiot when I saw someone's "AND" switch, which I had bypassed because I didn't think it was going to work the way they got it work (4 sliding pistons to a magnetic key..)...
2008-11-17 16:18:00

Author:
DaSaintFan
Posts: 136


I used a simple AND switch at the end of my level too... Very simple and easy to use! Next level I make (don't know what it'll be) I plan to use some more complex logic...2008-11-17 16:52:00

Author:
nate_02631
Posts: 8


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.