00:00
00:00
Newgrounds Background Image Theme

AnchiiKyara47 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

As: Main

712,612 Views | 1,500 Replies
New Topic Respond to this Topic

Response to As: Main 2006-01-09 07:09:10


At 6/27/05 07:22 PM, Denvish wrote: These will not be tutorials as such, just snippets of code with basic instructions on where to put them, and any links that seem relevant.

LOL Oops

I'd always thought the idea was to make in-depth explainations with small examples . oh well as you say - people have different ways of learning.

Response to As: Main 2006-01-09 07:23:52


At 1/9/06 07:09 AM, TimHeasman wrote:
At 6/27/05 07:22 PM, Denvish wrote: These will not be tutorials as such, just snippets of code with basic instructions on where to put them, and any links that seem relevant.
LOL Oops

I'd always thought the idea was to make in-depth explainations with small examples . oh well as you say - people have different ways of learning.

Well, AS: Main has changed shape several times since it was started. It's become a lot bigger than I expected it to, and even my newer tuts have more detail than I was originally intending to add.

Basically, it's all good. One of the things that makes this thread so great is the fact that we have so many different users, each with their own style of teaching/writing providing information.


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2006-01-09 07:24:11


Here we go again. Thanks guys for the new tuts, and apologies to those that didn't get included or got cut. Nothing personal.

AS: Main - Alphabetic List
Notepad version of the list

==============

BASIC - GENERAL
AS: _name by Darkfire_Blaze
AS: Actionscripted Colour by -Thomas
AS: Animated Buttons by Inglor
AS: Bad Ideas by GameCubeFreak2004
AS: Bars (Health/Score/etc) by Inglor
AS: Bars (Health/Score/etc) by Darkfire_Blaze
AS: Basic A.I. by Dancing-Thunder
AS: Beginning Actionscript by Ninja-Chicken
AS: Bounce & Gravity by ImpotentBoy2
AS: ClipEvents by Inglor
AS: Drag & Drop by Inglor
AS: Duplicated Movie Clips
AS: Dynamic Color Changes by Rantzien
AS: Dynamically Resizing Objects by Spamburger
AS: Frame Functions by Spamburger
AS: Hierarchy by Rantzien
AS: loadMovie() by Spamburger
AS: loadMovie by GuyWithHisComp
AS: Loops & Conditions by BleeBlap
AS: Loops - For... In by Inglor
AS: Loops - While by Ninja-Chicken
AS: Maths - Basic by T-H
AS: Movement - Basic
AS: Movement - Scrolling Background by DrDeath2k3
AS: Movement - Scrolling Objects by lan00
AS: Performance & Optimisation Tips by T-H
AS: Print by -Thomas-
AS: Quality Toggling
AS: Random by -Reedo11-
AS: Random - More by Spamburger
AS: Replay Button by Inglor
AS: Sound
AS: Starting Out by -Thomas-
AS: Stop & Play Buttons by Inglor
AS: swapDepths by -liam-
AS: Symbolic Operators (and, or, not) by SpamBurger
AS: Symbols by Joelasticot
AS: Timeout by Inglor
AS: Tricks and Titbits by Glaiel_Gamer
AS: Variables by Rantzien

BASIC - SPECIFIC
AS: Clock by Glaiel_Gamer
AS: Custom Cursor by lan00
AS: Elastic Mouse Chaser by lan00
AS: Inventory 1 by Inglor
AS: Mouse Avoider by Hoeloe
AS: Moving, Dad 'n Me style by -Thomas-
AS: Mad Libs by SpamBurger
AS: Password by Dancing-Thunder
AS: Preloader
AS: Photo Negative by Glaiel_Gamer
AS: Subtitles by -Toast-


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2006-01-09 07:24:27


INTERMEDIATE - GENERAL
AS: Arrays
AS: Basic Combos by -Toast-
AS: Binary and Bitwise Operators by Claxor
AS: Camera Control by Inglor
AS: Collisions by Glaiel_Gamer
AS: Collisions - Boundaries by Spamburger
AS: Collision Detection by BleeBlap
AS: Collisions - HitTesting Duped MCs by SpamBurger
AS: Constant Distance (Ragdoll Basics) by T-H
AS: Debugging Syntax by Inglor
AS: Dynamic FPS by -dELta-
AS: Elasticity by Joelasticot
AS: Filters (Flash 8) by Inglor
AS: Flash & PHP by shazwoogle
AS: Flash > ASP > Txt
AS: Functions - Basic by Inglor
AS: Intervals by Inglor
AS: Linear Increasement by Inglor
AS: Listeners by F13
AS: Load External Data/Cross-Domain
AS: Loading/Unloading Data by shazwoogle
AS: Logical Thinking by Glaiel_Gamer
AS: Maths - Intermediate by Inglor
AS: Mouse Wheel by Inglor
AS: Movement - On slopes by Joelasticot
AS: Movement - Random by -liam-
AS: Pointing/Shooting at Mouse
AS: Popup Window (Javascript/Flash) by Ozcar
AS: Save and Load
AS: Specific Anti-theft Protection by authorblues
AS: Strings by Inglor
AS: SWF Copy Protection by JackSmack
AS: SWF Right-Click Menu
AS: Text Fields by GuyWithHisComp
AS: Text - HTML by shazwoogle
AS: Try And Catch (Error Handling) by authorblues
AS: Upload/Download (Flash 8) by -liam-

