View Full Version : How to make this little game??
05-04-2001, 04:36 AM
I want to make a small game like this:
I am new to flash. I am not sure what actionscript i have to learn in order to acheive this game. It would be nice if anyone can start me up on this. I really want to make something like the link by June 1st, the Footer Reboot at FK.
Thanx in Advance!
05-04-2001, 02:31 PM
See this tutorial:
Basically that game checks if the hand is touching the box when it's in it's closed state. The box is animated using Actionscripted movement probably (see the tutorial in the Intermediate section), while the hand is a dragable clip and the close hand frame has a .hitTest() bit of code on it.. if hand.hitTest(box) == True then it plays the winner animation...
not too complicated but learn the basics first.
05-04-2001, 05:17 PM
What tutorial should i look into?
05-05-2001, 09:48 AM
The one called "actionscripted movement" ? :)
05-06-2001, 07:55 PM
i finished the two tutorial u wrote..
Can u give me a lead off on what should i do now..
05-07-2001, 10:41 AM
Make the box move randomly. Make the hand a draggable movie clip. The first frame of the hand has a button and a stop action. When the button is clicked it plays the hand closing animation. The last frame of the hand closing animation uses the hitTest() element to check if the draggable movie is touching the box, if so, you win, else you go back to frame 1 of the draggable hand...
05-08-2001, 01:27 AM
okay i will try.
05-08-2001, 02:07 AM
not sure how to do that..help!
05-08-2001, 09:29 AM
We don't currently have a tutorial on hitTest so just look it up in the actionscripts reference or dictionary from the Flash Help drop down menu... that should be sufficient.
Basically you give it two objects and it returns True if they are touching
that's the form
vBulletin® v3.8.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.