Home  | Login  | Register  | Help  | Play 

RE: Flash help and tutorials, come here to share your wisdom or ask questions

 
Logged in as: Guest
  Printable Version
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash help and tutorials, come here to share your wisdom or ask questions
Page 13 of 24«<1112131415>»
Forum Login
Message << Older Topic   Newer Topic >>
1/19/2006 21:56:39   
Zoltan
Member

I think i know what you mean..... but just to be shure you mean like this... http://haze.voodoolabs.net/orthlintlostchaptersequip.swf
Post #: 301
1/19/2006 22:03:14   
lil boi blue
Member

exactly like that,
AQ DF  Post #: 302
1/19/2006 22:31:51   
Zoltan
Member

Ok well that hade gravity included so we wont use anything realy from that,

1. to make the movie clip with the legs inside just draw the body and two legs, make them all into seperate MC's then select them all and make that an mc. So now when you 2xclick on it there will be the mc's inside.

Scratch that im constructing the script from scratch so ill post the .fla here when im done

onClipEvent (load) {
movespeed = 10;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
_x+= movespeed;

this.gotoAndPlay("run");
}else{
this.gotoAndPlay("idle");
}
if (Key.isDown(Key.LEFT)) {
_x-= movespeed;
this.gotoAndPlay("run");

}else{
this.gotoAndPlay("idle");
}
}

This script should dam well work! but it doesnt, there are no errors! tell you what ill come back later flash is annoying me right now and I never drive angry.

< Message edited by Zoltan -- 1/19/2006 22:50:34 >
Post #: 303
1/20/2006 0:42:15   
lil boi blue
Member

lol, ok, now i had leg 1, leg 2, and body in MC's, i then converted them all into one super MC double clicked on them and with the MC's of leg 1, leg 2, and body started in frame 2 and made the walking cycle to frame 15 but didnt work well so i just have on SCENE 1 layers

Frames=
5:walking speeds and directions
leg2:nothing
body:nothing
leg1:nothing

MC's=
leg2:script on post #303
body:script on post #303
leg1:script on post #303

problem, he still doesn't stop when no buttons are pressed

look, can i just email it to you and you just look at it for a couple of minutes and just fix the actionscript nvm, i forgot you still have flash MX hmm, maybe if you get the trial to help me out, lol, i dont want to wait till febuary, thats when my book for flash 8 comes

< Message edited by lil boi blue -- 1/20/2006 0:44:57 >
AQ DF  Post #: 304
1/20/2006 20:16:08   
Killer Pup
Banned

 

Ello friend, i have been on this site recently... and want to make a flash but i uhhm dont have the program, is there any way i can get program whithout paying?
Post #: 305
1/20/2006 20:51:50   
Zoltan
Member

Most definitaly, but it would have to be a trial... www.macromedia.com
Post #: 306
1/20/2006 21:27:52   
lil boi blue
Member

o and the "keep it open" trick doesnt work, it keeps track of days and hours its open
AQ DF  Post #: 307
1/20/2006 21:48:25   
Zoltan
Member

Hey blue did ya see the game im working on ... its a bit crap/crude but heres the link http://haze.voodoolabs.net/introfps.swf
Post #: 308
1/20/2006 23:40:35   
da nite slaya
Banned


how do u use ur student id to get a discount?
AQ  Post #: 309
1/21/2006 3:13:02   
Zoltan
Member

well over here (I dont know if it applys at other places) I went to the apple store and brought flash, they gave me a tersery student discount (which is like university)......
Post #: 310
1/21/2006 11:45:51   
lil boi blue
Member

nice game but do you know if your able to answer my walking question? i know you dont have flash8 so i named where all the things are in all the frames
AQ DF  Post #: 311
1/21/2006 16:25:02   
princeshadow13
Member

My question involves the FPS thing...
What do you suggest for a nice smooth animation instead of a jerky pile of feces?
AQ DF MQ  Post #: 312
1/21/2006 21:39:01   
lil boi blue
Member

