Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet Vita [LBPV] Help!
#1
How do I make a touchable block disappear and reappear on a timer?
Archive: 8 posts
I've made a block with a touch sensor and destroyer tweaker on it. I connected the touch sensor to the destroyer so that when the block is touched the block disappears. Then, I captured the object and put it inside an emitter. The emitter I set to only allow one object of its kind in the level, and a three second delay. So, the emitter spits out the block. I touch the block. It disappears. In a few seconds it reappears. This is essentially what I want in my level. I want the player to have to touch the blocks rapidly and traverse the space before the blocks reappear. However, I really want a timer so the player has a visual cue of how much time he has to traverse the space. I can connect a timer to an emitter so that when the timer is full it makes the block appear. But, how do I make it so when I touch the block the timer resets? When the block exists I can connect its touch sensor to the reset on the timer. But, the next block emitted lacks that connection. ... I hope what I'm trying to do makes sense. Edit: What about something like this. The emitted object could have a tag. The timer's reset could be set to a tag sensor. If the tag sensor doesn't detect the object it resets the timer. Can a tag sensor produce an output action when something is NOT present? Is that even possible? Edit 2: Yep. That was exactly the right solution. I put a tag on the block and set the sensor to inverted. When the tag sensor didn't detect the block it reset the timer. When the timer reached three seconds it spawned a new block. I'm so proud of myself for figuring this out! I even made a short video (http://www.youtube.com/watch?v=MCH2pKad5vA) on the off chance someone is looking to accomplish something similar. | 2013-07-15 06:37:00 Author: Unknown User |
Funny how when you just think it through it magically comes to you. Good job! | 2013-07-15 10:34:00 Author: jwwphotos Posts: 11383 |
Its a very satisfying feeling, really drives the creative direction. Congrats! | 2013-07-15 13:54:00 Author: Wolfdre Posts: 218 |
I have a new issue I can't seem to resolve. If the player is in front of the emitter the block doesn't appear. I want the block to appear and squish the player because now they exist in the same layer. I can't find any tweaks for that. | 2013-07-15 23:42:00 Author: Unknown User |
Hmmm... Well you can't emit to where something already is. Is that what you are meaning? | 2013-07-16 02:45:00 Author: jwwphotos Posts: 11383 |
Hmmm... Well you can't emit to where something already is. Is that what you are meaning? Where a player is. To kill the player. | 2013-07-16 02:47:00 Author: Unknown User |
Maybe experiment if it was dephysicalized, but lethal? Not sure you can get away with that really, but it might at least emit where the player is if it was dephysicalized. Wish I had some time to experiment, but I can't today. Hopefully someone else has an idea for you. | 2013-07-16 03:23:00 Author: jwwphotos Posts: 11383 |
Maybe experiment if it was dephysicalized, but lethal? Not sure you can get away with that really, but it might at least emit where the player is if it was dephysicalized. Wish I had some time to experiment, but I can't today. Hopefully someone else has an idea for you. Dephysicalized was a good thought, but it doesn't quite work. It creates the block on top of the player, but the block itself (even if it's electrified) can't kill the player because it's a "ghost." So, I'm thinking maybe the block appears but something else kills the player simultaneously. The question is: what? Maybe I can have something invisible come up from the floor to kill the player. Or, is there a gadget to automatically kill the player and send him back to a checkpoint if triggered? Edit: I think I figured it out. I dephysicalized the block. Then I made a block of the same size using the hologram material. I electrified the hologram material and made the hologram block as close to invisible as possible. Then I layered the hologram on top of the dephysicalized block (or vice versa) and captured them as one object. This electrified object now kills the player when the player is standing right in front of the emitter. (I could have just used a hologram block by itself, but this way I get to keep the material from the original block and it looks more "solid.") Before I combined the objects I had to put a destroyer tweaker on the hologram and connect the touch sensor (on the original block) to it. I also had to add a second tag (for the counter reset business described above). Well, it seems to work. | 2013-07-16 04:45: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.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.