Home  | Login  | Register  | Help  | Play 

RE: Flash help and tutorials, checked daily

 
Logged in as: Guest
  Printable Version
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash help and tutorials, checked daily
Page 16 of 24«<1415161718>»
Forum Login
Message << Older Topic   Newer Topic >>
2/4/2006 13:53:03   
lil boi blue
Member

lol, you have a true competitor, i've got zoltan he's a walking action script, also i suggest telling people what variables are, i use the theory that all people are second graders, they dont know what the heck im talking about so i explain it,

actually when it comes to me and actionscript, im not good at finding it, but im very good at fixing incorrect codes like adding { where they belong or onClipEvents/onFrameEvents


one more thing,no advertising in my thread without my permission so dont do it....its like advertising a clan,
AQ DF  Post #: 376
2/4/2006 16:41:07   
flsg
Member

Sorry, I though I could post my thread because I can find a lot of AS programmer here
AQ  Post #: 377
2/4/2006 23:57:48   
lil boi blue
Member

its ok, http://i5.photobucket.com/albums/y158/photo12/demogamelesser.swf here is a lesser demo of my game for those who could only see a red star, it is flash MX 2004 flash player 7, the one just about everyone has
AQ DF  Post #: 378
2/5/2006 3:23:55   
da nite slaya
Banned



quote:

ORIGINAL: da nite slaya

onClipEvent (load) {
moveSpeed = 19;
}
onClipEvent (enterFrame) {
if (Key.isDown (Key.RIGHT)) {
this._x += moveSpeed;
} else if (Key.isDown (Key.UP)) {
this._y -= moveSpeed;
} else if (Key.isDown (Key.DOWN)) {
this._y += moveSpeed;
} else if (Key.isDown (Key.LEFT)) {
this._x -= moveSpeed;
}
}

How do I set boundries to where my object can and can't go and if you pass the screen to the Right, you go to the next level?
and if i push up, i do a jump effect?
and last, if i push space, i shoot/punch?

AQ  Post #: 379
2/5/2006 4:28:05   
Zoltan
Member

That would be a sidescroller game or 'platform' game, that involves things like gravity. with something complex like that I dont want to just post the script, it would be better to learn the basics first befor jumping into full blowen gameing.
Post #: 380
2/5/2006 11:46:34   
lil boi blue
Member

hey zoltan, can you give me some script of how to horizontally flip an mc in my game for instance

i put a tiger armor dude in place of the star (upping the graphics) and when i press left key i want him to flip horizontally, could you help me with this?
AQ DF  Post #: 381
2/5/2006 12:21:42   
Deemahnik
Member

Hey once again! I'm back for more help animating. This time, for the entrance of an armor. I don't want to see the armor, and have a flame rise (being animated of course) and then disappearing to find the armor is there. The problem i have, is that i can't figure out how to animate the fire to have he tips of it move.
AQ  Post #: 382
2/5/2006 13:04:24   
da nite slaya
Banned


i have a .gif of animated flames detail is pretty good.(for a GIF) Tell me wut size u want it?

Can any1 Explain drag n drop? i get an error with the script even when I construct it!

< Message edited by da nite slaya -- 2/5/2006 13:20:50 >
AQ  Post #: 383
2/5/2006 14:04:41   
Deemahnik
Member

I need a Flame large enough to cover this armor:
Demon
Note: there will be a weapon, if you need to know that.

Maybe you can teach me how to animate flames too.
AQ  Post #: 384
2/5/2006 14:20:54   
lil boi blue
Member

quote:

ORIGINAL: da nite slaya

i have a .gif of animated flames detail is pretty good.(for a GIF) Tell me wut size u want it?

Can any1 Explain drag n drop? i get an error with the script even when I construct it!


make a movie clip circle and name it drag, then give it the instance name ' drag ' (down in properties)

then give drag this actionscript

onClipEvent (load) {
startX = this._x;
startY = this._y;
}
onClipEvent (mouseDown) {
if (_root.drag.hitTest(_root._xmouse, _root._ymouse)) {
_root.draggedDrag = true;
}
}
onClipEvent (enterFrame) {
if (_root.draggedDrag) {
_root.drag._x = _root._xmouse;
_root.drag._y = _root._ymouse;
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root.hit)) {
_root.draggedDrag = false;
_root.gotoAndPlay ([color=#0000FF]N[/color]);
_root.drag._x = startX;
_root.drag._y = startY;
} else {
_root.drag._x = startX;
_root.drag._y = startY;
_root.draggedDrag = false;
}
}


make a new MC (movie clip) and name it hit
give it the instance name hit

OK now change the N in _root.gotoAndPlay (N); to the frame you want it to go to when you drag ' drag' onto 'hit'

IT IS IMPERATIVE YOU GIVE THEM INSTANCE NAMES down in the properties tab
dont forget to give this code to both frames
stop();
so that they dont play

quote:

Hey once again! I'm back for more help animating. This time, for the entrance of an armor. I don't want to see the armor, and have a flame rise (being animated of course) and then disappearing to find the armor is there. The problem i have, is that i can't figure out how to animate the fire to have he tips of it move.


what you can do is make the fire a MC, goto insert ->timeline effects ->transform

then do change color and make the color alpha 0% this makes the fire invisible overtime

PS my flames take up 40 frames so.. http://i5.photobucket.com/albums/y158/photo12/fireblack.swf

< Message edited by lil boi blue -- 2/5/2006 14:23:51 >
AQ DF  Post #: 385
2/5/2006 14:22:00   
saraid
Banned


Hi, I'm having a slight problem with an RPG game me and a fried are creating. We have the basics of the system down:
There is a main village, where you can heal or go on an adventure and there is a battle system
Now, everything has been coded correctly and we have encountered only one problem so far;

What we are trying to acheive is allow the player to switch their weapon. I have a sword on the stage as a movie clip and I added a second frame within this movie clip where the sword becomes an axe. I set the AS of each frame to be stop(); under the beleif that the movie clip would stay on this frame until a command was input instructing it to do otherwise. This is what I have so far (I removed the axe frame of the sword movie clip) :

http://img303.imageshack.us/my.php?image=swiftentertainmentpresents7ci.swf

Now, what I hoped to acheive is that when the user clicks a button to change the weapon, the movie clip moves to the second frame and stays there, i.e. the axe replaces the sword. But the result was a constant flashing between sword/axe/sword/axe etc. I was wondering if you could tell where I've gone wrong.



< Message edited by saraid -- 2/5/2006 14:33:34 >
AQ  Post #: 386
2/5/2006 18:00:43   
da nite slaya
Banned


i get an error:

Clipboard Actions: Line 19: Operator '=' must be followed by an operand
_root.gotoAndPlay (N);

Clipboard Actions: Line 20: ')' or ',' expected
_root.drag._x = startX;


Nevermind but i dont get

make a new MC (movie clip) and name it hit
give it the instance name hit


OK now change the N in _root.gotoAndPlay (N); to the frame you want it to go to when you drag ' drag' onto 'hit'

IT IS IMPERATIVE YOU GIVE THEM INSTANCE NAMES down in the properties tab
dont forget to give this code to both frames
stop();
so that they dont play


what if i want to drop wherever i release?

< Message edited by da nite slaya -- 2/5/2006 21:26:53 >
AQ  Post #: 387
2/5/2006 18:26:24   
Dragoneill
Member

Wow lol im left in the dust. I just aint good at actionscript. Blue u think up that code urself or did u copy it? Cus if u just typed that than thats amazing
AQ  Post #: 388
2/5/2006 19:19:26   
Deemahnik
Member

thanks again lil boi blue, i will use that. But, i need some help animating it so like the tips of the flame move, and it gets bigger, and then disappears.
AQ  Post #: 389
2/5/2006 21:40:58   
Killer Pup
Banned

 

Can somone please help me whith my battle system? Or am i alone on this. :(
Post #: 390
2/6/2006 14:21:29   
saraid
Banned


About the weapon change issue, its all sorted now, but I was wondering how I'd go about changin the damage that the weapon does if it changes, i have a variable 'monDam' which stores the result of a damage formula based on stats. One of these stats is 'wepPwr' which is a variable storing the attack power of the weapon. Now, I have tried setting a script on the frame within the weapon movie clip where it changes to the axe with code wepPwr = 5 however it is doing the same amount of damage as the first weapon, of which i have set its power to 2.

Now there is no problem with the formula, because I even tried a simplified example where i set the monDam to equal 10 and 20 on the 1st and 2nd frame of the clip respectively, I then made sure I displayed the result in a dynamic text box and i got NaN, so I was wondering if you could help me on this issue?
AQ  Post #: 391
2/6/2006 16:20:41   
flsg
Member

saraid: NaN=Not a Number
perhaps you didn't display the correct thing
AQ  Post #: 392
2/7/2006 22:12:50   
Killer Pup
Banned

 

Hey Zoltan, im having a problem with the...

Now make 2 frames in the end and put that as the winning frame. and the loosing. So put this into the "You" frame. if (_root.HP==0) { gotoAndStop("lose"); } } if (_root.enemyHP==0) { gotoAndStop("win"); } } Now name one frame the "win" frame and the "lose" frame now put something in both of them and now your done! just put this into the lose and win frame: stop(); test it and love it!

area of your battle code... you think you can give me the part clearer? *Stuck at if life = 0 you die / monster life = 0 you win part*






Clipboard Actions: Line 1: Unexpected '}' encountered
if (_root.HP==0) { gotoAndStop("lose"); } }

