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

tower trouble blocks

Archive: 12 posts


Hello lbp community this is my first post .

Back when I first got lbp1 I was very keen to the logic. I could make a switch for about anything I needed and I very much enjoyed it. Unfortunately the knowledge does not transfer at all to lbpv or lbp2 and I find myself fumbling over anything I want to make now. Even after all the tutorials things just don't click. But anyway, I'll stop crying now and get to my question



I had an idea for a level and I wanted to make blocks that worked like the ones in the tower trouble mini game where you can control them one time with your finger and after that one time you may no longer control them. I was hoping one of you fine people here who are much better than I at this to help me out please
2012-09-27 11:44:00

Author:
Unknown User


You can just turn the touch controller (? don't know the names in the english version) off when you don't want the player to be able to touch the block anymore.2012-09-27 13:23:00

Author:
Chicoleunis
Posts: 123


But how do you set it so they can only move the block once and then it shuts off after?2012-09-27 14:29:00

Author:
Unknown User


Just any piece of logic that will sent ON signal to the Touch Tweaker only when you want it to be movable.
Because I dont know what shoul triger ther "Off" state, just a universal solution:
On the object place microchip (so in case your logic grows, you will be able to keep it somewhere where you can hide it or expand it as needed.)
Place there one selector with 2 ports.
Select 1st selector output to the input of the Touch senzor (output 1 is ON by default. So the object will be movable.)
And connect selectros 2nd input to anything that should trigger the "off" state. Timer, tag senzor, any logic stuff...

So when this signal hits selector it will switch to 2nd output. The 1st output wlll be off. So even touch senzor will be off. And obejct will not react to the touch.

EDIT:

And ah.. I see... you want it to be movable only once. So another solutions:

Use
touch tweaker
touch senzor
selector (this time with 3 ports)

connect 1st on secont output of the selector to the OR gate. And output of the OR gate to the touch tweaker.
(so as long as two first outputs are active you will be able to move the object)

Connect touch senzor and first output of the selector to AND gate. And the and to the second input of the selector.
So when you touch the object the selector will switch to the secont state. Stil allowing you to move the object.

Now connect the touch senzor to the NOT gate. And connect output of this NOT gate and 2nd output of the selector to the AND gate. And this and gate connect to the 3rd input of the selector.

This should give you possibility to move the object only once.


EDIT2:
This should be a highly professional drawing of what you should put on the microchip that is on the object.
http://i47.tinypic.com/zji4v5.png
Maybe it is not the simplest way to do. But should be easy to understand how it works.
2012-09-27 14:45:00

Author:
Agarwel
Posts: 207


Thank you so much!! I knew you had to use the selector but I had no idea how to use it. Thanks a ton man I'll have to explore the selector some more2012-09-27 19:37:00

Author:
Unknown User


Selectors very poverful tool and imho easy to understand. Definetly look into them.
They have multiple outputs - and the is always only one active. (the initial is output 1).
You ca nswitch them by sending signal to input. When you sent there the signal the output signal will be now on the corresponding output. (iven if the input signal is off, the output will be on.) If you sent more signals at one, the "highest number" output will be on.

The selectors are great for storing and changing the status of something.

For example in your case any my picture the selector has three outputs. Each of them representing one of the states.:
1st output - object was not touched yet.
2nd output - object is currently touched.
3rd output - object has been touched and finger removed.

So the first output is selected automatically at the beggining of the game.
When you touch the object (and the first output of the selector is active), then you switch the selector to the second output.
And when you remove the finger (the touch senzor + not gate. And the second output is active) it will switch to the last output.

The AND gates (with previous selector output) are ensuring the changes will go only in one direction. So if you already remove the finger and touch the object again, it will not reactivate the 2nd output again.

And output 1 and 2 and connected to the touch tweaker. So as long as any of these is active the object will be movable. Once it moves to the third "status" the object will be unmovable forever.

So it is very universal tool usefull for many purposes. Just define for yourself the different states of the object/game/etc. And use inputs to switch them based on some logic. And use outputs to triger or activate appropirate actions.

For example my whole Textventure level is done almost only from the selector. Each "chapter" has its own selector. And each output is one "game text page". Each output is connected to appropriate notes (to show propper texts). And each tap on the choice is connected to another of the selectors inputs - to switch to another screen. It has really many uses.

It is also commonly used as "permanent switch". (once you sent a signal, it will remain on/off forever). Just place the selector with two ports. Connect your input to the second port. And that is all. Until the signal is sent then first output is on and secon is off. After you sent there any signal, the first output will be off and second will be on forever. Also usefull very very often.
In my textventure level for example for the "one time choices" - one you select it, it will not appear again. The touch senzor is connected to the second input of the selector. And the note is shown only if the first output is active. Once you tap it, it will never appear again.

EDIT:
Also dont miss the cycle input of the selector. It will cycle the outputs with each input signal (from 1st to 2ns to 3rd to 1st etc...) It can be also very usefull on some ocasions.
2012-09-27 19:51:00

Author:
Agarwel
Posts: 207


Welcome to LBPC! Great to have you here.




Hello lbp community this is my first post .

Back when I first got lbp1 I was very keen to the logic. I could make a switch for about anything I needed and I very much enjoyed it. Unfortunately the knowledge does not transfer at all to lbpv or lbp2 and I find myself fumbling over anything I want to make now. Even after all the tutorials things just don't click.Believe me, I know EXACTLY what you mean. It hasn't been until only recently that I've really started to feel comfortable with the new logic objects. My brain just instinctively works with pistons and magnetic keys!

Here's what I suggest - it helped me a lot. You can still make things old school using keys, sensors, and dissolve material, so keep doing it how you're most comfortable. The thing to do is challenge yourself to recreate the same logic using the new tools and eventually you'll be able to make the change. I'm still pretty shaky with movers and rotators and I much prefer pistons and winches to get the job done, but I'm getting better. It just takes time - don't rush it and just have fun like you always did.




I had an idea for a level and I wanted to make blocks that worked like the ones in the tower trouble mini game where you can control them one time with your finger and after that one time you may no longer control them. I was hoping one of you fine people here who are much better than I at this to help me out please I'm not sure exactly how to recreate this as I haven't actually played that level yet... :blush: I'm sure someone around here will be able to help you out, but in the meantime I'll go check out that level and see if I can help you figure it out.
2012-09-27 20:10:00

Author:
Taffey
Posts: 3187


Do you guys know how to make the blocks rotate too? Ive been messing with switches for a good hour or 2 now and Have come up with.. Nothing :/2012-09-27 22:41:00

Author:
Unknown User


Should be inside settings of the touch tweaker. There should be a option like "Disable rotating"2012-09-28 08:02:00

Author:
Agarwel
Posts: 207


D: no there's a setting for rotational resistance but no setting to manually rotate it2012-09-28 11:39:00

Author:
Unknown User


And isnt that the setting?
Honestly I did not play with this kind of stuff yet. But I would try to set it to 0. I guess that should allow multitouch rotation?
2012-09-28 12:05:00

Author:
Agarwel
Posts: 207


No that's kinda like a gyroscope. It just controls how much the object can rotate when it's in the air you can't actually rotate it.2012-09-28 17:54:00

Author:
Unknown User


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.