Forum Topic: Super Informative N00B FAQ (fixed)

(2,136 views • 87 replies)

This topic is 3 pages long. [ 1 | 2 | 3 ]

<< < > >>
None

Damnatory

Reply To Post Reply & Quote

Posted at: 2/7/03 11:42 AM

Damnatory NEUTRAL LEVEL 12

Sign-Up: 01/05/03

Posts: 590

Ok, I have a question that wasn't answered here.
I know how to tween, but how do I make just one single part of a symbol move smoothly without looking like its "popping" back and forth? I tried completely breaking apart and just moving that part but it looks like its just appearing and disappearing.


None

MaliceDR

Reply To Post Reply & Quote

Posted at: 2/7/03 12:43 PM

MaliceDR EVIL LEVEL 08

Sign-Up: 11/12/02

Posts: 138

At 2/7/03 11:42 AM, Damnatory wrote: Ok, I have a question that wasn't answered here.
I know how to tween, but how do I make just one single part of a symbol move smoothly without looking like its "popping" back and forth? I tried completely breaking apart and just moving that part but it looks like its just appearing and disappearing.

In order to make a movement tween work correctly, you have to make the object a group or symbol, it has to be on a layer by it's self, and there has to be a copy of it in the end-tween keyframe.

Does that answer your question?


None

MaliceDR

Reply To Post Reply & Quote

Posted at: 2/7/03 12:50 PM

MaliceDR EVIL LEVEL 08

Sign-Up: 11/12/02

Posts: 138

I searched the front page of the help forum and didn't see an answer, so I'm going to ask it myself: constraints. How do I set up walls that IamGod's guy has to walk around?

There's a perfect example of what I want to do that came with FlashMX under Samples/FLA/Maze.fla. Sadly, I can't seem to find the actionscript in it.


None

Damnatory

Reply To Post Reply & Quote

Posted at: 2/7/03 02:23 PM

Damnatory NEUTRAL LEVEL 12

Sign-Up: 01/05/03

Posts: 590

At 2/7/03 12:43 PM, MaliceDR wrote:
In order to make a movement tween work correctly, you have to make the object a group or symbol, it has to be on a layer by it's self, and there has to be a copy of it in the end-tween keyframe.

Does that answer your question?

Not really, so if I want seperate parts of a picture to move, I should, instead of making the entire drawing a symbol, just make each part a symbol??? Like the leg the arm the foot all seperate??


None

Ppk3000

Reply To Post Reply & Quote

Posted at: 2/7/03 02:38 PM

Ppk3000 NEUTRAL LEVEL 42

Sign-Up: 09/29/01

Posts: 400

At 2/7/03 12:50 PM, MaliceDR wrote: There's a perfect example of what I want to do that came with FlashMX under Samples/FLA/Maze.fla. Sadly, I can't seem to find the actionscript in it.

Look in the FLA file again... look at the actions attached to the maze boundaries.


None

numbers

Reply To Post Reply & Quote

Posted at: 2/7/03 04:00 PM

numbers FAB LEVEL 27

Sign-Up: 12/17/02

Posts: 8,450

*bump*

Thank You Poozy <3 I'll Never Forget You :-*


None

ChocolateChipClock

Reply To Post Reply & Quote

Posted at: 2/7/03 06:25 PM

ChocolateChipClock NEUTRAL LEVEL 19

Sign-Up: 08/16/02

Posts: 4,139

At 2/7/03 02:23 PM, Damnatory wrote:
At 2/7/03 12:43 PM, MaliceDR wrote:

to tell you the truth, this whole thing is in the hierarchy of flash tutorial i made. u c, make a tween of a guy going across the stage. make sure it is a symbol, most likely a graphic. Then, double click the symbol or right-click edit in place. on that timeline, make a little frame by frame animation of the guy walking in place. that is how to do it. if u need me to make an example, e-mail me or talk to me on aim or msn, my info is in my bbs signature.


None

ChocolateChipClock

Reply To Post Reply & Quote

Posted at: 2/7/03 06:38 PM

ChocolateChipClock NEUTRAL LEVEL 19

Sign-Up: 08/16/02

Posts: 4,139

At 2/7/03 02:23 PM, Damnatory wrote:
At 2/7/03 12:43 PM, MaliceDR wrote:
In order to make a movement tween work correctly, .......

all u have to do is specify the x and y coordinates or your boundaries. here is an example of boundaries where y<=235, _y>=375, x<=90, and x>=460 on all of the certain keypresses. put this script in your movieclip.

onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) && this._y<=235) {
this._y = 235;
}
if (Key.isDown(Key.DOWN)) && this._y>=375) {
this._y = 375;
}
if (Key.isDown(Key.LEFT)) && this._x<=90) {
this._x = 90;
}
if (Key.isDown(Key.RIGHT)) && this._x>=460) {
this._x = 460;
}
}


None

ChocolateChipClock

Reply To Post Reply & Quote

Posted at: 2/8/03 08:23 PM