well for one, faster FPS (Frames per second) really helps it run smooth so change that by double clicking the number twelve on the timeline that reads...fps lol
AQ DF  Post #: 313
1/22/2006 0:38:02   
Zoltan
Member

OMG something that is not actionscript posted by me

This is for all of you effects buffs: Creating a glowing effect for .... glowing objects eg. candles and lightsabers

All you have to do is draw what you want to glow, highlight the object then go Modify> shape> soften fill edges...
A menu will appere and now I will explain the various options and what they do...

Distance: How far in or out the fade will go in pixles (by in or out it depends on the stard* option) increased pixles = increased distance

Number of steps: the ammount of sections of fade there will be in the total fade, the more steps the more realistic it looks.

Direction*: either Expand- going outward
Inset- going inward

Ok: confirm selection

Cancel: Cancel

Hope that helps someone.
Post #: 314
1/22/2006 17:23:32   
H o r r o r
Banned


nice

_____________________________

Sig deleted.
No outside links are allowed.
AQ  Post #: 315
1/22/2006 18:28:31   
lil boi blue
Member

lol, i use the glow and blur for clouds and mists, i love that effect, you can pull the same with MC's in flash 8 from a tool on the bottom that says factors and you can add blur, glow, bevel, shadow drop, gradient glow/bevel it rules
AQ DF  Post #: 316
1/22/2006 19:07:48   
independence quiad!!
Member

quote:

Original: Zoltan
Hey blue did ya see the game im working on ... its a bit crap/crude but heres the link http://haze.voodoolabs.net/introfps.swf


in that it is you can keep clicking and it wont reload when you keep clicking and it goes minus

_____________________________

AQ DF  Post #: 317
1/22/2006 20:22:10   
Zoltan
Member

yep I am aware of everything like that, And I know the exact way to fix it but im having trouble getting the code to work

NOW: Recently in flash ive been using the _root coding alot and its been kinda fun with all the different things ive been doing. Now im going to show you a simple way to keep score...

Fun with variables

1.Ok so first create 2 extra layers call the first one code, the second button.

2. Now on the code layer add this script health.text = 0; this is stating that the variable text (which we will make later) that is named 'health' will equal 0 when this frame is 'played'

3. On the button layer create a button and give it this script on(release){_root.score.text++;} meaning that when this button is released the text named score will increase by 1 value.

4. Now on either leyer create a text field (making shure it is a var(iable) text field and in the properties inspector name it score


Now in a game situation you may have your guy controlled by the keys and when he touches a coin he gets 1 gold/point. This is easy to accomplich just give the enemy the script below and call your character 'char' or replace the values in the code


onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
// if this mc hits the char
_root.score.text++;
// score is increased by 1
unloadMovie(this);
// this movie clip is unloaded
}
}


Variables are very helpful for making games and can easily be created.... hope this helped
Post #: 318
1/23/2006 16:45:03   
princeshadow13
Member

quote:

ORIGINAL: lil boi blue

well for one, faster FPS (Frames per second) really helps it run smooth so change that by double clicking the number twelve on the timeline that reads...fps lol


No, you mis understand, I mean what was a good FRAME RATE(AKA FPS) was, meaning the number, what kind of number should I use?
AQ DF MQ  Post #: 319
1/23/2006 17:46:21   
Zoltan
Member

Well auctually he was saying that depending what you are doing Eg a high quality movie you would have a higher frame rate, he didnt mention a good one because it depends on what your doing, a good/average one is the rate that flash is defalt set to.
Post #: 320
1/23/2006 18:19:38   
Metal
Member
 

Hi there, I'm a newbie to Flash, I'm using Flash Professional 8 and I'm trying to make movement with an object. I did the little tutorial you guys have posted.

