Home  | Login  | Register  | Help  | Play 

RE: Flash Q&A Thread 6 - We help!

 
Logged in as: Guest
  Printable Version
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A Thread 6 - We help!
Page 3 of 8«<12345>»
Forum Login
Message << Older Topic   Newer Topic >>
11/30/2009 18:34:43   
Vampire and Human
Member

@~JW~:
I meant which animation (though what you answered was part of it, thank you :D) looked best for comic-themed easing.

@Penguin Moglin:
If you're problem is due to what ~JW~ said (lines not connected) I'd suggest expanding fill gap-closing...erm...stuff..

Basically, when you select the Fill tool, look right below on the tools bar, and click the circle with a gap in the top, and set it to either large or medium. Don't always do this, as this may cause many problems for fills when lines etc. are close together.

From,
~VnH
AQ  Post #: 51
11/30/2009 20:05:53   
MegaPoster404
Member

@Vampire and Human: I can't really decide, as I don't know what you mean by comic-themed easing :/

Universally, in any flash file I make (AS2 in CS4) I can't do checks to see what is in an input box. I can define input boxes and save them to variables, but checks on them never work, and checks on the variables defined from them don't work.

Dudu Master has the exact same problem, so I don't really think it's the code, but rather the program :/
DF MQ  Post #: 52
11/30/2009 20:09:02   
~JW~
Member
 

What do you mean by "checks" an if statement?
Post #: 53
11/30/2009 20:12:03   
MegaPoster404
Member

Yeah, an if() statement.
DF MQ  Post #: 54
11/30/2009 20:13:48   
~JW~
Member
 

I cant really help you with that. If they dont work, and are right(I doubt you could get them wrong) then maybe its the program.
Post #: 55
11/30/2009 21:15:38   
Vampire and Human
Member

Hmm... That's a really weird probelm.. considering the codes all worked for me, I'd have to say it's the program itself.

In other words, don't worry much about that, as long as you know the code is right (and you could always check with us at the Q&A ;D!) it should be fine.

Though, you should probably get someone to check it out.

Maybe Adobe will fix it in an update, or by repairing the product via installation program.

Aaaanyways, when you make a tween (any kind) in the properties panel there will be options. One of them says easing. Easing basically means a change in speed over time. In other words, it can start fast but end slow. Or Start slow but speed up. I was just wondering what seems more Retro-style. In a comic-book-like way. As in, If I animated pictures from a comic book, what would seem right, heroic, retro? But I think I figured out the timing alright.

BTW everybody, I might have yet another great absence (this time not due to Assassins Creed II) thanks to the lack of Flash at my School, the computer teacher started a new class, where I teach full classes of kids (including the computer teacher) how to code and animate in Flash! Fun Fun :). I can't wait to assign oodles of homework to the annoying Freshman and sixth graders... meh heh heh...
So, basically, I'll be busy helping the kids and the teacher, since during the class the teacher is making me design and code the website for the school, with pictures information etc. provided by her.

Soooo.... yeah....

Good luck everybody,
~VnH
AQ  Post #: 56
12/1/2009 10:54:01   
penguin moglin
Member

jw and vah i tried what you both suggested and it still didnt work is it because i made it with the line tool?
AQ DF MQ  Post #: 57
12/1/2009 18:42:47   
Vampire and Human
Member

Well, of course it wouldn't work, you never truly told us the actual problem.

SPEAK AND BE SPOKEN TO,
~VnH
AQ  Post #: 58
12/1/2009 18:43:19   
~JW~
Member
 

Post the fla Penguin.
Post #: 59
12/1/2009 18:44:16   
Vampire and Human
Member

Don't even bother posting the file, just say what the problem is before we can actually answer.

~VnH
AQ  Post #: 60
12/1/2009 19:15:23   
Sea
Member

Help o_o

I have an enemy MC named "mushroom" and his health (health2) and my health (health)

this wont work...

if(_root.health < 1){
	_parent.gotoAndPlay("Death");
}
if(_root.health2 < 1){
	_root.mushroom._visible=false;
}


I have it on the frame, should it go somewhere else?
AQ DF MQ  Post #: 61
12/2/2009 11:06:59   
penguin moglin
Member

sorry i wasnt so clear here are the fla. lightsaber untitled weapon
i made the lightsaber following a tutorial
1.opened flash new actionscript (3)
2. used the line tool and curve tool
3. got the outline done
4.tried to fill didnt work
5. tried closing small gaps
6.tried rebooting
7.zoomed in made sure there were no gaps

and i posted here
the same instruction for both weapons
thanks for any help
penguin
AQ DF MQ  Post #: 62
12/2/2009 11:14:12   
~JW~
Member
 

Thats not the fla. We need the editable file.
Post #: 63
12/2/2009 11:15:18   
penguin moglin
Member