ChocolateChipClock NEUTRAL LEVEL 19

Sign-Up: 08/16/02

Posts: 4,139

questions, anyone, anyone?


Questioning

rangi

Reply To Post Reply & Quote

Posted at: 2/9/03 10:28 PM

rangi NEUTRAL LEVEL 20

Sign-Up: 10/26/02

Posts: 3,505

How do you make a score. Like when you hit a place on the target it gives u a 100 points or something. Just a number score


None

Syko666

Reply To Post Reply & Quote

Posted at: 2/10/03 12:10 AM

Syko666 EVIL LEVEL 08

Sign-Up: 12/16/02

Posts: 22

Hey Iamgod666,

How would you make it in a flash game so when a MC (ie a car ) moved over it would play a death animation? All I need is the action script code.Any help would be most apreciated.


None

Syko666

Reply To Post Reply & Quote

Posted at: 2/10/03 12:11 AM

Syko666 EVIL LEVEL 08

Sign-Up: 12/16/02

Posts: 22

At 2/10/03 12:10 AM, Syko666 wrote: Hey Iamgod666,

How would you make it in a flash game so when a MC (ie a car ) moved over it would play a death animation? All I need is the action script code.Any help would be most apreciated.

Shit,what I meant was this: "How would you make it in a flash game so when a MC (ie a car ) moved over a pedestrain MC it would play a death animation? All I need is the action script code.Any help would be most apreciated."


None

evilshark27

Reply To Post Reply & Quote

Posted at: 2/10/03 12:17 AM

evilshark27 EVIL LEVEL 10

Sign-Up: 07/10/02

Posts: 540

At 2/7/03 06:38 PM, IamGod666 wrote: all u have to do is specify the x and y coordinates or your boundaries. here is an example of boundaries where y<=235, _y>=375, x<=90, and x>=460 on all of the certain keypresses. put this script in your movieclip.

Ok this is a Question, how do you know what to set your Boundarys? I don't get that part. I understand the X and Y axis now but still i don't understand how you get the boundarys well atleast the values of it.


None

evilshark27

Reply To Post Reply & Quote

Posted at: 2/10/03 12:27 AM

evilshark27 EVIL LEVEL 10

Sign-Up: 07/10/02

Posts: 540

At 2/9/03 10:28 PM, TriPPinHoBo wrote: How do you make a score. Like when you hit a place on the target it gives u a 100 points or something. Just a number score

Use variables. Make a Dynamic Text box at the begining and label it Score or something. Now in the thing you want to "hit" place these actions:

onClipEvent (load) {
points = 10;
}

Now put an action where if the Gun or whatever it is, hits it, the points will add up to the score so an action would be

onClipEvent (enterFrame)
{if (this.hitTest(
MC, true))
_root.score + points;
}

That might work. I dunno try it out and see.


None

evilshark27

Reply To Post Reply & Quote

Posted at: 2/10/03 12:31 AM

evilshark27 EVIL LEVEL 10

Sign-Up: 07/10/02

Posts: 540

At 2/10/03 12:10 AM, Syko666 wrote: Hey Iamgod666,

How would you make it in a flash game so when a MC (ie a car ) moved over it would play a death animation? All I need is the action script code.Any help would be most apreciated.

This might work

if(this.hitTest(_root.MC)) {
_root.gotoAndPlay("death");
}

Alright, make sure you lablel the frames "death" or something like that.


None

Jeffshaw

Reply To Post Reply & Quote

Posted at: 2/10/03 01:03 AM

Jeffshaw NEUTRAL LEVEL 21

Sign-Up: 10/07/02

Posts: 47

At 2/6/03 02:58 AM, IamGod666 wrote: where's a n00b when u need one...

where can i learn the basics of flash gaming? besides this post :)


None

evilshark27

Reply To Post Reply & Quote

Posted at: 2/10/03 01:07 AM

evilshark27 EVIL LEVEL 10

Sign-Up: 07/10/02

Posts: 540

At 2/10/03 01:03 AM, Jeffshaw wrote:
where can i learn the basics of flash gaming? besides this post :)

The thread "Look At This" by Fargate. It has alot of good info, but it doesn't have all that you need to make a good game. If you have anymore questions, just ask.


None

Jeffshaw

Reply To Post Reply & Quote

Posted at: 2/10/03 01:13 AM

Jeffshaw NEUTRAL LEVEL 21

Sign-Up: 10/07/02

Posts: 47

At 2/10/03 01:07 AM, evilshark27 wrote:
At 2/10/03 01:03 AM, Jeffshaw wrote:
where can i learn the basics of flash gaming? besides this post :)
The thread "Look At This" by Fargate. It has alot of good info, but it doesn't have all that you need to make a good game. If you have anymore questions, just ask.

thanks for the quick reply :) i will check that post out :)


None

evilshark27

Reply To Post Reply & Quote

Posted at: 2/10/03 01:14 AM

evilshark27 EVIL LEVEL 10

