Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Tutorials
#1
begginers guide to Logic Enginnering P1
Archive: 9 posts
Hey there! In this post, I will teach you the 4 basic logic gates of LBP. Those gates are; The 'AND' gate, 'OR' gate,'XOR' gate and the 'NOT' gate. Also I will teach you the advanced logics; The 'Direction Splitter', 'Direction Combiner' and the battery. So.. lets get started shall we.. 1) The 'AND' gate; a logic gate which has a minimum number of 2 ports, and a maximum number of 100 ports. The 'AND' gate only activates when all of its inputs are activated, no less. So that means if you have 4 input ports onto your 'AND' gate, and have only 3 of those ports activated, the 'AND' gate would not be fully activated, until the 4th input port is engaged. 2) The 'OR' gate; a logic gate which is activated if any of its inputs are engaged. This gate can become helpful, if you want optional ways to activate something (light, hologram, etc) in your levels. 3) The 'XOR' gate; a logic gate which is activated only if 1 of its inputs are activated. If more than 1 of its inputs are activated, the gate will become idle as well as its export circuit. As the rest of the gates, it has a minimum number of 2 input ports, and a maximum of 100 ports. 4)The 'NOT' gate; a logic gate which has a inverted output. At default, the gate will be already activated as well as its output. This gate only has 1 input, but it can still have optional ways to activate it by connecting an 'OR' gate to its input, and adding the numerous switches in the 'OR' gate inputs. When the 'NOT' gate's input is activated, instead of actually activating it (because it already is) it deactivates the gate. 5) Toggle; a logic gate that toggles 'on/off' to control the activation of itself. 6) Battery; a piece of logic which can be tweaked optional percentages and signal strength. Batteries do not have inputs *pls note*, if you want to control the battery at a specific time to turn on or off, place the battery onto a microchip. And hook up the microchip's input whenever you want to turn on or off the battery. If not, the battery will have a permanet activation untill you tweak the battery to 0% signal power. 7) Direction Splitters; takes 1 input and splits it into two outputs (either positive, or negative). The posotive signal on the splitter is marked by the Positive plus sign (+), and the negative signal is marked by the minus sign (-). This peice of logic is great for controlling negative and positive movements in your levels. It also works efficent with direction combiners to easily control special left/right and up/down movements with the 'Controllenator'. 8) Direction Combiners; takes 2 inputs and combine them into one output. Which justifies if a negative or positive signal had been activated. If you attach the D.splitter's outputs into each D.combiner's + &- inputs, the combiner will activate and justify wether your moving to the left or right (up/down) while in a controllenator. Ex. The Left analong stick's output connects to the D.splitters inputs (Positive is right, negative is left) and the direction splitters' outputs connects with the Direction Combiners ( posotive in positive, negative in negative), and you finally connect the D.combiner's output to the 'Left and right ' section of a mover. You should be able to move left and right smoothly. Also works for up/down movements. Ok thats quite long, so il cut it off there and il post P2 soon. P2 will include advanced usage of logics, and the remaining logic peices. (randomizer, selector, etc) I hope this helped for any beginners, if you have any questions, feel free to post your request on here or invite me on LBP with the username Dahaji. And il try to get to you as soon soon as possible! Bye for now | 2011-09-10 02:08:00 Author: Unknown User |
Moved your thread to [LBP2] Tutorials (http://www.lbpcentral.com/forums/forumdisplay.php?127-LBP2-Tutorials). | 2011-09-10 02:41:00 Author: warlord_evil Posts: 4193 |
Sorry but I am afraid you are wrong. The AND gate actually doesnt do that, it activates the lowest % input, so 50% and 100% would activate 50%. The OR gate activates the highest % input, and the NOT gate subtracts the input % from 100% (invert) But nice tutorial anyway | 2011-09-10 13:20:00 Author: NcLc2010 Posts: 72 |
Sorry but I am afraid you are wrong. The AND gate actually doesnt do that, it activates the lowest % input, so 50% and 100% would activate 50%. The OR gate activates the highest % input, and the NOT gate subtracts the input % from 100% (invert) But nice tutorial anyway He is not touching down on signal strengths, he is explaining native actions of each gate. Great tutorial for beginners, mate. | 2011-09-11 19:02:00 Author: nunsmasher Posts: 247 |
Sorry but I am afraid you are wrong. The AND gate actually doesnt do that, it activates the lowest % input, so 50% and 100% would activate 50%. The OR gate activates the highest % input, and the NOT gate subtracts the input % from 100% (invert) But nice tutorial anyway Actually yes that would work if the battery is connected to its input, but when it comes to a default AND gate, both of its inputs must be activated. In science, its called a parallel switch because for it to activate, all its inputs would have to be on. Percentages dont apply in this case, if one input is connected to a 50% battery, and another was on 20% battery ( but both were on microchips), they both must be activated first. Percentages can be applied when it comes to direction combiner's and splitters cases, but to AND gates (in this scenario) percentages are not implied. Not gates are activated by default and when its input is activated the gate shuts off (inverted). Same goes with the OR gate. Remember this is a basic guidence for BEGINNERS, more advanced forums will come soon! He is not touching down on signal strengths, he is explaining native actions of each gate. Great tutorial for beginners, mate. Excactly the point | 2011-09-13 01:43:00 Author: Unknown User |
Very good reference. It appears that a lot of this confusion is coming in because gates respond to both digital and analog signals. I assume you are focused mostly on digital here. In LBP2 these are separate attributes. They both exist separately and simultaneously in the same wire, which is why it can be tricky to get analog to digital conversion. For example: If you have two batteries set to 20 and 30 percent. They both have digital outputs of 1 because batteries do by default, but they also have analog outputs of their respective percentages. If you attach the 30% to a positive pole on a direction combiner, and the 20% to the negative pole, the digital signals will cancel out and the wire will go dark(1-1=0)....BUT if you check the analog value you will still be passing a 10% analog signal (30-20=10). This will pass validation as a signal on all gates. If you put it on an AND gate with a 100% battery you will get a dim wire coming out for the digital signal, but you will still have an analog value of 10. I know that isn't the intended scope of your introduction, but it may be confusing for some people since you talk about direction splitters and analog sticks. They are largely associated with analog signals. | 2011-09-13 02:12:00 Author: tdarb Posts: 689 |
Yeah excactly, you are right at that case! Im glad you contributted to that too, but yeah I just wanted to put a pretty basic introduction to logic curating in this post, so I didnt go much in depth like battery signals. Thanks | 2011-09-13 20:31:00 Author: Unknown User |
In LBP2 these are separate attributes. They both exist separately and simultaneously in the same wire, which is why it can be tricky to get analog to digital conversion. Thanks for taking the time to actually explain this FULLY! It bothers when this stuff is just glossed over in a tutorial. | 2011-09-17 00:04:00 Author: comphermc Posts: 5338 |
I'm gonna go ahead and plug my interactive logic tutorial level (http://lbp.me/v/w1f16r), which lets you play around with the analog and digital parts of a signal independently and see how different components react to different signals. | 2011-09-23 02:11:00 Author: Balorn Posts: 92 |
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.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.