Clipboard Actions: Line 1: Unexpected '}' encountered
if (_root.enemyHP==0) { gotoAndStop("win"); } }


< Message edited by Killer Pup -- 2/7/2006 22:14:39 >
Post #: 393
2/7/2006 22:40:03   
Shojo Sanzo
Member

I need help with flash:
1.) Every time I try to do 'fill in' it WON'T fill in.
2.) Where do you flash sound affects?
3.) I can't find that botton bar at the bottom the activates buttons.

< Message edited by Shojo Sanzo -- 2/7/2006 22:41:06 >


_____________________________

Read the official 30000+ Hits AQ MANGA:

http://www.aqmanga.co.nr/

AQ  Post #: 394
2/7/2006 22:55:31   
lil boi blue
Member

1) there may be a spot in the object that is not completely locked meanint a square with a perimeter of 40 cm and 2 inches is missing in the smallest corner. try using the freeform tool with magnet on and make sure all the pencil lines are locked in, try adjusting the fill by changing the option for "close no gaps" "close some gaps" "close gaps" or "close big gaps" and that should help

2)flash does not come with sound effects, you must import them from the file menu, it will accept some and not others, just try MP3 files, make a layer and place the sound from the library onto the stage for that layer only, dont put other things in it like clips (i did cover audio on my tutorial front page, read the table of contents)

