RE: Flash Q&A thread 2 ** checked everyday (Full Version)

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



Message


Arc -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 13:19:42)

This is a nice Flash thread, I check it every day!




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 13:23:34)

mathius- um, it may be a little hard but post them here or in my actual thread and i'll tell you how to improve your drawings, not each and everyone but if you want to know like"how do you draw trees/rocks/grass/etc blue?" then i could try to draw one and you learn from it

arc- lol, problem is there are more AS questions rather than graphics ones, so i started it but zoltan, flsg, and somebody621 keep it going




swenn -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 13:28:32)

when i use the paint bucket it will not always work how do i get it so that it always work?




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 13:34:50)

if you use the bucket tool when its like (_) in the selection, use the free transform tool and in the tool area select magnet, now magnet all the edges together just incase, if it screws something up then just Ctrl + Z to undo it




swenn -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 13:41:25)

it still won't work i magneted it but i can cklik what i want[&:]
wait i will post a screenie:
http://img343.imageshack.us/img343/5961/screenie9xt.png

edit: maybe it is because i made it into a symbol?




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 16:09:02)

lol, thats why, if you make something a symbol but want to edit it, then double click it and you can do what you want, also, if you make a box using three lines and the other is a symbol it wont work, you must have them all be cimilar to eachother




JJ_Legend -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 16:13:47)

Something for you LBB... I was hoping you could give me some tips on drawing Mogecko's well... I have one already... I can't really shape an Armor or Robe for it though... I was going to make monsters... Mogecko Mages and Knights.

ORIGINAL




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 16:33:31)

well, i go for realism, you seem more like a cartoonist but for a robe you could try to first make a layer above the lizards one, (this is what i love about flash) then start making an outline of a ragged robe exterior, or smooth whatever you like more, and i suggest a hood that is not on his head, then make his arms, then go back and make the shades, for clothes you can look at your own or what is also easy is to handdraw it, dont scan it up to the computer just eye ball where the groves in the clothes are and adjust them to your robe,

armor, my favorite,

golden rule to shading is EVERY ELEMENT HAS DIFFERENT SHINE




JJ_Legend -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 16:42:41)

I see... Thanks alot... If you have MSN PM me because it would be much easier.




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 17:16:23)

quote:

ORIGINAL: lil boi blue

mathius- um, it may be a little hard but post them here or in my actual thread and i'll tell you how to improve your drawings, not each and everyone but if you want to know like"how do you draw trees/rocks/grass/etc blue?" then i could try to draw one and you learn from it

arc- lol, problem is there are more AS questions rather than graphics ones, so i started it but zoltan, flsg, and somebody621 keep it going


all I need for now is to learn how to make a better arm with a gun and a better enemy (im not good with drawing people). everything else is bassically rubbish




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 18:07:33)

mathus the seconth: I strongly suggest you to not think about the graphics right now
start by coding the game, because you'll see that in the futur you may need to re-draw everything(yes, EVERYTHING)
edit: since most of trusted web hosting services don't support ASP and MS Access, I think I'll start to learn PHP and MySQL lol




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 18:34:33)

ty, for ur words of wisdom. now i know ur good with AS and i need u to help me with the hittest between the enemy and the bullethole.

quote:

EDIT box:
OMG how can i be so so.. dimwitted i can just simply make the enemy a button that when you press him he dies!(though im not sure if it'll work due to the "startDrag("", true);Mouse.hide(); " function. ill try it!)

EDIT EDIT:Nope it did not work


quote:

ORIGINAL: mathus the seconth

can anyone help me with the game im making? all the scripts ppl give me dont work. its a shooting game, like the one zoltan made, i have a bg, a gun with a crosshair, an enemy, and a bullet. the scripts on the gun are:

//gun replaces cursor.
onClipEvent (load) {
	
startDrag("", true);
	Mouse.hide();
}
//I made this section myself:
//when you press, the bullethole x & y = the gun x & y.
onClipEvent(mouseDown) {
	_root.bullethole._y = _root.gun._y;
	_root.bullethole._x = _root.gun._x;
}


thats just about it.
now i need u to teach me how to make scorecount, reload, and hittest between the bullet and the enemy (if u can of course) ill upload a file of what i have later.

EDIT: here is what i have so far.

timebomb

(turn up the volume music by me, thanks to http://www.ctcmix.com, i found this site on a cereal box lol long time ago.)

u should try this hoster: http://www.badongo.com/, it can take 1 gig files!!!!, thats AMAZING.

EDIT EDIT: I fixed the script,
Before --->
on (press) {


After --->
onClipEvent(mouseDown) {


it makes it go much smoother.





lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 19:02:14)

i know he has to be a movie clip, buttons dont animate too well like that, its better if all these codes fit into a one frame animation, just pretend each room is its own frame




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 19:17:05)

mathus the seconth: I can't see this movie:
http://www.badongo.net/vid/83135
can you upload it on ImageShack?




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 19:21:01)

nope, file too big. ill upload again, but dont change movie size!

u can also download the file, there is an option there below the movie size

EDIT: http://www.badongo.com/vid/83860




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 20:31:01)