I made my circle
made it a symbol
named it "test" in the instance name on properties tab
made a new layer
applied the actionscript I found on page two (you guys don't have the full thing on page one, you just have the first line)

It moves, but it's jumpy and when you move it it flies everywhere and it's hard to find again.

http://img209.imageshack.us/my.php?image=test7ve.swf

there's the link, just mess with the arrow keys and you'll see it flash by and then disappear. Any ideas what's wrong?

-If this has been asked before, sorry, I read through most of the pages and didn't find anything, I figure you guys are willing to help me anyways ^^
Post #: 321
1/23/2006 21:51:31   
Zoltan
Member

so you used this script

name.onEnterFrame = function() {
if (Key.isDown(Key.UP) && Key.isDown(Key.RIGHT)) {
this._rotation = 45;
this._y -=15;
this._x +=15;
} else if (Key.isDown(Key.DOWN) && Key.isDown(Key.RIGHT)) {
this._rotation = 135;
this._y +=15;
this._x +=15;
} else if (Key.isDown(Key.UP) && Key.isDown(Key.LEFT)) {
this._rotation = -45;
this._y -=15;
this._x -=15;
} else if (Key.isDown(Key.DOWN) && Key.isDown(Key.LEFT)) {
this._rotation = -135;
this._y +=15;
this._x -=15;
} else if (Key.isDown(Key.UP)) {
this._rotation = 0;
this._y -= 30;
} else if (Key.isDown(Key.LEFT)) {
this._rotation = -90;
this._x -=30;
} else if (Key.isDown(Key.RIGHT)) {
this._rotation = 90;
this._x += 30;
} else if (Key.isDown(Key.DOWN)) {
this._rotation = 180;
this._y += 30;
}
};

Definatly make your shape smaller, and to make it smoother increase the frame rate, but that shouldnt matter if you make the shape smaller
Post #: 322
1/23/2006 22:32:14   
Metal
Member
 

Well thanks, atleast it doesn't disappear. Now the trouble is when I hit the down key it jumps left before it goes down, right goes down before going right, and so on. Not a huge problem, just wondering what I'm doing wrong.

http://img41.imageshack.us/my.php?image=test4me.swf
Post #: 323
1/23/2006 22:41:32   
lil boi blue
Member

it actually rotates, personally i dont use the rotations so just put this revised portion to his i did

name.onEnterFrame = function() {
if (Key.isDown(Key.UP) && Key.isDown(Key.RIGHT)) {
this._rotation = 0;
this._y -=15;
this._x +=15;
} else if (Key.isDown(Key.DOWN) && Key.isDown(Key.RIGHT)) {
this._rotation = 0;
this._y +=15;
this._x +=15;
} else if (Key.isDown(Key.UP) && Key.isDown(Key.LEFT)) {
this._rotation = -0;
this._y -=15;
this._x -=15;
} else if (Key.isDown(Key.DOWN) && Key.isDown(Key.LEFT)) {
this._rotation = -0;
this._y +=15;
this._x -=15;
} else if (Key.isDown(Key.UP)) {
this._rotation = 0;
this._y -= 30;
} else if (Key.isDown(Key.LEFT)) {
this._rotation = -0;
this._x -=30;
} else if (Key.isDown(Key.RIGHT)) {
this._rotation = 0;
this._x += 30;
} else if (Key.isDown(Key.DOWN)) {
this._rotation = 0;
this._y += 30;
}
};
AQ DF  Post #: 324
1/23/2006 22:54:08   
Metal
Member
 

Ah, I get it now, thanks so much, both of you, for your help. So quickly too!
Post #: 325
Page:   <<   < prev  11 12 [13] 14 15   next >   >>
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash help and tutorials, come here to share your wisdom or ask questions
Page 13 of 24«<1112131415>»
Jump to:






Icon Legend
New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts




Forum Content Copyright © 2018 Artix Entertainment, LLC.

"AdventureQuest", "DragonFable", "MechQuest", "EpicDuel", "BattleOn.com", "AdventureQuest Worlds", "Artix Entertainment"
and all game character names are either trademarks or registered trademarks of Artix Entertainment, LLC. All rights are reserved.
PRIVACY POLICY


Forum Software © ASPPlayground.NET Advanced Edition