INTERMEDIATE - SPECIFIC
AS: Black and White (Flash 8) by fwe
AS: Fading Trail Effect (Bullet Time)
AS: Fireworks (API) by Inglor
AS: Flash Registration Form by bigftballjock
AS: Game 1 - Moving and Jumping by Ninja-Chicken
AS: Game 2 - Shooting & Power-ups by Ninja-Chicken
AS: Jumping Engine For All by Rystic
AS: Maze by Begoner
AS: Movement - Asteroids Ship by GuyWithHisComp
AS: Movie Control by Spamburger
AS: Platform Game Basics by Atomic_Sponge
AS: Platformer: N00b to Pro by MusicianEXE
AS: Platformer by Thomas2005
AS: Pong Physics & Gravity by -Toast-
AS: Rain Effect (API) by Inglor
AS: Random Enemy Attacks by Flash_Kid
AS: Scoreboard by Inglor
AS: Starfield (API)
AS: Timer by GuyWithHisComp
AS: Typewriter Effect by Atomic_Sponge
AS: Varispeed Rollover Scrollbar
AS: Volume Slider by Star_Cleaver


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2006-01-09 07:24:44


ADVANCED - GENERAL
AS: 3Dimension - Basic by -dELta-
AS: 3Dimension - Intermediate by -dELta-
AS: Actionscripted Tweens by BleeBlap
AS: API by -liam-
AS: API Curves by Glaiel_Gamer
AS: API 3-Gradient Fills by Inglor
AS: Ball Angle hitTest And Bouncing by Khao
AS: Binary Increasement by Inglor
AS: BitmapData - Basic by -liam-
AS: Circle to Line hitTesting by Inglor
AS: Components by -dELta-
AS: Faux Tile Boundaries by GooGum
AS: Line to Line Collision by Glaiel_Gamer
AS: Modular Programming by Inglor
AS: Non-Tilebased Pathfinding by -dELta-
AS: Scoreboard Protection
AS: OOP (Object Oriented Programming) by Inglor
AS: OOP Classes by authorblues
AS: Prototype, Proto & Inheritance by BleeBlap
AS: System Capabilities (Flash-PC Communication) by Inglor
AS: Tile-based Game Development Map by Inglor
AS: Tile-based Line-of-Sight Algorithm by zoohl
AS: Tile-based Pathfinding by -dELta-
AS: Trigonometry by BleeBlap
AS: Very Basic Wireframe 3D by Begoner
AS: XML by Inglor
AS: XML For Online Interactivity by -KhAo-

ADVANCED - SPECIFIC
AS: Flash Game Instant Replay by Cojones893
AS: Key Queue by Inglor
AS: OOP Inventory System by Afro_Ninja
AS: Syntax Checking Stack by Inglor
AS: XML Sockets - Chatroom by Ninja_Chicken

OTHER USEFUL LINKS:

Flash Newbie Help by -ArcticHigh-
Flash (noob) tutorial by -hellraiser-
Starting with Flash by Otacon

NG's best tutorial movies
Flash tuts list by AGH
The Big Tutorial List by IWantSomeCookies

Flashkit
actionscript.org
AS: Main
Kirupa
good-tutorials.com

NG Preloaders
Xenosteel's guide
NG Submission Tips
Get your Flash deleted

Liveswif 2.2 - Free Flash maker
Sham Bhangal's Flash V-Cam
Custom XKey Class by authorblues
Flash: FP Version Checker (component) by JeremysFilms
Keycode Getter by gorman2001

Flash/ASP scoreboard
Flash/PHP scoreboard
Cross-domain policies

Sprite page list by different
Music and Sound Effect sites V2 by different

Flash: Shortcut Keys by -Unknown-
Flash: Code Shortcut keys by Rantzien
Claymation info by schorhr
Fixing problems with importing sound
How to: Flash to animated .gif


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2006-01-09 07:30:07


