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

Some mini logic tutorials/tips

Archive: 5 posts


Things I will do soon: (and please send in ideas, like if you don't know how something is done)
Organizing Logic
Alternative Uses for Gates
Using Percentages for Digital Uses In replacement of the queue system slot, as it will cover the basis



Sequencer replacement
step one: get out a selector
step two: tweak it so however many operations you want+1 is the output number
step three (optional): put last output into first (so last output is pulsed)
step four: connect all outputs to their next inputs (do this starting from 2)
step five: use outputs starting from 2 as your starting input, and connect from 2 to your required inputs
step six (optional): connect an and gate into the 2nd input of the selector, and put the last (or first if you did step 3) output into the and gate, and the 2nd input to go into the and gate is the starter

Now you have a working 30hz sequencer
47451
Tip: selectors can work as a priority gate, as it favors inputs with higher numbers (I.E 5+2 simultaneous activation=5 output)

How to digitally detect percentages
Note this will not be an exact tutorial, just a brief explanation on how to generally preform this, as to devise your own method
step one: Take in the input
step two: check if it is 100 by using a cross comparer
step three: (Tricky) you must subtract the initial digit by checking the highest amount subtractable, this can be done with a sequencer but due to priority issues inbetween stripes, I have found it best to use multiple cross comparers
47452
to detect at intervals of 10%
step four: take the highest output that comes out and subtract it from the initial amount
What will this achieve?: I.E, if you have 92.3%, the cross comparers will detect 90% and chop off the initial amount, leaving you with another detectable amount of 2.3%
step five: so next you can multiply by 10 and move the decimal place for further detection, and then continuously detect even further percentages (but anything past 10,000ths, or 100,000ths becomes inaccurate due to battery inaccuracy upscaling from x10)

I'm going to upload a giveaway level for my new logic probe that can detect millionths with only 2 bars of thermo, so queue that up too

If you have any ideas for me to add to my tutorial list then please ask, and I will upload, I just cant think of anything to add that isn't immediately easy to think up of in-game.
2013-12-07 05:56:00

Author:
amiel445566
Posts: 664


There is great potential for improving your tutorials! If you know enough and are willing to really try and help out the community by teaching it what you know then you should make your tutorials as "professional" as possible! Add some pictures, bold important words, emphasis key points, explain tricky bits! You may find that doing a bit of this will really help more people!

Anyways, I thank you for the mini tutorial! I've been working around with sequencers for quite some time now and I find it to be probably one of the most useful logic components in lbp! I'll try and see if I can implement this in the near future!
2013-12-11 18:16:00

Author:
Bryan_Zuckerberg
Posts: 874


Thanks bryan, I love logic, and would be glad to help people, if needed, thank you for your nice comment by the way


*also if you have any tutorials YOU want to ask about, feel free
2013-12-12 03:52:00

Author:
amiel445566
Posts: 664


There a bit I'd like to find out myself, but I doubt very many people know, or could even imagine, how it was done...2013-12-12 04:53:00

Author:
Bryan_Zuckerberg
Posts: 874


Well, I might know, just ask away, can't hurt to ask can it?2013-12-12 05:22:00

Author:
amiel445566
Posts: 664


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.