RE: Flash Q&A thread 3 (Full Version)

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



Message


SirSchmoopy -> RE: Flash Q&A thread 3 (6/15/2007 20:43:43)

quote:

ORIGINAL: SirSchmoopy

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

still asking....[sm=icon_neutral.gif]




SirSchmoopy -> RE: Flash Q&A thread 3 (6/16/2007 21:45:24)

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![sm=Artix.jpg]
http://img405.imageshack.us/my.php?image=supermannp3.swf




Bakuryu the Mole -> RE: Flash Q&A thread 3 (6/21/2007 5:10:09)

how do i create a mirror image of something?




flsg -> RE: Flash Q&A thread 3 (6/21/2007 18:08:01)

Painmaker: use the rotation tool
copy and paste something, then use horizontal rotation in the modify menu(or another menu...forgot the name)




SirSchmoopy -> RE: Flash Q&A thread 3 (6/22/2007 10:15:54)

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




flsg -> RE: Flash Q&A thread 3 (6/22/2007 13:07:23)

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




SirSchmoopy -> RE: Flash Q&A thread 3 (6/22/2007 16:00:59)

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 :(




Bakuryu the Mole -> RE: Flash Q&A thread 3 (6/23/2007 4:01:32)

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




EragonZZZZ -> RE: Flash Q&A thread 3 (6/23/2007 17:09:27)

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?




flsg -> RE: Flash Q&A thread 3 (6/23/2007 21:38:51)

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




EragonZZZZ -> RE: Flash Q&A thread 3 (6/23/2007 23:18:30)

No, I always was EragonZZZZ

And good thinking :D
It seems to cache them all. (lol, Po-ke-flash! Gotta cache em all!)




Lightles -> RE: Flash Q&A thread 3 (6/27/2007 15:29:32)

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.




flsg -> RE: Flash Q&A thread 3 (6/27/2007 20:02:38)

lightnes: lol XD, you can host the swf file, you know?
and, you forgot to add keyListener
Key.addListener(keyListener)




Lightles -> RE: Flash Q&A thread 3 (6/28/2007 10:10:41)

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)




flsg -> RE: Flash Q&A thread 3 (6/29/2007 11:12:35)

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




Caox -> RE: Flash Q&A thread 3 (6/29/2007 11:46:56)

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....[:'(]




EragonZZZZ -> RE: Flash Q&A thread 3 (6/29/2007 16:38:29)

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.




flsg -> RE: Flash Q&A thread 3 (6/29/2007 21:29:54)

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




Caox -> RE: Flash Q&A thread 3 (6/30/2007 11:53:25)

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...:(




flsg -> RE: Flash Q&A thread 3 (7/11/2007 17:17:47)

eragon your pm box is full

BTW, does anyone has a question anymore?XD




Burning Raven -> RE: Flash Q&A thread 3 (7/12/2007 7:12:28)

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 [:D] so I may ask a question lator!
~Raven




Myhos -> RE: Flash Q&A thread 3 (7/18/2007 10:08:21)

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.




Umbrix -> RE: Flash Q&A thread 3 (7/19/2007 17:30:54)

Hey. I was wondering if any of you know very well how to make and animate fire? I could use some help with it :(




flsg -> RE: Flash Q&A thread 3 (7/19/2007 18:42:12)

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




EragonZZZZ -> RE: Flash Q&A thread 3 (7/19/2007 18:52:39)

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.




Page: <<   < prev  9 10 [11] 12 13   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition
0.109375