| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: May 2001
Posts: 8
|
I want to make a small game like this:
http://www.saydesign.com/banners/monkey4.html 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! |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
See this tutorial:
http://www.actionscripts.org/tutoria...op/index.shtml 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. Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: May 2001
Posts: 8
|
"Actionscripted movement"
What tutorial should i look into? |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
The one called "actionscripted movement" ?
![]() http://www.actionscripts.org/tutoria...nt/index.shtml Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
#5 |
|
Registered User
Join Date: May 2001
Posts: 8
|
hey! thanx!
i finished the two tutorial u wrote.. Can u give me a lead off on what should i do now.. thanx! |
|
|
|
|
|
#6 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
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...
Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
#7 |
|
Registered User
Join Date: May 2001
Posts: 8
|
okay i will try.
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: May 2001
Posts: 8
|
"hitTest() element"
not sure how to do that..help! |
|
|
|
|
|
#9 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
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 _root.movieClip1.hitTest(_root.movieClip2) that's the form Cheers Jesse
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Help] Game Development | Ingage | ActionScript 2.0 | 2 | 10-24-2004 09:39 AM |
| Game Project Help Needed - Willing to Pay | Sublim30 | Projects and Positions | 1 | 10-21-2004 09:07 AM |
| OHawk.com Flash Game Competition | jorisvdb | Just for Kicks Challenges | 6 | 10-10-2004 08:30 PM |