Home  | Login  | Register  | Help  | Play 

RE: Flash Q&A thread 3

 
Logged in as: Guest
  Printable Version
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A thread 3
Page 11 of 16«<910111213>»
Forum Login
Message << Older Topic   Newer Topic >>
6/15/2007 20:43:43   
SirSchmoopy
Banned Multi


quote:

ORIGINAL: SirSchmoopy

how do i make the button thing in the turn based battle tut on here?

still asking....

< Message edited by SirSchmoopy -- 6/21/2007 16:28:17 >


_____________________________

Sig deleted.
Post sig only once per page.
Post #: 251
6/16/2007 21:45:24   
SirSchmoopy
Banned Multi


http://img294.imageshack.us/my.php?image=rpg2bg9.swf sweet mmy first GOOD game,
space to shoot, hold space to do an energy ram, and arrow keys to move!!!
sweet!
http://img405.imageshack.us/my.php?image=supermannp3.swf

< Message edited by SirSchmoopy -- 6/19/2007 16:48:37 >


_____________________________

Sig deleted.
Post sig only once per page.
Post #: 252
6/21/2007 5:10:09   
Bakuryu the Mole
Member

how do i create a mirror image of something?

_____________________________

Sig eaten; height. Max size is 500 pxls wide by 100 high, with 50K max filesize.
Read the Universal Rules. - Wallo
AQ DF  Post #: 253
6/21/2007 18:08:01   
flsg
Member

Painmaker: use the rotation tool
copy and paste something, then use horizontal rotation in the modify menu(or another menu...forgot the name)
AQ  Post #: 254
6/22/2007 10:15:54   
SirSchmoopy
Banned Multi


can sum1 tell me whts wrong with this code???
onClipEvent(load){
if(_root.bullets<=01){
gotoAndStop("shoot");
}
} else if(_root.bullets<=0){
gotoAndStop("still");
}
}

_____________________________

Sig deleted.
Post sig only once per page.
Post #: 255
6/22/2007 13:07:23   
flsg
Member

SirSchmoopy: what is 01?!
and you need to tell us what happens when you run it, not just asking for all the possible bugs XD
also, if it doesn't play the frame you want, perhaps you need a _root. or something that point to your destination clip(like this.) before gotoAndStop
AQ  Post #: 256
6/22/2007 16:00:59   
SirSchmoopy
Banned Multi


the"01" is the number of bullets,
and when i run it, i want it so when theres 1, or 01 bulletsfrom picking up the gun,
he would go to his frame ofhim holding the gun, and hed go to the plain 1 when theres 0 bullets, but like this hes always in the plain him frame, and when i get rid of second part, he always holds gun :(

< Message edited by SirSchmoopy -- 6/22/2007 16:44:14 >


_____________________________

Sig deleted.
Post sig only once per page.
Post #: 257
6/23/2007 4:01:32   
Bakuryu the Mole
Member

how do i create shadows and how do u make the outlines so thin?

_____________________________

Sig eaten; height. Max size is 500 pxls wide by 100 high, with 50K max filesize.
Read the Universal Rules. - Wallo
AQ DF  Post #: 258
6/23/2007 17:09:27   
EragonZZZZ
Member

When you cache a movieclip as a bitmap, does it automatically cache any clips attached inside it?

What I mean is, suppose I created a blank "Background" MC and using AS loaded 100 tiles into it. Does caching "Background" cache the tiles, too?
AQ  Post #: 259
6/23/2007 21:38:51   
flsg
Member

Painmaker: go to filter-shadow in the property menu, but you need to transform your shape into a movieclip first
or you could just make a same shape and fill it with black to white(0% alpha) color

EragonZZZZ: wait, I clearly remember that you only have 3 z, not 4...XD wasn't it EragonZZZ?
anyway, dunno, try finding the tiles with cache, if it can't find it, then it doesn't cache it XD
sorry I'm not an expert in caching things, but theorically it should cache it
AQ  Post #: 260
6/23/2007 23:18:30   
EragonZZZZ
Member

No, I always was EragonZZZZ

And good thinking :D
It seems to cache them all. (lol, Po-ke-flash! Gotta cache em all!)
AQ  Post #: 261
6/27/2007 15:29:32   
Lightles
Member

I have a question, how can you convert a .fla file towards a file that can be hosted?

And another thing:
Why doesn't this part of code work (to delete what I have drawn on it)
quote:

Mouse.addListener(mouseListener);

var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
if (Key.isDown(Key.DELETEKEY) || Key.isDown(Key.BACKSPACE)) {
drawing_mc.clear();
}
};

I just copied the lowest code, this is supposed to be the problem, but I can't seem to find a mistake.

< Message edited by lightnes -- 6/27/2007 15:44:52 >
AQ DF  Post #: 262
6/27/2007 20:02:38   
flsg
Member

lightnes: lol XD, you can host the swf file, you know?
and, you forgot to add keyListener
Key.addListener(keyListener)
AQ  Post #: 263
6/28/2007 10:10:41   
Lightles
Member

