I spent a couple of weeks trying to work it out, but nothing seemed to work.
At first, I put everything on different layers/movieclips, and inside these movieclips I had the appropriate animations and actionscript:
As you can see, everything is on frame 1.
The 5 layers that have a red cross next to it are the movieclips containing animations. All other layers are just images of objects.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimNCO0lS8X5NgxcCjUBpS7BGV7rbNPH03L4XJNCLoD0ZIEbxn1SpK_qBXXJT5griXc2czwmNZ8oeh-j57b0EMgA0-CclHD_WDPzROWh_ga2irqgxJDQ6sHkoADHLl3EeHtb9AAT9VLVgE/s320/animations.jpg)
This is an example of what is inside the movieclips shown above. There is a still on the first frame, and the rest contain animations.
This way of organising the stage didn't work for me - it was much too complicated and difficult to access.
Then, after some help, I set the stage up like this:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW8VWuP6Xb5XcdnaOpJt3IY6h9WzkBRgJ5bvPyPhwdJGjqeKvc7O6SRTLJKs4f-NQoolyZGrmK7VCX-GJ3Dq-iSmY3RVKEaAVKeaOrd6hqwFmRz9sZpSw2tgNpmLqnQDF4vR8_LryczOw/s320/stage.jpg)
This is how I made my game in the end.
I have the different animations all on frames that I could call in my actionscript. There are also layers here with still object images on them, but all animations can easily be accessed here.
No comments:
Post a Comment