HOME | DD

Published: 2007-12-30 14:16:41 +0000 UTC; Views: 8057; Favourites: 56; Downloads: 134
Redirect to original
Description
Some stuff i use alot when programming as well as some more advanced stuff.Just code and examples, no documentation.
Feel free to ask any questions and tell me if i stuffed up, i dry coded most of it.
Related content
Comments: 54
midnightxdreams [2008-07-16 23:24:41 +0000 UTC]
No back button?
I like the circle collision one.
👍: 0 ⏩: 0
hat-man [2008-07-14 08:49:00 +0000 UTC]
this is awesome, but you need to set the text to dynamic. please?
👍: 0 ⏩: 0
thojoh370 [2008-04-30 11:45:14 +0000 UTC]
Couldn't you make those codes selectable? (Dynamic text field)
👍: 0 ⏩: 1
Supa-Monky In reply to thojoh370 [2008-04-30 13:44:57 +0000 UTC]
No thats cheating
I dont like people who plain copy/paste code
👍: 0 ⏩: 1
thojoh370 In reply to Supa-Monky [2008-04-30 15:54:56 +0000 UTC]
Hehe, like we don't do that anyway we just write it off the swf into a, say, Notepad document hehehe
👍: 0 ⏩: 0
Supa-Monky In reply to thojoh370 [2008-02-14 12:15:04 +0000 UTC]
Ive made it, but i dont know if i will share it with the world. It has to many of my secrets
👍: 0 ⏩: 2
thojoh370 In reply to Supa-Monky [2009-02-09 00:32:30 +0000 UTC]
How about a little Previous button though...?
👍: 0 ⏩: 1
thojoh370 In reply to Supa-Monky [2008-02-14 22:58:21 +0000 UTC]
Pleeeease?
Read my note to you.
👍: 0 ⏩: 0
thojoh370 [2008-02-08 22:39:42 +0000 UTC]
The Next button after Circle collision is dead.
Other than that - GREAT STUFFZ!!!
👍: 0 ⏩: 0
crazyjay55555 [2008-01-17 02:53:49 +0000 UTC]
1Alpha=math.pi/180;
2dir=0;
3radius=50;
4onenterframe=function(){
5mc2._x=mc1._x+math.sin(dir*Alpha)*radius;
6mc2._y+math.cos(dir*Alpha)*radius;
7dir+5;
8}
MY FAVE
👍: 0 ⏩: 0
Melindryad [2008-01-13 10:57:51 +0000 UTC]
Thank-you! I know virtually nothing about AS2 but I've been curious how you code graphics and the movements. Because you included the math/script it's starting to make sense.
Other than games, I've been thinking how else this could be applied. Cursor effects for a website???
👍: 0 ⏩: 1
Melindryad In reply to Melindryad [2008-01-13 11:01:51 +0000 UTC]
oops...I mean AS3...doesn't matter, I don't know much of AS2 either. LOL!!!
👍: 0 ⏩: 0
11Broccoli11 [2008-01-08 09:03:10 +0000 UTC]
oh, btw
very big thankyou for putting kinematics and spring constraints in.
👍: 0 ⏩: 1
Supa-Monky In reply to 11Broccoli11 [2008-01-08 10:29:56 +0000 UTC]
not a problem its just if you can program the systems to make them usfull thats the hard thing
👍: 0 ⏩: 0
11Broccoli11 [2008-01-08 08:58:06 +0000 UTC]
why would you make a tutorial with everything I need to learn in it after I have learnt it |:<
👍: 0 ⏩: 1
lyc [2008-01-06 07:42:50 +0000 UTC]
inverse kinematics? o.O
that's something completely different to just adding a constant-length vector...
👍: 0 ⏩: 0
GazTV-inc [2008-01-06 05:10:40 +0000 UTC]
Wow...
No wonder you're a genius with this Flash stuff.
You know all the E=MC2 bS...
I'll never fathom that in a million years.
Well done.
This is just proof that you have mad skills.
lol
👍: 0 ⏩: 0
rollinginsanity [2008-01-02 00:11:32 +0000 UTC]
Nice stuff, a lot of things i remember from physics. Should come in handy for some people dude.
👍: 0 ⏩: 0
brightshade782 [2008-01-01 20:40:52 +0000 UTC]
Spring constraint is cool. I just played around with it trying to get it to stop moving and then discovered it wasn't gravity affected. Fun.
👍: 0 ⏩: 1
Supa-Monky In reply to brightshade782 [2008-01-02 02:04:35 +0000 UTC]
Yeap, spring constraints are how i do my ragdolls
👍: 0 ⏩: 0
DCLeadboot [2007-12-31 18:25:13 +0000 UTC]
Some clever tricks here!
Now I'd better add this to my faves so that I can look into these codes and figure out how they work...
👍: 0 ⏩: 0
Parka87 [2007-12-31 17:42:53 +0000 UTC]
O.O
Thanks dude! With great power comes great responsibility, now I should do something with this knowledge.
👍: 0 ⏩: 0
GoopyMonkey [2007-12-31 12:55:42 +0000 UTC]
This is really useful, I always wondered what complicated scripts those good flash games use, thanks!
👍: 0 ⏩: 0
SophieHoulden [2007-12-30 22:56:11 +0000 UTC]
very handy, I didnt know using sin and cos functions were slower
👍: 0 ⏩: 0
ElectricRain [2007-12-30 22:54:10 +0000 UTC]
Does it end at Circle Collision? If so, you should have an ending screen. Not like that really matters or anything.
Anyway, nice collection of scripts.
👍: 0 ⏩: 1
Supa-Monky In reply to ElectricRain [2007-12-31 02:57:25 +0000 UTC]
yeah it ends at circle collision, i thought i get rid of the button but i guess i didnt
👍: 0 ⏩: 0
ZaneAsylum [2007-12-30 19:32:52 +0000 UTC]
Awesome...what more can a person ask for...the code with a real time example. Great job
👍: 0 ⏩: 0
Rettro [2007-12-30 17:22:03 +0000 UTC]
Does it end with circle collision or is the circle just in the way of me pushing the next button?
👍: 0 ⏩: 0
wonderwhy-ER [2007-12-30 15:45:10 +0000 UTC]
Good collection. Was thiking on doing something like that a long time ago but was too lasy
BTW you need previous button.
👍: 0 ⏩: 0
MiCrOsCo-PuCe [2007-12-30 15:43:03 +0000 UTC]
Useful for my learning in Flash.
Thanks for these parts of code, I will be able to use them when I make a new flash animation or game. Just one diffculty, I must find the time .
Excuse me for my english.
👍: 0 ⏩: 0
Melindryad [2007-12-30 15:38:36 +0000 UTC]
Interesting!
Is there anything after "Circle Collision"? The circle interferes with the next button... I think.
I learned something from my Flash teacher about the application differences between AS 2.0 and AS 3.0.
👍: 0 ⏩: 1
Sobeita In reply to Melindryad [2009-02-18 04:14:29 +0000 UTC]
No, that's the last one. I think.
👍: 0 ⏩: 0
| Next =>