3)The bottom bar may be minimized, there should be an arrow pointing up, click it once and it will pop up, worse case go to windows on the top bar and try opening from there for properties, actionscript, and help

by the way i do have flash Pro 8...
AQ DF  Post #: 395
2/7/2006 23:09:01   
Zoltan
Member

Killer Pup In general I am sorry for the crappyness of that tutorial, try if (_root.HP==0) { gotoAndStop("lose")} that works for me
Post #: 396
2/7/2006 23:12:18   
Shojo Sanzo
Member

It only lets me fill the lines,not the space inside the lines...
AQ  Post #: 397
2/7/2006 23:15:46   
Zoltan
Member

Well there are two fill buckest one is the ink pot that 'fills' the lines and the other is the one that fills in objects make shure you have the right one selected (the inside fill bucket, the one you want should be on the right bottom of the toolbar)
Post #: 398
2/7/2006 23:19:30   
Shojo Sanzo
Member

The fill color is the one I'm picking. It still isn't doing anything.
AQ  Post #: 399
2/8/2006 0:34:48   
lil boi blue
Member

press k , that is the keyboard shortcut for the dump bucket(brush/ space filler)
press s , that is the keyboard shortcut for the ink bottle (line filler)

did you try my press q for free transform key, then press the magnet on the tool bar (that is the bar on the left) then go to each and every blessed vertex (appears like this _| when hovering free transform tool over it) dont change the curve of the lines (appears like this ) to indicate curve)

try double clicking it if you made it into a button, graphic, or movie clip in order to edit the actual look of it, you can tell if it is a symbol if when you click it there is a blue and black box around the object rather dotted fill
AQ DF  Post #: 400
Page:   <<   < prev  14 15 [16] 17 18   next >   >>
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash help and tutorials, checked daily
Page 16 of 24«<1415161718>»
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