00:00
00:00
Newgrounds Background Image Theme

Matilly 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

710,808 Views | 1,500 Replies
New Topic Respond to this Topic

Response to As: Main 2005-07-26 15:35:42


I don't think getting involved with trig is necessary. But, I'd like to see you remake the topic with some more information on other aspects of drag-dropping, eg:

startDrag(target,[lock, left, top, right, bottom])

which can be used to allow dragging only along one axis (useful for things like volume sliders, etc). Check out startDrag in the AS Dictionary, make some sample files until you know exactly how it works (which shouldn't take too long), and THEN write the topic.

I put it on the list because it's an oft-asked question, I just think it was a little too simplistic. Something that covers a bit more of the potential of the command would be better....


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-07-26 16:40:07


add the clip event enter frame thing too for dragging with, it's a good alternative... and it also allows you to do a bunch of extra stuff

Response to As: Main 2005-07-26 17:35:37


http://www.newground../topic.php?id=313973
AS: Drag & Drop

he asked someone else to make it... so I did

Response to As: Main 2005-07-26 17:44:11


AS: Game part 1
Though I am not sure it really fits in here it is going to be a nice tutorial using most of the topics covered here


- Matt, Rustyarcade.com

Response to As: Main 2005-07-26 18:29:09


actually, all these basic things are the reason for this thread, I linked to my replay button tutorial 20 times more then I liked to my XML one

Response to As: Main 2005-07-26 18:37:27


it is such a good idea it has already been done, check AS: Conditions and Loops

Response to As: Main 2005-07-26 18:39:02


At 7/26/05 06:22 PM, SpamBurger wrote: You know what? Someone should make an AS topic about tiny basic things that wuoldnt deserve there own thread. Such as: buttons, if statements, else statements, etc. I will do it if Denvish allows it.

Well...... Ifs and elses are covered in BleeBlap's Conditions & Loops thread, and buttons are covered in Joelasticot's Symbols thread... the way I see it is, anything that's not too much hassle (ie, less than about 10 lines of code) to type out when someone asks a question about it is probably not worth making a topic about.

If you can think of something small that hasn't been covered already (or has been covered, but you can offer a fresh approach), then create an AS: thread, but try to fill in a little 'surrounding detail', like where the code could be used, and any relevant AS that's worth looking up.

You don't need my approval to create AS: Threads, by the way, although it's obviously currently my opinion as to whether they deserve to be on the list or not. Anyone is free to question my judgement on any such decisions, though - as this thread proves, many heads are better than one.


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-07-26 19:56:33


OH LOOK IT'S A SHAMELESS PAGE-FILLER!!!

As: Main


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-07-26 19:57:33


GENERAL CODE:

BASIC
AS: Bars (Health/Score/etc) by Inglor
AS: Basic A.I. by Dancing-Thunder
AS: ClipEvents by Inglor
AS: Drag & Drop by Inglor
AS: Duplicated Movie Clips
AS: Inventory 1 by Inglor
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:Movie Control by Spamburger
AS: Password by Dancing-Thunder
AS: Performance & Optimisation Tips by T-H
AS: Quality Toggling
AS: Replay Button by Inglor
AS: Sound
AS: Stop & Play Buttons by Inglor
AS: Symbols by Joelasticot
AS: Variables by -Toast-

INTERMEDIATE
AS: Arrays
AS: Camera Control by Inglor
AS: Collisions by Glaiel_Gamer
AS: Collision Detection by BleeBlap
AS: Creating Boundaries by Spamburger
AS: Debugging Syntax by Inglor
AS: Elasticity by Joelasticot
AS: Functions - Basic by Inglor
AS: Intervals by Inglor
AS: Linear Increasement by Inglor
AS: Load External Data/Cross-Domain
AS: Maths - Intermediate by Inglor
AS: Mouse Wheel by Inglor
AS: Movement - On slopes by Joelasticot
AS: Output Panel Manipulation by Inglor
AS: Platform Game Basics by Atomic_Sponge
AS: Save and Load
AS: SWF Right-Click Menu

ADVANCED
AS: API by -liam-
AS: API Curves by Glaiel_Gamer
AS: API 3-Gradient Fills by Inglor
AS: Binary Increasement by Inglor
AS: Syntax Checking Stack by Inglor
AS: Modular Programming by Inglor
AS: Non-Tilebased Pathfinding by dELta_Luca
AS: Tile-based Pathfinding by dELta_Luca
AS: Tile-based Game Development Map by Inglor
AS: Movement - Random by Begoner
AS: OOP (Object Oriented Programming) by Inglor
AS: System Capabilities (Flash-PC Communication) by Inglor
AS: Trigonometry by BleeBlap
AS: XML by Inglor

SPECIFIC EFFECTS/PROJECTS:

BEGINNER
AS: Clock by Glaiel_Gamer
AS: Preloader

INTERMEDIATE
AS: Fireworks (API) by Inglor
AS: Game 1 - Moving and Jumping by Ninja-Chicken
AS: Maze by Begoner
AS: Flash Registration Form by bigftballjock
AS: Pong Physics & Gravity by Dark_Toaster
AS: Rain Effect (API) by Inglor
AS: Starfield (API)
AS: Typewriter Effect by Atomic_Sponge
AS: Volume Slider by Star_Cleaver

I lost count.


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-07-26 20:06:35


AROUND 64, not sure, you can write a script that checks that ;)

Response to As: Main 2005-07-26 20:09:58


w00t, 26 tutorials and counting :D, I'll try to keep my 1/3 BA at this thread, I probebly won't, but it's definetly worth a shot.

Response to As: Main 2005-07-26 20:35:14


At 7/26/05 08:29 PM, SpamBurger wrote: Yay! My second AS thread! Inlgor, its cool how you make most of the AS threads, and they are all helpful.

I didn't make most of them , I made 1/3 , it's not a lot... Kinda making up for the fact denvish thought up the concept :P

Response to As: Main 2005-07-26 21:26:09


can anyone post a code for making powerups randomly appear and when the object hits them there effect takes course? i am just starting as so if this is too complicated please tell me!

Response to As: Main 2005-07-26 21:28:47


look into collision detection and Math basic

Response to As: Main 2005-07-26 22:04:49


At 7/26/05 09:28 PM, Inglor wrote: look into collision detection and Math basic

alright ty. by the way. if i use these scripts in my game. how i do leave credit? and do i need to leave credit?

Response to As: Main 2005-07-26 22:13:28


MY scripts are ALL under GPL, you don't have to credit but it's appreciated.

Response to As: Main 2005-07-26 22:18:14


At 7/26/05 10:13 PM, Inglor wrote: MY scripts are ALL under GPL, you don't have to credit but it's appreciated.

inglor, are those numbers in your prof really working w\ aim? if so could u get on? i would really like to discuss some as stuff w\ u really fast.

Response to As: Main 2005-07-26 22:23:06


I AM on, use those numbers without what follows them : 326528490

Response to As: Main 2005-07-26 22:24:35


At 7/26/05 10:23 PM, Inglor wrote: I AM on, use those numbers without what follows them : 326528490

it says ur no longer signed on AIM. Can u try messeging me? Noah5671 is the aim name

Response to As: Main 2005-07-27 07:07:31


bump

Response to As: Main 2005-07-27 07:25:55


AS GAME 2

horrah


- Matt, Rustyarcade.com

Response to As: Main 2005-07-27 16:12:00


I have a couple ideas for some, but I couldn't make them.

AS: Highscore Table
AS: Music Changer (meaning control panel that has 1,2,3,4, and each number you press stops the previous song and starts a different one).

Well, those are my ideas for ones that could work.

Response to As: Main 2005-07-27 16:44:34


At 7/27/05 04:12 PM, FLCLmonkey wrote: I have a couple ideas for some, but I couldn't make them.

AS: Highscore Table
AS: Music Changer (meaning control panel that has 1,2,3,4, and each number you press stops the previous song and starts a different one).

Well, those are my ideas for ones that could work.

AS: SOUND
AS: XML

I know what you mean but these are pretty damb close. Seriously though we are running out of actual topics


- Matt, Rustyarcade.com

Response to As: Main 2005-07-27 20:46:40


Hi, I wanted t post a question here, because I thought maybe I'd get an answer:

I would like to make something move, but always be moving and just change direction if you press Up, Down, Left, or Right. It's for a "Snake-Type" game. I want it to always be moving, but change direction when you press the buttons.

Response to As: Main 2005-07-27 21:29:32


you keep the movement in a variable, check the variable according to the key pressed, and move according to the variable instead of the key pressed

Response to As: Main 2005-07-30 02:12:06


since my last post in here sparked an idea, i thought id think of some more

they way the list is atm isnt to helpful, it needs to have a mini explanation of each without having to go into each thread.

if theres a new thread made to house all these, then it should have a unique searchable name and all threads spawned off it should so that its longer than the 3 letter word search, and wouldnt get a load of other topics, so for instance just four random letters at the start of the topic, then the name (basically whats happening with the as, but longer)
eg
bhrd : Main
bhrd : variables
bhrd : enemies

and so on.

oh, and another idea for a thread (or can you direct me towards it) would be on random apearing enemies, for e.g they appear every so often just off screen, then come on.

and another on random appearance, for e.g in a shooter game you have a man positioned behind a box, when ones dead, another will appear after a certain amount of time.
--could these be in the same topic?

thanks for any replies

sorry for any dumb questions regarding AS, im just trying to learn it.

WEBSITE

BLOG ~ Dont fuck around with my dog. All that I can see I steal. ~

NG FFR ~ Automatic for the people.

BBS Signature

Response to As: Main 2005-07-30 18:02:20


Someone, please make an AS: FSCommand!!

Response to As: Main 2005-08-02 08:57:00


At 8/2/05 08:42 AM, Glaiel_Gamer wrote: bump

Don't bump without having anything to say :P.
People won't forget this thread exists.

What about "AS: AttachMovie"?
Or "AS: Advanced physics", my thread covered only pretty basic stuff :P.


BBS Signature

Response to As: Main 2005-08-02 14:34:30


At 8/2/05 08:57 AM, -Toast- wrote: What about "AS: AttachMovie"?
Or "AS: Advanced physics", my thread covered only pretty basic stuff :P.

That's covered in AS: Duplicated Movie Clips. However, as I've said before, I'm always happy if more than one person covers a topic, SO LONG as they add a new angle or explain it a different fashion.

I also dropped by to apologise for my BBS absence, I've been snowed under IRL with offspring problems (ie hospitals) and other shit. I'm working on a cool API tracer that will hopefully be released within a week or so, and with any luck, I'll get back to being a bit more regular in this forum and Audio, too.


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-08-02 14:42:20


At 8/2/05 08:57 AM, -Toast- wrote: Or "AS: Advanced physics", my thread covered only pretty basic stuff :P.

What sort of physics didn't you cover?


Sup, bitches :)

BBS Signature