Wow, big list! :-)

I still know the basics it seems, but the advanced stuff will come in handy! Also nice to see you referring to my old topics, it's always appreciated. :-)


> twitter.

Response to As: Main 2006-01-09 16:19:50


At 1/8/06 09:06 AM, -Toast- wrote:
You should never give the entire code at the end, you need to explain each line and not give a final code, which will be easy to copy & paste and have a full game.

Well I'm no AS:__ Expert, but I'd say you should atleast make sure you go in to explicit detail and give some rough Idea of how to put it together.

Response to As: Main 2006-01-10 19:04:40


Hey thanks Denvish! I've pretty much forgiven you about banning me and saying I qualify as an asshole. This is some really helpful stuff you've got compiled here. I'm a Flash artist in the making and some AS will help me out. Although I'm not gonna remove you from my 'People who have banned me' list. Ah to hell with it. I've got to stop talking or I'l go off topic.

Thanks again though.

Response to As: Main 2006-01-10 19:44:16


Cool, so we link 'em all here?

Anyway AS: Math - Exponential Functions by me.

I'm probably gonna do some on Mechs & Kinematics, green light?

Response to As: Main 2006-01-10 19:45:35


Denvish, I got a present for you. :-)

http://www.newground../topic.php?id=412168

Gotta love the resource topics :-)


> twitter.

Response to As: Main 2006-01-10 20:38:09


At 1/10/06 07:44 PM, Sekky wrote: I'm probably gonna do some on Mechs & Kinematics, green light?

I've been meaning to do one on those exact topics, but I havn't gotten around to it yet. Either way, I think it would be a good topic to cover for programmers who are interested in mimicing real life physics and if you want to write it, I think it's a great idea.

Response to As: Main 2006-01-10 20:56:52


At 1/10/06 08:38 PM, BleeBlap wrote: if you want to write it, I think it's a great idea.

i actually made a video tutorial on kinematics. fwe and i are probably going to do a whole series of them, so email (authorblues@gmail.com) me if you have a specific request.

itll probably become a full resource of the intermediate and advanced AS:MAIN topics in video form (for those who want to follow along at home). itll be hosted on my site in FLV form, so ill link you for it soon, denny.


BBS Signature

Response to As: Main 2006-01-12 01:30:12


According to a post I read in some random topic I was reading, one must have a tutorial approved by Denvish before it can be named AS: Whatever. Sorry if I haven't searched hard enough, but I've read the first couple pages of AS: Main and can't find any specific rules for submission of tutorials, so how does this work. E-mail to Denvish?

Response to As: Main 2006-01-12 01:38:21


At 1/12/06 01:30 AM, Tela_Ferrum wrote: E-mail to Denvish?

sure, but if you name a topic AS: whatever, and its a tutorial, if its not added to AS:MAIN, itll inevitably die. you dont have to get it approved if you think its a good topic. just write it, and if it doesnt work out, no harm done...


BBS Signature

Response to As: Main 2006-01-12 05:22:18


At 1/12/06 01:30 AM, Tela_Ferrum wrote: According to a post I read in some random topic I was reading, one must have a tutorial approved by Denvish before it can be named AS: Whatever. Sorry if I haven't searched hard enough, but I've read the first couple pages of AS: Main and can't find any specific rules for submission of tutorials, so how does this work. E-mail to Denvish?

Basically, check through the existing list to see if the subject you want to cover has already been done. If it HAS been done, then if you still want to do it, try and come at it from a completely different angle from the existing tut.

