| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Aug 2005
Location: UK, South East
Posts: 206
|
I realised today I've never tried using Flash's movieclip masks. As an experiement, I thought I'd give it a go - see attached (yes, that's a photo of me, taken by me). Your challenge is to show off what can you do with a relatively short piece of code (say, 25ish lines) and the Movieclip.setMask() function?
Last edited by CMU; 08-18-2005 at 09:21 PM.. Reason: Modified attachment |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Aug 2005
Location: UK, South East
Posts: 206
|
And the compiled movie, for those without Flash MX
|
|
|
|
|
|
|
|
|
#3 |
|
Dont set yourself on fire
|
sounds fun! i've been meaning to play around with masking in the AS API. great idea for a challenge. i'll try to post something in the next day or two (no net at home any more, neighbors set up WEP.. and i don't have flash at work)
|
|
|
|
|
|
#4 |
|
Allez les Bleus!!!
Join Date: Oct 2002
Location: Paname
Posts: 2,495
|
All right, this is something I did a while ago, but it fits the theme. You'll need a picture in your library, linkage name 'image' and registration point in the middle:
ActionScript Code:
![]() I'll try and do something original if I have time. |
|
|
|
|
|
#5 |
|
Allez les Bleus!!!
Join Date: Oct 2002
Location: Paname
Posts: 2,495
|
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Aug 2005
Location: UK, South East
Posts: 206
|
Pom, that's lovely! Really original thinking to put multiple masked layers over each other like that.
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Aug 2005
Location: UK, South East
Posts: 206
|
Hmm, I might have gone a little over the top on this one (miles over the 25 lines guide, although the mask effects by themselves aren't far off that), but I was enjoying myself
This is still a work-in-progress mind, so presentation is a little ropey in places.Use cursors to fly about, and try not to hit things. You have a fuel limit, and you're trying to find the exit before you run out of fuel or crash badly. By the way, I'd be interested to know how well this runs on various spec machines. There's an FPS counter in the corner. Due to the silly number of masks and alphas flying around it runs at about 15fps on my Athlon 2000+. |
|
|
|
|
|
#8 |
|
Dont set yourself on fire
|
That's an awesome concept for a game. You're making great progress with it, too.
I'm on a P4HT 2.8 and the FPS was freaking out going between 17 and 18 really fast. Keep up the great work! |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|