Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-12-2005, 06:59 AM   #1
invader
Dont set yourself on fire
 
invader's Avatar
 
Join Date: Aug 2005
Location: Arizona, USA
Posts: 238
Send a message via AIM to invader
Default Challenge - Cursor Trails

Fairly self-explanatory, but here are some rules:


create an effect that follows the cursor in some way or another.
no length limit, use as much code as you want.
post as many times as you want.
be as creative as possible, think of something you haven't seen before and try to make it.
most importantly: have fun.


you don't have to be an expert to create a great effect. beginners are encouraged to participate. this might help ease the learning curve:
ActionScript Code:
// create listener object mouseListener = new Object(); Mouse.addListener(mouseListener); // retrieve the cursor's current position someObject._x = _root._xmouse; someObject._y = _root._ymouse;

i will throw together a few examples. i have attached two for now.
Attached Files
File Type: zip trail-examples.zip (1.3 KB, 1097 views)
invader is offline   Reply With Quote
Old 08-14-2005, 11:00 AM   #2
invader
Dont set yourself on fire
 
invader's Avatar
 
Join Date: Aug 2005
Location: Arizona, USA
Posts: 238
Send a message via AIM to invader
Default



i was hoping to see a little more interest in this challenge. there are some cool things you can do with this type of effect.

i made another example. i included the source with this one in case it helps anyone.

too bad i don't have a bunch of expensive stuff to give away.
Attached Files
File Type: zip trail4.zip (7.1 KB, 819 views)
invader is offline   Reply With Quote
Old 08-14-2005, 06:46 PM   #3
Dylan Marvin
Dylan
 
Join Date: Jun 2005
Posts: 379
Default

Quote:
Originally Posted by invader

i was hoping to see a little more interest in this challenge. there are some cool things you can do with this type of effect.
Aside from the "image" challenge, which only now has picked up, challenges don't get too much traffic (as far as I've seen in my short time here).
Give them time. Besides, if someone is really interested they might be making their submissions while you're waiting.

(Also, I hope the challenge offering a reward hasn't spoiled the interest in challenges for "just for kicks". I put a challenge up about a month ago and it must have been deleted for lack of interest or maybe I didn't follow the guidelines.)
__________________
my art
Dylan Marvin is offline   Reply With Quote
Old 08-15-2005, 09:41 PM   #4
prodigy
Bloke who's learning.....
 
Join Date: Aug 2005
Location: South UK
Posts: 19
Send a message via MSN to prodigy
Default My first pointer!

This is my first Mouse trialier which i think follows your challenge!
ha ha
Attached Files
File Type: zip ducksmouse.zip (7.3 KB, 750 views)
prodigy is offline   Reply With Quote
Old 08-16-2005, 03:09 AM   #5
invader
Dont set yourself on fire
 
invader's Avatar
 
Join Date: Aug 2005
Location: Arizona, USA
Posts: 238
Send a message via AIM to invader
Default

that's pretty awesome for your first one. i think something that would be cool to add to it would be more of a chain reaction.. the first duckling follows the parent with a delay, the second follows the first, and so on. that way, if you move the cursor quickly, the last one gets left way behind.

again, great job. and feel free to post multiple entries as you develop your skill.
invader is offline   Reply With Quote
Old 08-16-2005, 10:59 AM   #6
CMU
Registered User
 
CMU's Avatar
 
Join Date: Aug 2005
Location: UK, South East
Posts: 206
Default

I have built these recently to demo various effects to people. Most of them can be found in the forum in various places. I might have a few more goes at this challenge later - it's a good'un!
Attached Files
File Type: zip CMU-moving-things.zip (2.8 KB, 760 views)
CMU is offline   Reply With Quote
Old 08-16-2005, 02:52 PM   #7
prodigy
Bloke who's learning.....
 
Join Date: Aug 2005
Location: South UK
Posts: 19
Send a message via MSN to prodigy
Default

CMU,
How did ya do the verticle one, sorry if this is slightly off the challenge subject, but i want to know. I could use it to make a game

Cheers

Andy
prodigy is offline   Reply With Quote
Old 08-16-2005, 03:51 PM   #8
CMU
Registered User
 
CMU's Avatar
 
Join Date: Aug 2005
Location: UK, South East
Posts: 206
Default

Full code for the jumping balls one is in this post:

http://www.actionscript.org/forums/s...d.php3?t=81218

I used a bunch of unpleasent A-Level calculus to work out how fast the balls should travel to jump high enough (which is what the poster was asking about), but the animation and physics bits are the usual dead simple itterative methods, written in the 15 minutes it took me to eat breakfast this morning!

The balls are set to a random alpha, which fades a bit per frame once they are travelling downwards. When they hit zero alpha or fall out of view, they are removed.

A new ball is generated each frame at the mouse x position, with a random (but small) left/right velocity. The vertical velocity is calculated by the unpleasent maths bits.
CMU is offline   Reply With Quote
Old 08-16-2005, 07:49 PM   #9
CMU
Registered User
 
CMU's Avatar
 
Join Date: Aug 2005
Location: UK, South East
Posts: 206
Default

Here's a brand new one just for the challenge. The maths of this took rather longer than I'd hoped, but the end result is quite pleasing.
Attached Files
File Type: zip LineTrails.zip (901 Bytes, 976 views)
CMU is offline   Reply With Quote
Old 08-16-2005, 08:12 PM   #10
senocular
six eyes
 
senocular's Avatar
 
Join Date: Jan 2003
Location: San Francisco, CA (USA)
Posts: 7,875
Send a message via ICQ to senocular Send a message via AIM to senocular Send a message via MSN to senocular Send a message via Yahoo to senocular
Default

That looks nice CMU.
I remember I did some mouse trail examples I think in Flash 5. Lemme see if I can find them...
ooo there they are http://www.senocular.com/flash/source.php?id=0.61
nothing special though.
__________________
(6)
senocular is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:11 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.