HEAVY logic bricks needed -.-"

Hey guys…

I’ve started on a brand new project…and i’ve been making plans for an animated object…but its pretty complicated, so im coming to you guys. Now…what im planning on doing is making a box… (a generator to be exact) and when the top is clicked on, it comes off and the contents inside are shown, then they fly out and they are spread across the screen( everything else is no longer seen ) then when i click on one of the objects, it zooms in everything and else fades away and then the object will spin (to show it) and then maybe show it in action (optional) then when i click again, the component will go back to its place on the screen and then when i click another component the same thing happens (and at the end i can put the top back on again) …got any ideas?

please and thank you

by the way…all of this will have to be rendered and be able to do all those things :D…ive only recently realized how bad i am at logic bricks…but…i wont give up :smiley:

so is this for a game or an animation project?

-.-…this is the third time im trying to post this answer… what i said the first 2 times is…its just to show off this thing that a friend of mine made-not too sure what it is… its gonna be like an AWESOME 3d powerpoint project :D- so it will have to show the box, when i click ,the object will zoom in on the box spin(a slow spin to show you the object at all angles), then when i click again, it stops spinning and goes back to normal, then when i click the top of the box, it comes off and gets put against a wall. Then all the objects come out and line up on the screen. Now… When i click one of the objects it will zoom in of that object and start spinning (maybe some writing pops up? :D), just like the box. Then when i click again, it goes back to normal and stops spinning. and that can work on all of the objects. then when i click the top again, the objects go back to their place in the box, and the top comes back on and i can rotate the box again. Now aaaaaalllll this will have to be rendered…obviously… so yeah…im pretty confused…i hope this helps you and me :smiley:

You might want to draw a quick story board. It is quite hard to follow what you wrote.

So this is like a product presentation, Russian Dolls style?

  1. Click the box, the content comes out and displays in a grid format, like an inventory.
  2. Click an item, the camera focus/centers the item and the item rotates.
  3. Click back on the object, and goes back to 2.
  4. Click on the box, go back to 0, close the box.

Questions:
Is the box content dynamic( Does it change) ?
Is this a presentation or an application to be re-used?
If both questions receive a negative answer, you can animate the whole thing. Use empties to hold the objects. If you don’t want python, use states to get the camera and the objects to be animated. Depending on the number of objects, you might get a small logic brick setup.
To Blur things up, you might use a DOF filter, it will give a cool appearance!
Good luck!

Hmmm,

so here is a demo file. I think it does everything that you described. The only bit of Python switches on the system cursor (otherwise it would be hard to click :wink: ).

The whole thing is heavily based on states and messages.
The path animations are done as IPO/F-Curve.
The rotations are done as motion.

The top consists of 3 tops:

  1. the top on the box - animates the return to the box
  2. a dynamic top that can be thrown around
  3. a animated top (via IPO/F-curve) to fly into the air

As the requirements have a little weakness: The top can’t be clicked when behind the box, you can click the wall to close the box too.

There are no materials nor detailed models. This is up to you.

The out of the box animations are from 1 to 41.
The camera positions are:

  • frame 41 - suzanne
  • frame 42 - sphere
  • frame 43 - cylinder
    (see Camera.path)

You can have your own objects. Make sure they have the same logic as the exiting ones.
Make sure the message actuator aCamera* sends the correct message to Camera.path.

Monster

PS:
It runs in 2.49 as well as in 2.5x

Attachments

Boxy.blend (65.9 KB)

I guess that fulfills the requirements, well done Sensei you are great!
I shall learn from it as well!

verry nice Monster!

thanks, but i still dont understand how to get the contents to come out as a grid, and i want to make some things have a controlled animation. for example… i click on the top, and its lifted off the box and it is the put against the wall, then when i click it again… it goes back on. without hitting the box or anything… :/. and yes this is basically a product presentation. its not extremely important but yeah…its important enough :slight_smile:

the box contents will now change. they will come out of the box… then im done clicking on all of them, ill click the top of the box or something and they all go back to their rightful places in the box. hope that answers question 1

and yes this is a presentation, but if i make it work nicely…i will probably end up using it again sometime soon, either with the same logic bricks for something else, or use the same thing for a game :).

and thank you very much for the blend file Monster, it will help a lot :slight_smile:

by the way…when it come to the blender GE…im not very good, ive done some minor things…but im not that great (im kinda half working on finishing my bugatti model for a game…thats pretty much all ive done recently :slight_smile:

Err, I wasn’t asking, I was trying to explain!
And Monster sensei basicaly did the stuff you asked for. Now you are asking for modifications… well, you should at least understand how it works, and try to replicate it. The make the modifs yourself!
When I asked about dynamic content I was asking if the objects will change. Like if it was a shoes, then you swap it for a key…
Being a presentation, it means the content is static, always the same!
In any case, you need to learn this stuff, so you can proudly show off your work!
Good luck!

The objects in the box are ordinary objects. Each of them has an own IPO/F-Curve to animate how to jump out of the box. The animation starts (frame 1) at the position in the box and ends (frame 41) at the location at the “screen”. When going back the animation is played reverse.

You can have your own objects. Simply add your objects, copy all the logic from the already existing one. Make your own IPO/F-Curve for jumping out.
If you want additional animations, just add it after frame 41. Add logic to play this animation.

Sorry for my rudeness, I was exhausted… ^^!
Yes, alternatively, you can animate your objects backwards. Meaning, start with the last frame, pose the end result you want, then go to the first frame and set the initial pose, then play it and adjust the middle poses.

for example… i click on the top, and its lifted off the box and it is the put against the wall, then when i click it again… it goes back on. without hitting the box or anything… :/.

I don’t seem to get what you ask for in here. First you wanted the content of the box to come out all together, now, it comes out individually? In any case the principle should be the same, add more frame to the IPO for the additional animations and play them in different states.
Example: State 1: MouseOver AND MouseLCLick—> set state: 2
State 2: Always—> AND—> IPO play :42-60
[you can add more logic here]
MouseOver AND MouseLCLick—> set state: 1

The more animations you have the more states you can use!

thank you all very much :smiley: especially you Monster…your .blend file is really helpful, and thanks for the info on all the IPOs and all :DD i will be working on the that to get it right.

I don’t seem to get what you ask for in here. First you wanted the content of the box to come out all together, now, it comes out individually?
thats not what i meant…what i meant was, for the animation of the top,…it would get lifted off the box and put against a wall and when its put back on it goes back on nicely :slight_smile:

Ah! Got it! Same thing! Just animate it the way you wanted!

“Put against a wall” is a bit vague. So I did what I think about ;). And that is why I wrote you need a story board with sketches :D.

If you just want it open (like a door) you can simply animate this as the other animations with IPO/F-Curve.

The current version has some drawbacks:

  1. the closed top is a static wich is replaced by
  2. a dynamic object that can fly anywhere. This makes it hard to follow a fixed animation as the starting point is not fixed (but the end point is). A nice trick is to replace it with
  3. a static object playing an animation that starts at the position of the dynamic object but flies off the screen. In combination with an animation of 1. it looks like it is the same top … everything seems to fit.

thank you all :slight_smile: (again) the guy that wanted this is making a change of mind… :/…he wants me to make separate videos and put them together in microsoft powerpoint…but…this is definitely going to be the next thing i work on :D. This has really helped me with my Blender GE skills…and im pretty sure its helped the other 200 something people who viewed it :slight_smile: thanks.
btw…please forgive the late answer…ive had internet probs for a little bit :confused:

rexx

No problem. Always use the tool that fits most. :slight_smile: