variables - Implementing frogger with flash -


For Beginners: I'm working with Flash CS3 and ActionScript 2.0

I remake What I am trying to do is frogger game, and I'm stuck with putting cars on the screen.

For those of you who do not know the frogger: but I'm not implementing logs.

The big problem is that I have 3 cars, all of which are movie clips in the library, I will not keep any of them on stage. Many examples should appear at the same time. These cars need to be run in both directions and all three cars have to be shown in all the lanes (I have 4 lanes) Of course, there is only 1 direction in 1 lane.

I see hitTest () to see if my frog killed one of the cars, but I need to make it realistic, which means that I Can not harden the amount of cars on the lane.

How does it feel to rotate a movie clip around your center ...

Well, there are a couple things I can recommend.

For cars, make each car as a separate object in the library (do not cast them on the platform).

To face them different directions (I believe you just need left and right), when you can appear on the screen, the car you want Use attachMovie () to create an example of it. Either make two copies of each car in the library, one facing each direction. Or, I think if you set the Xscill value to -100% then I think it will flip horizontally, so that you can use the same library frequency for both of you. However, if you have easy access to different library instances for each direction instead of rotation on one side.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -