00:00
00:00

As: Main

670,368 Views | 1,520 Replies
New Topic Respond to this Topic

Response to As: Main 2005-10-30 17:02:33


Herro!!!!!

Please!!

I know I have posted everywhere but everyone has kept on redirecting me or giving me info I cant use. "Please!" Can someone send me a .fla and a .swf of:

Any object doing anything.
When you press the button "A" the frame rate changes to 30 Frames per second.
When you press the button "B" the frame rate changes to normal Frames per second.

I need a responce! (crying)

Response to As: Main 2005-10-30 17:40:55


KEEEP MAKING TUTS!!

u should make an AS: Request page so that people can request AS tuts =D

lol


*User Page under construction*

BBS Signature

Response to As: Main 2005-10-30 17:41:05


At 10/30/05 05:02 PM, Fafey wrote: I need a responce! (crying)

I've replied in your thread
http://www.newground../topic.php?id=366615


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-10-30 17:42:51


At 10/30/05 05:40 PM, JD77 wrote: KEEEP MAKING TUTS!!

Actually, the list is probably going to have to jump to 3 posts soon, both posts are nearing the character limit, what with all the URL shit required for links.

u should make an AS: Request page so that people can request AS tuts =D

If you want a tut, request it in this thread. That's part of its purpose. Just make sure that your request hasn't already been covered.


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-10-30 19:20:30


At 10/30/05 05:42 PM, Denvish wrote:
If you want a tut, request it in this thread. That's part of its purpose. Just make sure that your request hasn't already been covered.

I'm almost positive that this hasnt been covered. But i would love to see a tut. on how to make something throwable. Like you grab it with the mouse and throw it. Where the distance, height, angle, etc. depend on the way you throw it. Like in that game "Defend your castle." Which I'm assuming you've played :P


2b r not2b lawl

BBS Signature

Response to As: Main 2005-10-30 19:42:24


At 10/30/05 07:20 PM, Katow-Jo wrote: Like in that game "Defend your castle." Which I'm assuming you've played :P

Or "Throw It!" which he actually made.. I think he posted he throwing code in AS:API


Sup, bitches :)

BBS Signature

Response to As: Main 2005-10-30 19:43:22


At 10/30/05 07:42 PM, -liam- wrote:
At 10/30/05 07:20 PM, Katow-Jo wrote: Like in that game "Defend your castle." Which I'm assuming you've played :P
Or "Throw It!" which he actually made.. I think he posted he throwing code in AS:API

Allrighty, thanks a million. A whole million.


2b r not2b lawl

BBS Signature

Response to As: Main 2005-10-30 19:43:29


At 10/30/05 07:42 PM, -liam- wrote: Or "Throw It!" which he actually made.. I think he posted he throwing code in AS:API

i made a game like that where you kick a ball. Got a very low score, i was very saddened by it. : (


BBS Signature

Response to As: Main 2005-10-30 20:04:01


At 10/30/05 07:42 PM, -liam- wrote:
At 10/30/05 07:20 PM, Katow-Jo wrote: Like in that game "Defend your castle." Which I'm assuming you've played :P
Or "Throw It!" which he actually made.. I think he posted he throwing code in AS:API

Actually, the code I posted in API had none of the onEnterFrame stuff in it, so it's pretty useless. This is a very distilled version of the code I used in Throw It, just create a new ball MC and add this (I can't be bothered making an AS: thread to explain it):

onClipEvent(load){
vx=2; vy=0;
gravity=3;
friction=10;
pressed=0;
w2=_width/2;
xMin=w2;
yMin=_height;
xMax = Stage.width-w2;
yMax = Stage.height-w2;
}

onClipEvent(enterFrame){
SW=Stage.width; SH=Stage.height;
xm=_root._xmouse; ym=_root._ymouse;
if(!pressed){
if(vx>0.5 || vx<0){ _x+=vx;}
vy+=gravity;
_y+=vy;
if(_y>yMax){_y=yMax; vy*=-.85; vx*=(100-friction)/100;}
if(_x>xMax){_x=xMax; vx*=-.9}
else if(_x<xMin){_x=xMin; vx*=-.9;}
}else{
if((_x<0+(w2) && ym<0) || (_y>SH-(w2) && ym>SH) || (_y<-(SH/2) && ym<-(SH/2))){
pressed=0;
}else{
_x=xm; _y=ym;
vx=_x-oldX; vy=_y-oldY;
oldX=_x; oldY=_y;
}
}
}
on(press){ pressed=1;}
on(release, releaseOutside){ pressed=0;}


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-10-30 20:27:15


At 10/30/05 08:04 PM, Denvish wrote:
Actually, the code I posted in API had none of the onEnterFrame stuff in it, so it's pretty useless. This is a very distilled version of the code I used in Throw It, just create a new ball MC and add this (I can't be bothered making an AS: thread to explain it):

Excellent thanks.

<3 <3 <3


2b r not2b lawl

BBS Signature

Response to As: Main 2005-10-30 20:32:50


one thing that would be cool would be a "AS: starting AS" thread which gave links to were to start, what sites are good etc, and just basically provided a list to tut's on kirupa, AS.org, AS:Main and any others that gave you an order to learning.

if theres something like this then can someone give me a link? i decided to start learning, basically just by playing around with flash atm


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-10-30 20:42:14


At 10/30/05 08:32 PM, -Mogly- wrote: one thing that would be cool would be a "AS: starting AS" thread which gave links to were to start, what sites are good etc, and just basically provided a list to tut's on kirupa, AS.org, AS:Main and any others that gave you an order to learning.

if theres something like this then can someone give me a link? i decided to start learning, basically just by playing around with flash atm

There's an absolute shitload under the 'Other Useful Links' section, in the second post. I'll be adding The Big Tutorial List by IWantSomeCookies to that section on the next update, too.


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-10-31 10:51:49


AS:BitmapData -basic by me, I finally got around to it =O

Probably deserves advanced section.. or at least intermediate. I will probably make another later on (advanced) though it won't be for some time, it will cover some geom classes seen as they're a big part of BitmapData.


Sup, bitches :)

BBS Signature

Response to As: Main 2005-10-31 11:08:51


At 10/31/05 10:51 AM, -liam- wrote: AS:BitmapData -basic by me, I finally got around to it =O

Good one, can be useful for geometry projects at school :)

Probably deserves advanced section..

Bleh, advanced.


BBS Signature

Response to As: Main 2005-10-31 11:33:18


HELP :( I am doing the password AS here's the code:

on (press) {
if(_root.pass=="password") {
gotoAndPlay (2);
}else {
gotoAndPlay (3);
}
}

I know that is correct and i have followed the isntructions but it only goes to the next frame (the correct frame number 2) and if i enter the pass wrong it goes to correct it never goes to incorrect.

Response to As: Main 2005-10-31 11:37:17


At 10/31/05 11:33 AM, chillin-2005 wrote: I know that is correct and i have followed the isntructions but it only goes to the next frame (the correct frame number 2) and if i enter the pass wrong it goes to correct it never goes to incorrect.

Sure you made a 3rd frame with "Wrong password"?


BBS Signature

Response to As: Main 2005-10-31 11:38:36


At 10/31/05 11:33 AM, chillin-2005 wrote: HELP :( I am doing the password AS here's the code:

on (press) {
if(_root.pass=="password") {
gotoAndPlay (2);
}else {
gotoAndPlay (3);
}
}

I know that is correct and i have followed the isntructions but it only goes to the next frame (the correct frame number 2) and if i enter the pass wrong it goes to correct it never goes to incorrect.

I have a feeling you have your frame numbers confused, maybe you should try using lables, name the frames "correct", and "incorrect"

on (press) {
if(_root.pass=="password") {
gotoAndPlay ("correct");
}else {
gotoAndPlay ("incorrect");
}
}

hope that works.

Response to As: Main 2005-10-31 11:41:13


on (press) {
if(_root.pass=="password") {
_root.gotoAndStop (2);
}else {
_root.gotoAndStop (3);
}
}


BBS Signature

Response to As: Main 2005-10-31 11:53:03


At 10/31/05 10:51 AM, -liam- wrote: AS:BitmapData -basic by me, I finally got around to it =O

Probably deserves advanced section.. or at least intermediate. I will probably make another later on (advanced) though it won't be for some time, it will cover some geom classes seen as they're a big part of BitmapData.

Cool. I'll put it under Advanced.


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-10-31 11:53:29


AS: GENERAL CODE:

BASIC (31)
AS: Animated Buttons by Inglor
AS: Bars (Health/Score/etc) by Inglor
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: 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: 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: Variables by Rantzien

INTERMEDIATE (25)
AS: Arrays
AS: Basic Combos by -Toast-
AS: Camera Control by Inglor
AS: Collisions by Glaiel_Gamer
AS: Collision Detection by BleeBlap
AS: Constant Distance (Ragdoll Basics) by T-H
AS: Debugging Syntax by Inglor
AS: Elasticity by Joelasticot
AS: Filters (Flash 8) by Inglor
AS: Following/Shooting at Mouse
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: 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: Save and Load
AS: Strings by Inglor
AS: SWF Copy Protection by JackSmack
AS: SWF Right-Click Menu
AS: Upload/Download (Flash 8) by -liam-

ADVANCED (23)
AS: 3Dimension - Basic by dELta_Luca
AS: 3Dimension - Intermediate by dELta_Luca
AS: Actionscripted Tweens by BleeBlap
AS: API by -liam-
AS: API Curves by Glaiel_Gamer
AS: API 3-Gradient Fills by Inglor
AS: Binary Increasement by Inglor
AS: BitmapData - Basic by -liam-
AS: Components by dELta_Luca
AS: Line to Line Collision by Glaiel_Gamer
AS: Modular Programming by Inglor
AS: Non-Tilebased Pathfinding by dELta_Luca
AS: Scoreboard Protection
AS: Tile-based Pathfinding by dELta_Luca
AS: Tile-based Game Development Map by Inglor
AS: Tile-based Line-of-Sight Algorithm by zoohl
AS: OOP (Object Oriented Programming) by Inglor
AS: Prototype, Proto & Inheritance by BleeBlap
AS: System Capabilities (Flash-PC Communication) by Inglor
AS: Trigonometry by BleeBlap
AS: Very Basic Wireframe 3D by Begoner
AS: XML by Inglor
AS: XML For Online Interactivity by -KhAo-


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-10-31 11:53:47


AS: SPECIFIC EFFECTS/PROJECTS:

BEGINNER (10)
AS: Clock by Glaiel_Gamer
AS: Custom Cursor by lan00
AS: Elastic Mouse Chaser by lan00
AS: Inventory 1 by Inglor
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-

INTERMEDIATE (18)
AS: Fading Trail Effect
AS: Fireworks (API) by Inglor
AS: Game 1 - Moving and Jumping by Ninja-Chicken
AS: Game 2 - Shooting & Power-ups by Ninja-Chicken
AS: Maze by Begoner
AS: Flash Registration Form by bigftballjock
AS: Jumping Engine For All by Rystic
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: Scoreboard by Inglor
AS: Starfield (API)
AS: Typewriter Effect by Atomic_Sponge
AS: Varispeed Rollover Scrollbar
AS: Volume Slider by Star_Cleaver

ADVANCED (4)
AS: Flash Game Instant Replay by Cojones893
AS: Key Queue by Inglor
AS: Syntax Checking Stack by Inglor
AS: XML Sockets - Chatroom by Ninja_Chicken

Notepad version of the list

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
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

Had to reshuffle everything this time (post char limit blehh), some of the GENERAL got moved to SPECIFIC.
I'm off tomorrow, so next update will be by Inglor. Make sure you link your AS: Threads in here to make his life easier.


- - Flash - Music - Images - -

BBS Signature

Response to As: Main 2005-10-31 12:02:30


At 10/31/05 11:53 AM, Denvish wrote: I'm off tomorrow, so next update will be by Inglor. Make sure you link your AS: Threads in here to make his life easier.

Tomorrow is going to be really fun then ;)


BBS Signature

Response to As: Main 2005-10-31 12:30:02


At 10/31/05 12:02 PM, -Toast- wrote: Tomorrow is going to be really fun then ;)

This might not go onto a new page while Denvish isn't here, Inglor is looking after it just in case it does.


Sup, bitches :)

BBS Signature

Response to As: Main 2005-10-31 14:59:19


Lol, I saw page 28, as main and realised that its a new page. Then I saw liam lasted posted.

I thought liam made 28 and Denvish wasnt the first posted of the thread :o.

Anyway, good luck Inglor hope it goes well.

Come on all, slash clap Inglor!

/clap Inglor


"Actually, the server timed out trying to remove all your posts..."

-TomFulp

Response to As: Main 2005-11-01 18:03:08


At 10/1/05 05:29 AM, lan00 wrote: lol me again here are all of the AS postes i did

AS: Scrolling Object

Custem Cursor

AS: Advance Buttons

Thats all of em

Now someone should make an Internet: Spelling for you


wtfbbqhax

Response to As: Main 2005-11-01 20:44:24


I was wondering what you would do in order to make a mouse cursor that follows the mouse. But isnt just this._x = _xmouse. I mean like followes where the mouse just was. Or how you'd make something like in gel's Wink: the Game

Someone please tell me. Thanks a ton :)


2b r not2b lawl

BBS Signature

Response to As: Main 2005-11-01 21:41:37


...is there something like key.isDown... but for release...like: key.isReleased?

I'm using a key press as a 'toggle' but ...right now if it's held down... it flickers between options. I want it to stop on the press/release...and wait for the next full press/release to work again. What would be the best way to do that? (sorry if I didn't explain that very well!)

Response to As: Main 2005-11-02 21:07:43


At 11/1/05 09:41 PM, ReNaeNae wrote: ...is there something like key.isDown... but for release...like: key.isReleased?

onClipEvent(keyUp){
{


wat

Response to As: Main 2005-11-03 12:59:56


Hey Denvish, I was just playing your Dart 3D game again to try to remember what part of my music you used, but my music no longer worked.

How do I access the second soundtrack in it? I thought i just clicked the thing in the top right twice...


No more animated sigs. :(

BBS Signature

Response to As: Main 2005-11-04 20:24:10


The estimated time left is possible but it would be grossly innacurate. You could just check the bytes loaded over a specified amount of time and then multiply that out for the total bytes. It would work similiar to a fps counter. All you need to know is getTimer() getBytesLoaded() getBytesTotal() and a little algebra.