View Full Version : Background logic help
04-15-2011, 08:44 PM
I have an animated bubble background for a maze. I want the background to be off till the player passes the entrance, after that the animation will turn on, then from there I want the bubbles to change directions randomly till they reach the exit where it all turns off and goes back to it's initial state.
How would I go about this?
04-16-2011, 08:56 PM
I'm assuming you have the animation part done. So, what I shall do is put together a level demonstrating how to get what you want. Give me a few minutes.
In the meantime, check out unXpectiD's "logic" level, it demonstrates a lot of the tricks I'll be using. (But not all of them. One appears to be unique to me, and I'm rigging up a demo for that one.)
Edit: Okay, can't connect to the servers. So the level will be uploaded some time tonight. It'll be called "Random Direction Change."
04-17-2011, 03:22 AM
Uh, can I have a picture? Not to brag, but I'm probably the best at figuring this stuff out around here. Give me a picture of your background animation and how it works and I can get logic working
04-17-2011, 05:49 AM
FYI, the start/stop and pseudo-random direction demo is up as promised. It's set to allow copies, so you can pick it apart at your leisure. Full explanation coming when I get home. (Posting from the PSP browser is too big a pain for that.)
04-17-2011, 06:07 PM
I'm using the bubble glass material for my background. It's the back thin layer, When the player enters the maze the bubbles go toward the player. As the player progresses through the maze, I want the bubbles to randomly change to any of the 4 basic directions. left, right, up, down.
04-17-2011, 07:48 PM
so... I'm assuming you need a randomizer...
04-18-2011, 05:54 AM
Have the randomizer, just not sure how to get the bubbles to change direction once the material is in place. I can change the direction of it before I put it in place but after that I'm kind of lost.
04-18-2011, 12:29 PM
Wait, are these bubbles idividual objects, or are you trying to animate a background material? You cannot make the little bubbles on the bubble glass move around, unless you do the gas glitch, sorry.
04-18-2011, 01:07 PM
Well, you could do the piston waterfall trick.
04-18-2011, 10:01 PM
The material is animated as is andI know if I rotate it before I place it I can change the direction of the animation. Is there a way to achieve this when someone is playing the level?
The 2 animated materials are under the glass category, both are from the Avalonia theme. The checker board is called Animated Grid and the other is Blue Bubbles. I'm using Blue Bubbles.
04-18-2011, 10:15 PM
I published a level called "I Need Help on This" (without the quotes) to better describe what I'm asking.
04-19-2011, 01:01 AM
No, you cannot control the bubble direction. If this was LBP2 you could use a rotator with some fancy logic, but not on PSP. It would be cool though
04-19-2011, 02:03 AM
i think i know a way to make a material rotate in random directions (i suck at explaining things but here goes):
put a normal bolt in the middle of your large piece of animated gas.
put a number of blocks a few spaces around the outside of the gas (about 5 or 7, preferably an odd number)
attach one winch from each block to the same spot of the gas,
the winches need a high maximum (just high enough so the gas can spin completely when all winches are at maximum)
the minimum of the winches should be just above the amount of space from the blocks to the edge of the gas
make a randomizer with the same number of outputs as winches
attach each output (set to direction) to each winch so that when one output is chosen the winch that it is connected to will go inward
the time on each winch can be whatever but i think about 1 second should do it
this method should work but may fail due to some stability issues
if you do not understand what i said i will make it in a level to show you what i mean
04-19-2011, 03:58 AM
It's not on a PSP it's on a ps3 with LBP2
04-19-2011, 05:25 AM
WTF then why is it on the PSP threads!? Aww... don't worry, things like this happen. Can someone contact someone to move this to the LBP2 threads? I thought this was on the PSP... :p
04-20-2011, 12:56 AM
It's not on a PSP it's on a ps3 with LBP2
****! i wrote all of that for nothing
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.