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!

Author Search Results: 'WolfAkela'

We found 2,324 matches.


<< < > >>

Viewing 2,311-2,324 of 2,324 matches. 13670 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78

2,311.

None

Topic: Basic ActionScript help

Posted: 03/13/06 08:29 AM

Forum: Flash

Dang it, I got it to walk diagonally. Just use another onClipEvent. XD

Now my problem is how to write to comparing values and get values from dynamic text.


2,312.

None

Topic: whens a good time to submit?

Posted: 03/13/06 07:36 AM

Forum: Flash

Submit when its evening for the americans, in the morning they will be all grumpy and blam everything they see :)

What's the time zone for america? I'm on GMT +08:00.


2,313.

None

Topic: Basic ActionScript help

Posted: 03/13/06 07:18 AM

Forum: Flash

For some reason, the older flash flips properly AND walks diagonally.

www.geocities.com/senichi_kudo/walking.swf

Huh???


2,314.

None

Topic: music with my flash

Posted: 03/13/06 06:14 AM

Forum: Flash

I suppose you mean publish?

File > Publish


2,315.

None

Topic: does anybody like this?

Posted: 03/13/06 06:13 AM

Forum: Flash

Even with the brightest mode of my monitor, it's still too dark.


2,316.

None

Topic: makin a movie is hard!

Posted: 03/13/06 06:11 AM

Forum: Flash

Oh yeah, familiarize yourself with the Flash tools.

(P.S. why isn't there an edit button here?)


2,317.

None

Topic: makin a movie is hard!

Posted: 03/13/06 06:10 AM

Forum: Flash

It'll really help to know the very basic Flash terminology (Frame? Keyframe?) plus animating concepts (layers? frame by frame? tween?).


2,318.

None

Topic: music with my flash

Posted: 03/13/06 06:06 AM

Forum: Flash

Click on a frame on the end of your movie, then put this on the Actions code:

stopAllSounds();

==

Or click on the layer where you put your music, then look at the Properties below, then select for the Sync drop down "Stream".


2,319.

None

Topic: Basic ActionScript help

Posted: 03/13/06 06:03 AM

Forum: Flash

Oh yeah, forgot again (stupid me).

The link: www.geocities.com/se..hi_kudo/fliptest.swf


2,320.

None

Topic: Basic ActionScript help

Posted: 03/13/06 06:01 AM

Forum: Flash

Okay, some more problems:

First one is the combining arrow keys, like pressing down and right moves diagonally right. I tried this:


else if (Key.isDown(Key.DOWN)) && (Key.isDown(Key.RIGHT))
{ _y -= -3; }

or this:


else if ((Key.isDown(Key.DOWN)) && (Key.isDown(Key.RIGHT)))
{ _y -= -3; }

and replaced && with and. Either it doesn't work, or there's an error.

==========

Another one: how do I compare values of x,y coordinates? I'm making Simba bounce back when hit by that ball. Like something this:


If ballX >= SimbaX then Simba X -= 10
end if

If ballX <= SimbaX then SimbaX -= -10
end if

(kinda like a VB condition)

I've been trying, but I can't.

======

Last one.

How to get values from dynamic text?

I want to put a life bar that represents Simba's overall health percentage. I got the idea from the preloader, but it doesn't work. I created frame 'actions', then put this code:


getPercent = Math.round(number(_root.life)/100);
this.lifebar._width = getPercent*100;

Doesn't work. I'm sure I put var name for the dynamic text as 'lifebar', but doesn't work.

Umm... if you have a little more time, how to compare values from two dynamic text?

Thanks!


2,321.

None

Topic: Basic ActionScript help

Posted: 03/12/06 09:39 AM

Forum: Flash

Okay, one more thing that's bothering me a bit:

This is the code now:

onClipEvent (enterFrame)
{
if (Key.isDown(Key.RIGHT))
{ _x -= -5; _xscale = 40; this.play() }
else if (Key.isDown(Key.LEFT))
{ _x -= 5; _xscale = -40; this.play() }
else if (Key.isDown(Key.UP))
{ _y -= 3; }
else if (Key.isDown(Key.DOWN))
{ _y -= -3; }
else
{ this.stop()}
}

That means that pressing two arrow keys won't do anything? I tried to overwrite 2 lines with this:


else if (Key.isDown(Key.DOWN)) and (Key.isDown(Key.RIGHT))
{ _y -= -3; _x -= 3 }

But it nets me an error. :(


2,322.

None

Topic: Basic ActionScript help

Posted: 03/12/06 09:29 AM

Forum: Flash

SWEET! THANK YOU! I got the walking thing fixed now! :D I was looking for a way to flip the damn thing, and it was just _xscale all along. Thanks a lot!

I'll experiment a bit. :)


2,323.

None

Topic: Basic ActionScript help

Posted: 03/12/06 08:54 AM

Forum: Flash

Oh yeah, here's the flash file:

http://www.geocities..chi_kudo/walking.swf

PS. I'm using Flash Pro 8. And I decided not to use gotoAndStop(1) code so Simba will just pause in his walk.

Thanks in advance!


2,324.

None

Topic: Basic ActionScript help

Posted: 03/12/06 08:51 AM

Forum: Flash

Flash newbie here! :) I'm not bad at animating, but now I decided to tackle ActionScripts.

Just checked the tutorials (really great help!). So now I'm experimenting with keypresses. So I created this flash:

It's a tweened Simba with separate body parts, all converted to a movie clip. I want Simba to move and walk right when I press the right arrow key. I got that right. I can make Simba walk right and stop when I want to. I just gotoAndStop to frame one when I release the right arrow key. Is the code right?

onClipEvent (enterFrame)
onClipEvent (enterFrame)
{
if (Key.isDown(Key.LEFT))
{ _x -= 5; _rotation = 180; _root.nextFrame()}
}
onClipEvent (enterFrame)
{
if (Key.isDown(Key.RIGHT))
{ _x -= -5; _rotation = 180; _root.simba.play(); }
else
{ _root.simba.stop(); }

So it works. But I can't figure out how to make Simba walk left! :( It moves, but the animation doesn't play. I tried creating a second keyframe, where I duplicated the symbol and named it 'simbaback'. I can make Simba walk, but doesn't stop. :( Here's the code:


onClipEvent (enterFrame)
{
if (Key.isDown(Key.LEFT))
{ _x -= 5; _rotation = 180; _root.simbaback.play(); }
else
{ _root.simba.gotoAndStop(1); }
}
onClipEvent (enterFrame)
{
if (Key.isDown(Key.RIGHT))
{ _x -= -5; _rotation = 180; _root.prevFrame(); }
}

(note: Simba will still walk the same way, only to the left)

And it screws because it returns to its default position instead of continuing. And the same goes with the ball (collision hit testing).

Can anyone tell me how to make Simba walk left and right properly? Also, why isn't there a gotoAndPlay? I'm planning on drawing a different perspective Simba on frame 45 (example), tween it, so when I press up or down it'll gotoAndPlay to frame 45 so it'll display the diff. perspective Simba.

Help greatly appreciated! Thanks a lot!


All times are Eastern Standard Time (GMT -5) | Current Time: 01:02 AM

<< < > >>

Viewing 2,311-2,324 of 2,324 matches. 13670 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78