Synchronizing object movement
Moderators: Commodore, Zenith Nadir
Synchronizing object movement
I have a problem with controlling multiple objects at once. The player touches a control arrow, and it sends a command to a group of objects to move in unison. Problem is, they don't - one or two always lag, and it throws the entire thing off(sometimes to very amusing shapes). I've done sync'd objects before and I have seen it done, but I've forgotten the trick to getting them to all move at once.
Anyone know the solution?
Anyone know the solution?
It's a tricky problem, and hard to get to work perfectly, if at all. The thing is, ZZT doesn't update all the objects at the same time, it updates them one at a time in the order that they were created. A lot of mobility is pretty much impossibe without breakups, but moving in one direction is easier.
It's been a while since i've had to do it, so i'm not sure if you want the objects in front or in back to move first, my guess is the ones in front, so say you wanted a group of objects to move to the right. You'd create them in this order:
54321
with kevedit it tells you the number of the object so you can check if you're on the right path.
The mystical winds encylopedia has a detailed discussion about it, so if i'm simply confusing, go check that out.
It's been a while since i've had to do it, so i'm not sure if you want the objects in front or in back to move first, my guess is the ones in front, so say you wanted a group of objects to move to the right. You'd create them in this order:
54321
with kevedit it tells you the number of the object so you can check if you're on the right path.
The mystical winds encylopedia has a detailed discussion about it, so if i'm simply confusing, go check that out.
*POW* *CLANK* *PING*
- Zenith Nadir
- this is my hammer
- Posts: 2767
- Joined: Wed Mar 12, 2003 11:40 am
- Location: between the black and white spiders
-
- LOOK OUT FER BAAAD BOB
- Posts: 116
- Joined: Fri Mar 28, 2003 12:51 am
- Dr. Dos
- OH YES! USE VINE WHIP! <3
- Posts: 1772
- Joined: Tue Mar 11, 2003 12:00 am
- Location: Washington
and have sex with Mrs. Bighead.Zenith Nadir wrote:dave2 i would like to fuck you up the butthole then i will sneak into your room and cut your cock off and stuff it in my mouth and chew it up with my little pearlies
Visit the Museum of ZZT
Follow Worlds of ZZT on Twitter
Apologies for the old post you may have just read.
Follow Worlds of ZZT on Twitter
Apologies for the old post you may have just read.
-
- What can be said now?
- Posts: 0
- Joined: Thu Jun 24, 2004 1:54 am
- Zenith Nadir
- this is my hammer
- Posts: 2767
- Joined: Wed Mar 12, 2003 11:40 am
- Location: between the black and white spiders
-
- LOOK OUT FER BAAAD BOB
- Posts: 116
- Joined: Fri Mar 28, 2003 12:51 am
-
- What can be said now?
- Posts: 0
- Joined: Thu Jun 24, 2004 1:54 am
Clecky wrote:shut the hell up jazzy
[img:1yn06nag]http://img294.imageshack.us/img294/9531 ... sigdo8.jpg[/img:1yn06nag]