|
Prev: Director 11 in Adobe News?
Next: Brand Watches Longines Ladies Watches Classic L4.209.4.72.6 - AA Discount, Swiss, Fake
From: dexs345 on 24 Apr 2008 03:09 i am new to director know the basics really with lingo. not comming from a programming background i would like to meke a game where images are falling from the top of the screen to the bottom. this i have done in a predefined order. image1, image2, image3... and so on but i would like to add bit of random code that makes the image drop in a random order ther are 5 images and if the images is clicked on the image will dissapear and a finish sign will appear..... if this is too long to explain then accept my appologies. regards Dexter
From: Professor on 24 Apr 2008 20:03
dexs345 wrote: > i am new to director know the basics really with lingo. not comming from a > programming background i would like to meke a game where images are falling > from the top of the screen to the bottom. > > this i have done in a predefined order. image1, image2, image3... and so on > but i would like to add bit of random code that makes the image drop in a > random order ther are 5 images and if the images is clicked on the image will > dissapear and a finish sign will appear..... > > if this is too long to explain then accept my appologies. > > regards > > Dexter > Assuming you have already done the falling image (if not use a tween place the image at the top for the start and where you want it to end for the end. The number of frames you use for the tween and the number of frames per second will determine the smoothness of that animation. To make the image disappear, just add a script to the member that make it disappear when clicked such as: on mouseUp set the visible of sprite x to FALSE (or) sprite(x).visible = 0 end x of course is the sprite channel you assigned the image to. |