Sign-Up: 07/10/02

Posts: 540

At 2/10/03 01:13 AM, Jeffshaw wrote:
thanks for the quick reply :) i will check that post out :)

welcome.


None

Syko666

Reply To Post Reply & Quote

Posted at: 2/10/03 01:35 AM

Syko666 EVIL LEVEL 08

Sign-Up: 12/16/02

Posts: 22

Hey Shark,thanks.


None

Jeffshaw

Reply To Post Reply & Quote

Posted at: 2/10/03 01:51 AM

Jeffshaw NEUTRAL LEVEL 21

Sign-Up: 10/07/02

Posts: 47

At 2/10/03 01:14 AM, evilshark27 wrote:
At 2/10/03 01:13 AM, Jeffshaw wrote:
thanks for the quick reply :) i will check that post out :)
welcome.

now how do i make my player shoot, It's for a laser tag game idea, hoping to finsih it one day :)


None

numbers

Reply To Post Reply & Quote

Posted at: 2/10/03 01:24 PM

numbers FAB LEVEL 27

Sign-Up: 12/17/02

Posts: 8,450

im thinkin of miking a paintbal gme..but firt im gona make thee movey..why the fck dd i cal the gan leader a dunky buttfucka?

Thank You Poozy <3 I'll Never Forget You :-*


Happy

ChocolateChipClock

Reply To Post Reply & Quote

Posted at: 2/12/03 12:57 AM

ChocolateChipClock NEUTRAL LEVEL 19

Sign-Up: 08/16/02

Posts: 4,139

i just had to bring this back


None

numbers

Reply To Post Reply & Quote

Posted at: 2/12/03 07:51 AM

numbers FAB LEVEL 27

Sign-Up: 12/17/02

Posts: 8,450

this is another "look at this!" thread..heh

Thank You Poozy <3 I'll Never Forget You :-*


None

titbread

Reply To Post Reply & Quote

Posted at: 2/12/03 02:19 PM

titbread LIGHT LEVEL 14

Sign-Up: 12/02/00

Posts: 2,285

Dear IamGod666,

I am a lazy cunt and cannot be botherd to script this shit. So I am going to get you to do it and give you not a thing in return.

How do u make the universe spin the other way?
oh and if x=5 whats urnan?

|tit

look at my pic *honK8* FEWEL!!!

Super Informative N00B FAQ (fixed)


None

numbers

Reply To Post Reply & Quote

Posted at: 2/12/03 05:19 PM

numbers FAB LEVEL 27

Sign-Up: 12/17/02

Posts: 8,450

At 2/12/03 02:19 PM, titbread wrote: Dear IamGod666,

I am a lazy cunt and cannot be botherd to script this shit. So I am going to get you to do it and give you not a thing in return.

How do u make the universe spin the other way?
oh and if x=5 whats urnan?

|tit

look at my pic *honK8* FEWEL!!!

dude if thats what u look like then AHHHH!!!

Thank You Poozy <3 I'll Never Forget You :-*


None

Huff-daddy

Reply To Post Reply & Quote

Posted at: 2/12/03 08:06 PM

Huff-daddy NEUTRAL LEVEL 10

Sign-Up: 12/19/00

Posts: 35

how do you import a pic with a transparent background into flash without that annoying white box showing up around it?


None

Ppk3000

Reply To Post Reply & Quote

Posted at: 2/12/03 08:23 PM

Ppk3000 NEUTRAL LEVEL 42

Sign-Up: 09/29/01

Posts: 400

At 2/12/03 08:06 PM, Huff_daddy wrote: how do you import a pic with a transparent background into flash without that annoying white box showing up around it?

Either making sure the picture itself has transparency (GIF or PNG images) or masking out what you don't need in Flash


None

Bongswank

Reply To Post Reply & Quote

Posted at: 2/12/03 09:09 PM

Bongswank NEUTRAL LEVEL 12

Sign-Up: 10/17/02

Posts: 31

iMgod666 You rule. i used swish for a while but then my trial ran out so i needed to re-learn to use flash and those tutorial site u gave help me out alot. thanx.

Super Informative N00B FAQ (fixed)


None

LCRK

Reply To Post Reply & Quote

Posted at: 2/12/03 09:50 PM

LCRK NEUTRAL LEVEL 01

Sign-Up: 02/12/03

Posts: 1

Here's the situation: I have a stationary enemy that fires a laser beam in different directions. I want the beam to expand from his gun to the end of the screen before disappearing. When he shoots the laser at an angle, I need to rotate the laser to match the angle. The laser is a MC that contains a tween that increases it's width until it's larger enough to go outside the screen. But when I rotate the laser MC, the player still gets hit when he's no where near the laser because of the MC's bounding box thing. Is there any way I could make the hitTest more accurate, or am I screwed anally?


All times are Eastern Standard Time (GMT -5) | Current Time: 07:44 AM

<< Back

This topic is 3 pages long. [ 1 | 2 | 3 ]

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!