That solves one problem, if I would know where to write that part of code (Scripting is even thougher then Latin to me, and I don't follow Latin in school)


< Message edited by lightnes -- 6/28/2007 15:15:49 >
AQ DF  Post #: 264
6/29/2007 11:12:35   
flsg
Member

well I learn latin in school, and I can tell you that it's harder and more boring than AS lol
put Key.addListener(keyListener) after the code you showed to me

SirSchmoopy: sorry I didn't see you reply, and your way of thinking is very...hum...creative XD
but flash doesn't know what 01 means(this kind of number doesn't exist), so just use 0 lol

< Message edited by flsg -- 6/29/2007 11:13:24 >
AQ  Post #: 265
6/29/2007 11:46:56   
Caox
Member

Can anybody tell me what would the AS would be for the "Random Weapon Name Generator"?
I'm making a naruto movie and i thought to put this game as an extras: Random Naruto Jutsu name generator. You have all the handseals
and you pick 3 of them then click mold chakra and then it gives you a random jutsu name.Can anyone help me? Just the Randomizer AS i need , all the other parts are easy.
In case you don't understand i wand to know how to make a code that randomises 3 or 4 words from a list of more to make a jutsu(tehnique) name.
edit:hope i'm not asking too mcuh but i need this....

< Message edited by caox -- 6/29/2007 11:49:55 >
Post #: 266
6/29/2007 16:38:29   
EragonZZZZ
Member

Easy, take an array of words for each 'section' of the result you want (in this case 3 arrays)
Fill them up with the words that you want.

Randomize a number for array 1, then array 2, then array 3. The number should be from 0 to the array's length.
Return the word at that index for the specified array.
AQ  Post #: 267
6/29/2007 21:29:54   
flsg
Member

eragon: lol just what I thought
a precision: use for(var i:Number=arrayName.lengh-1; i<=0; i--) instead of the normal i++ since it's faster
OMG I really don't have anything else to say XD so I'll give you the code

var part1:Array = ["flsg's ", "eragon's ", "artix's "];
var part2:Array = ["super ", "ultra ", "mega "];
var part3:Array = ["blabla1 ", "blabla2 ", "blabla3 ", "blabla4 "];//can't think of something
var part4:Array = ["dagger ", "blade ", "sword ", "axe ", "staff "];
var part5:Array = ["of bla1", "of bla2", "of bla3"];
var randomName:String = "";
var nameLength:Number = random(3)+3;
function getEssentialWord():String {
	//the essential parts are part2, 3 and 4
	var tempName:String = part2[random(part2.length)]+part3[random(part3.length)]+part4[random(part4.length)];
	return tempName;
}
randomName=getEssentialWord()
nameLength>=4 ? randomName=part1[random(part1.length)]+randomName : randomName;
nameLength==5 ? randomName+=part5[random(part5.length)] : randomName;
trace(randomName);

already tested, seems to work
AQ  Post #: 268
6/30/2007 11:53:25   
Caox
Member

Thank you very much!
And here's the [sarcasm]outstanding[/sarcasm] result: http://i181.photobucket.com/albums/x179/caox_weapon_crafter/lol.swf .....
some are so random they'r stupid...:(

< Message edited by caox -- 6/30/2007 11:54:57 >
Post #: 269
7/11/2007 17:17:47   
flsg
Member

eragon your pm box is full

BTW, does anyone has a question anymore?XD
AQ  Post #: 270
7/12/2007 7:12:28   
Burning Raven
Member
 

well I may not have a question but I do have a complament with how all your tutorials work well and are helping me make some exparemental games so I may ask a question lator!
~Raven
AQ  Post #: 271
7/18/2007 10:08:21   
Myhos
Member

Heya, I haven't been on here for a while now, anyhow I need some code to make a object (lets say a line for an example) to point in the direction of the pointer and stay with the pointer as it moves.
AQ DF  Post #: 272
7/19/2007 17:30:54   
Umbrix
Member

Hey. I was wondering if any of you know very well how to make and animate fire? I could use some help with it :(
AQ  Post #: 273
7/19/2007 18:42:12   
flsg
Member

OMG, someone posted?! Impossible lol
Myhos: if it stays with the pointer, how can it point to the direction of the pointer? I don't understand lol...
Umbrix: I made one once but I forgot where I put it...sry XD
but here's a way: draw a fireball as movieclip, use attachMovie() and duplicateMovieClip() to bring it and copy it on the stage, then make each ball's y position go higher
if you don't understand, I'll TRY to find my file or explain it in details

ERAGON: YOUR PM BOX IS STILL FULL >.<
AQ  Post #: 274
7/19/2007 18:52:39   
EragonZZZZ
Member

oooh, sorry bout that...been meaning to clean it out.
Really could utilize that big PM box lmao.

Just animating away here. Got some sick stuff to show soon :D
Whats up?
OOOH! Foire!
I <3 Foire!
Yeah, I'll try my hand at it in a bit.
AQ  Post #: 275
Page:   <<   < prev  9 10 [11] 12 13   next >   >>
All Forums >> [Gaming Community] >> [Legends and Lore] >> Artists of Legend >> Art Academy >> RE: Flash Q&A thread 3
Page 11 of 16«<910111213>»
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