|
[Expand]
I'm just working on a generic XML-based Frogger game
for a language learning package. A very rough initial
draft of the initial design:
 |
[Expand]
The graphics are still to be finalised, so
I can just draw a rough frog. I appreciate
that this does not really look much like a
frog, but it will do for the present. The
movie is then:
|
with this I've detect a collision between the car
and the frog with:
| onClipEvent
(enterFrame) {
if (this.hitTest(_root.car01)==true) {
_root.frog._y=504;
}
if (this.hitTest(_root.car02)==true) {
_root.frog._y=504;
}
} |
|