Hi All,
Okay, so I wanted to recreate a 3d tunnel effect, like the animation I use in my game "Hexzul" (see here) or (http://www.scirra.com/arcade/addicting-puzzle-games/3478/hexzul). This was mainly to optimize the game, as up until now, I've been getting the tunnel effect by using a 1024 x 670 animation (x17 frames) - see image representation below.
<img src="https://dl.dropboxusercontent.com/u/78057629/C2img.png" border="0">
At first I created a single 1024 x 670 sprite to represent each box (thin green line around all four sides and transparent in the middle) and just re-spawned it using "Every x seconds". It was pretty simple to set up, and I was able to scale the boxes (again using "Every x seconds") to create a tunnel effect. Unfortunately with so many large sprites on the screen everything seemed to slow down quite substantially.
Then someone pointed out that I could just use lines rather than an entire box, and "stitch" them together. I've had a go with this approach, and I've managed to cobble together a rather shabby attempt (download capx). It kind of does what I want, but I just don't have the maths skills to get the lines to move together in the correct way.
Could any of you maths geniuses (I know there are quite a few of you out there!) try to help me out please?
Many thanks.
<img src="smileys/smiley4.gif" border="0" align="middle">