that big?!?! OMG what did you put in the movie?!
anyway, I can see it now
you shouldn't use hitTest, it's only for fighting games
you can use onMouseDown(FOR NOW), put this code on the main movie:

//new event handler
_root.enemy_mc.onPress=function(){
   this.gotoAndPlay("dead")
}


enemy_mc is the movieClip's instance name
"dead" is the frame label in enemy_mc that show the dead animation
you'll see that this code works, but the only problem is in the future, you'll need to duplicate the enemy_mc to make more enemys:
for(var i=0; i<10; i++){
duplicateMovieClip("enemy_mc", "enemy_mc_"+i, i+10)
_root["enemy_mc_"+i]._x=random(Stage.width)
_root["enemy_mc_"+i]._Y=random(Stage.height)
}

with this code you created 10 enemies, on differents coordinates, their name is:
enemy_mc_0
enemy_mc_1
enemy_mc_2
......
so you can't use _root.enemy_mc.onPress anymore, you'll need a enterFrame to check every frame if one of the enemy_mc is pressed, but I hate onEnterFrame(it makes the movie really slow)
delete the code I showed you on the main movie, then put this code on THE ENEMY MOVIECLIP:
//MovieClip event handler, activate when the mouse is pressed
onClipEvent (mouseDown) {
//check if this MC is pressed
	this.onPress = function() {
		this.gotoAndPlay("dead");
	};
}




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 21:11:31)

the sound is pretty big. lol

i tried the mouse down already[&:] the mouse hide thing doesn't let u do on mouse down [:@] (forgive me for using that smiley, LBB)




lil boi blue -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 21:34:00)

lol, i mean when people say

"where is the GOCA Q&A board[:@]"
"hello everyone, im new to the forums[:@]"
or something like that when they truely dont mean it




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (4/2/2006 22:46:11)

well, flsg's method is x'ed out, u got anyting?

EDIT: the *.fla for people to tinker with it.

http://www.badongo.net/file/423694 (you have to wait 30 secs bfore u download)




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/3/2006 16:17:17)

don't put music in the demo please XD




mathus the seconth -> RE: Flash Q&A thread 2 ** checked everyday (4/3/2006 16:53:34)

umm... *whispers* sorry...

u can take it off. there is a music layer.




flsg -> RE: Flash Q&A thread 2 ** checked everyday (4/3/2006 17:14:51)

here, I've made a shooting game engine for you[;)], it tooks me 25 minutes and 44 seconds lol

http://img317.imageshack.us/my.php?image=guntest5fs.swf

the engine works, however there's some things that I could make better
there's only 24 lines of code on the main frame, and anywhere else is empty(NOW THAT'S REAL PROGRAMMING!!!)
if you want the code then tell me[;)]
this game's size is 1.72 KB, not bad!!!

once again, I feel powerful lol




Grie Velorn -> RE: Flash Q&A thread 2 ** checked everyday (4/3/2006 19:40:51)

how do you make it so the ball appears in different places?




somebody621 -> RE: Flash Q&A thread 2 ** checked everyday (4/3/2006 19:57:12)

That's easy.
stageheight = Stage.height+1;
//+ 1 just for random positions
stagewidth = Stage.width+1;
enemynum=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14];
//fifteen enemies: The number is stored in an array
for(var i in enemynum){
//every time the loop passes through a number in an array; starts from 0
duplicateMovieClip("enemy", "enemy"+i, i + 1000);
var enemy = _root["enemy" + i];
//just basicly rename the enemy for quick access
//duplicate the enemy movie clip.  It's new name would be enemy + i(say i was 0, enemy name would be enemy0),
// depth(how close it is to you) is i + 1000(do the math)
ob.zpos = int(Math.random()*(stageheight)-0.01);
//Math.random() returns a number between 1 and 0 randomly. int rounds down like Math.floor, but is faster.
ob._y = ob.zpos;
//declare the x of ob.  This, of course is assuming that the enemy drawing is in the middle of the movie clip
ob.swapDepths(ob.zpos+1000);
//swaps the depth depending on the enemy's y position. closer the enemy, higher the depth
ob.xpos = it(Math.random()*(stagewidth)-0.01);
//the random x position
}

Note: I've on purposely left stuff out and made mistakes to make you actually read the code and understand it. NO COPY AND PASTERS! Also, give credit if you use my code or manipulate it. If you write your own, it's yours, however.




Grie Velorn -> RE: Flash Q&A thread 2 ** checked everyday (4/3/2006 19:59:14)

thanks im not that good of actionscripting but i could try to figure it out...




Page: <<   < prev  7 8 [9] 10 11   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition
0.125