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

All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy



Message


Zoltan -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/19/2006 21:56:39)

I think i know what you mean..... but just to be shure you mean like this... http://haze.voodoolabs.net/orthlintlostchaptersequip.swf




lil boi blue -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/19/2006 22:03:14)

exactly like that,




Zoltan -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/19/2006 22:31:51)

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.




lil boi blue -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/20/2006 0:42:15)

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




Killer Pup -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/20/2006 20:16:08)

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?




Zoltan -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/20/2006 20:51:50)

Most definitaly, but it would have to be a trial... www.macromedia.com




lil boi blue -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/20/2006 21:27:52)

o and the "keep it open" trick doesnt work, it keeps track of days and hours its open




Zoltan -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/20/2006 21:48:25)

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




da nite slaya -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/20/2006 23:40:35)

how do u use ur student id to get a discount?




Zoltan -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/21/2006 3:13:02)

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




lil boi blue -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/21/2006 11:45:51)

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




princeshadow13 -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/21/2006 16:25:02)

My question involves the FPS thing...
What do you suggest for a nice smooth animation instead of a jerky pile of feces?




lil boi blue -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/21/2006 21:39:01)

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




Zoltan -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/22/2006 0:38:02)

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.




H o r r o r -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/22/2006 17:23:32)

nice




lil boi blue -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/22/2006 18:28:31)

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




independence quiad!! -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/22/2006 19:07:48)

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




Zoltan -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/22/2006 20:22:10)

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




princeshadow13 -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/23/2006 16:45:03)

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?




Zoltan -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/23/2006 17:46:21)

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.




Metal -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/23/2006 18:19:38)

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




Zoltan -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/23/2006 21:51:31)

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




Metal -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/23/2006 22:32:14)

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




lil boi blue -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/23/2006 22:41:32)

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




Metal -> RE: Flash help and tutorials, come here to share your wisdom or ask questions (1/23/2006 22:54:08)

Ah, I get it now, thanks so much, both of you, for your help. So quickly too!




Page: <<   < prev  11 12 [13] 14 15   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition
0.109375