Once you've written your tutorial, link it in this thread. Next time I do an update, I'll decide whether it belongs in the list (largely based on others' responses to it), and if it does, I'll add it to the appropriate section. If it doesn't, as authorblues said, there's no real harm done besides a bit of your time wasted.

Don't bother emailing it to me.

Make sure you link back to AS: Main in the first post, and include links to any relevant tutorials (both on and off NG) where suitable.


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2006-01-12 07:57:17


Response to As: Main 2006-01-12 18:32:27


AS: Move to Contact Position

If you've ever used or heard of Game Maker you might know they've got something called Move to Contact Position or something like that. It just makes it so that in collisions the two objects are actually touching each other. Not inside each other, and not with a gap in between each other.

Response to As: Main 2006-01-12 21:12:46


Response to As: Main 2006-01-15 07:59:36


AS: Random rain effect

I know inglor has already done an API random rain effect, but mine looks better :p.

Response to As: Main 2006-01-15 16:39:17


At 1/10/06 08:56 PM, authorblues wrote:
At 1/10/06 08:38 PM, BleeBlap wrote: if you want to write it, I think it's a great idea.
i actually made a video tutorial on kinematics. fwe and i are probably going to do a whole series of them, so email (authorblues@gmail.com) me if you have a specific request.

the only problem with that video thingy, first its inverse-kinematics :p
kinematics is for example, knowing the acceleration of a body at time t, you can find its velocity and position at time t, or like in a string like that, if you know the angular difference and distance between each point, you can find out where the end point is like humans can touch their nose in the dark because using kinematics they know where their finger is

inverse kinematics is the opposite like in this, finding the angular difference and distance between each point from a set of coordinates

the other problem (not a problem but i just dont like it) is using trigenometry, its unnecesary, using trig, for each link in the string, you have to use sqrt, atan2, sin and cos whereas you can use simple vector math and have only one sqrt per link

(two coordinates (x1,y1) (x2,y2))

var x:Number = x2-x1;
var y:Number = y2-y1;
var d:Number = Math.sqrt(x*x+y*y);
x2 += (x/d)*(d-5);
y2 += (y/d)*(d-5);

here the distance between each point would be 5

Response to As: Main 2006-01-15 17:02:24


some body should make a tutorial on falling kinematics sorta like bubble girl

Response to As: Main 2006-01-15 17:07:41


At 1/15/06 04:39 PM, -dELta- wrote: the only problem with that video thingy, first its inverse-kinematics :p

i couldve sworn i got it right this time. but thank you for correcting me. im redoing it anyways. i sound pretentious in that video. im trying to learn to sound relaxed when im recording.

(two coordinates (x1,y1) (x2,y2))

i have NO idea why i didnt think about doing it that way. its really obvious, and certainly better. for some reason, trig was the only method i could come up with. i <3 you, delta...


BBS Signature

Response to As: Main 2006-01-15 17:10:03


At 1/15/06 05:02 PM, xflashmanx0 wrote: some body should make a tutorial on falling kinematics sorta like bubble girl

its called kinematics and your not alowd to ask for things in this thread

As: Constant distance

Response to As: Main 2006-01-15 17:10:33


At 1/15/06 04:39 PM, -dELta- wrote: you have to use sqrt, atan2, sin and cos whereas you can use simple vector math and have only one sqrt per link

(two coordinates (x1,y1) (x2,y2))

That's still reversed, vectors don't have two sets of coordinates, they're taken from an origin point.

Response to As: Main 2006-01-15 17:12:39


At 1/15/06 05:10 PM, Sekky wrote: That's still reversed, vectors don't have two sets of coordinates, they're taken from an origin point.

thats why he subtracted x1 from x2 and likewise for the y's. aligns vectors to the origin. the word reversed means a bit more than that. he means that kinematics is understanding rotation and position based on distance. inverse kinematics would be getting distance based on position and rotation.


BBS Signature

Response to As: Main 2006-01-15 17:17:03


At 1/15/06 05:12 PM, authorblues wrote: thats why he subtracted x1 from x2 and likewise for the y's. aligns vectors to the origin. the word reversed means a bit more than that. he means that kinematics is understanding rotation and position based on distance. inverse kinematics would be getting distance based on position and rotation.

it's still reversed man

Vector Equation = 4i + 2j

done

then if you have to work out coordinates for whatever reason, you do it from the vector equation(s). You don't start with coordinates and then work out the vector, the vector is already known.

Response to As: Main 2006-01-15 17:29:53


At 1/15/06 05:17 PM, Sekky wrote: Vector Equation = 4i + 2j

i know the vector equation. =(

then if you have to work out coordinates for whatever reason, you do it from the vector equation(s). You don't start with coordinates and then work out the vector, the vector is already known.

why does his code bother you. he calculates the slope, and uses that to solve the modified distance. theres nothing to question. its simple... get slope, move point to within a limit. where is the problem?


BBS Signature

Response to As: Main 2006-01-15 17:31:56


At 1/10/06 08:56 PM, authorblues wrote: i actually made a video tutorial on kinematics. fwe and i are probably going to do a

That was actually very well explained (watching out of curiosity - about half way through ATM), I hope you do more : )

You also have quite a manly voice, and use very nice code hinting colors.

Response to As: Main 2006-01-15 17:43:40


At 1/15/06 05:29 PM, authorblues wrote: where is the problem?

it's bent, that's the problem. It's bent like a crowbar is bent.

Response to As: Main 2006-01-15 17:48:11


At 1/15/06 05:31 PM, T-H wrote: You also have quite a manly voice, and use very nice code hinting colors.

i prefer my colours :p
http://www.delta.ecw..hlihgtarsegreahg.JPG