umm how do i do that?
AQ DF MQ  Post #: 64
12/2/2009 11:17:50   
~JW~
Member
 

Save it and upload it to mediafire or w/e....
Post #: 65
12/2/2009 11:29:09   
penguin moglin
Member

here you go
lighsaber weapon untitled
AQ DF MQ  Post #: 66
12/2/2009 15:15:22   
EragonZZZZ
Member

As for the textbox issue, could you post the code that doesn't work?
AQ  Post #: 67
12/2/2009 17:37:22   
Sea
Member

This is all on the frame:

stop();
health=100;
if(_root.health < 1){
	_parent.gotoAndPlay("Death");
}
if(_root.health2 < 1){
	_root.mushroom._visible=false;
}
health2= random (74) +1





This is on the enemy:

on(release){
	if(_root.health < 1){
		_root.health-=0;
		_root.health2-=0;
		_parent.gotoAndPlay("Death");
	}else{
		_root.health-=random (9)+1;
		_root.health2-=random (14)+1;
	}
}
on(release){
	if(_root.health2 < 1){
		_root.health-=0;
		_root.health2-=0;
		_root.mushroom._visible=false;
	}else{
		_root.health-=random(9) +1;
		_root.health2-=random(14) +1;
	}
}





And this is on the player (I doubt you need it though)

onClipEvent (enterFrame) {
	a = "Idle"
	speed = 10;
if(Key.isDown(Key.UP)) {
_y-=speed;
a = "U"
}
if(Key.isDown(Key.DOWN)) {
_y+=speed;
a = "D"
}
if(Key.isDown(Key.LEFT)) {
_x-=speed;
a = "L"
}
if(Key.isDown(Key.RIGHT)) {
_x+=speed;
a = "R"
}
if(this._y>400) {
	this._y=400;
}
if(this._y<0) {
this._y=0;
}
if(this._x>550) {
this._x=550;
}
if(this._x<0) {
this._x=0;
}
if(this.hitTest(_root.wall)) {
speed=0;
}
this.gotoAndStop(a);
}




^Please note:
U = Up movement
D = Down
R = Right
L = Left
a = animation
AQ DF MQ  Post #: 68
12/2/2009 17:49:49   
//.Shadow.\\
Member

The health=100;
Is not setting the _root. var so its catching as a Var in that Movie clip...

In some cases...

~Parker
AQ DF MQ  Post #: 69
12/2/2009 18:00:57   
Sea
Member

so it should be _root.health=100;?

or what?
AQ DF MQ  Post #: 70
12/2/2009 19:20:41   
EragonZZZZ
Member

stop();
health=100;
if(_root.health < 1){
	_parent.gotoAndPlay("Death");
}
if(_root.health2 < 1){
	_root.mushroom._visible=false;
}
health2= random (74) +1


I do not understand why you have this code at all, to be honest. You don't need it. You're setting health EXPLICITLY to 100...then checking to see if health is < 1? It will NEVER be less than 1.




In other news. I've been making AIM/MSN avatars! They're animated!







< Message edited by EragonZZZZ -- 12/2/2009 19:24:44 >
AQ  Post #: 71
12/2/2009 19:40:56   
Sea
Member

^

n(release){
if(_root.health < 1){
_root.health-=0;
_root.health2-=0;
_parent.gotoAndPlay("Death");
}else{
_root.health-=random (9)+1;
_root.health2-=random (14)+1;
}
}
on(release){
if(_root.health2 < 1){
_root.health-=0;
_root.health2-=0;
_root.mushroom._visible=false;
}else{
_root.health-=random(9) +1;
_root.health2-=random(14) +1;
}
}



that reduces health2 by random and health by random

< 1 just means if it is less tan 1 (lol)

in my opinion, its easier than if(_root.health <= 0)
AQ DF MQ  Post #: 72
12/2/2009 20:22:27   
EragonZZZZ
Member

Um. What? I don't follow you (and I don't think you followed me xD)
AQ  Post #: 73
12/2/2009 20:46:27   
Sea
Member

wait, if i put it on the frame, would it pick it up whenever it reaches 0, or only when the frame loads?
AQ DF MQ  Post #: 74
12/2/2009 21:17:16   
EragonZZZZ
Member

Ah, see, only when the frame loads!

Try this:

stop();
health=100;
health2= random (74) +1;

function onEnterFrame {
     if(_root.health < 1){
	     _parent.gotoAndPlay("Death");
     }
     if(_root.health2 < 1){
	     _root.mushroom._visible=false;
     }
}


< Message edited by EragonZZZZ -- 12/2/2009 21:21:14 >
AQ  Post #: 75
Page:   <<   < prev  1 2 [3] 4 5   next >   >>
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A Thread 6 - We help!
Page 3 of 8«<12345>»
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