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,327 matches.


<< < > >>

Viewing 1,321-1,350 of 2,327 matches. 12142 | 43 | 44 | 45 | 46 | 47 | 486378

1,321.

None

Topic: Changing the FPS mid-movie

Posted: 05/31/07 08:54 AM

Forum: Flash

There is, and it is setInterval(), but unfortuantely, that's just "artificial" FPS.

Correct me if I'm wrong :o

1,322.

None

Topic: help me please flash 8

Posted: 05/31/07 08:52 AM

Forum: Flash

Try putting this.swapDepths(yourMCorButton) on both buttons.


1,323.

None

Topic: flash physics for dummies needed

Posted: 05/31/07 06:40 AM

Forum: Flash

There is no "simplified code" for the ragdoll physics or box physics games like Little Big Planet. :P For ragdoll, you want to study this:

http://en.wikipedia.org/wiki/Inverse_kinemati cs

And even with being kind right now, I'll be blunt and say out loud that I doubt you'd get far.

PS. Can't wait for Little Big Planet :D

1,324.

None

Topic: changing a variable

Posted: 05/31/07 06:37 AM

Forum: Flash

onLoad event handler is automatically used when you use a code on the timeline without an event handler.

If I understand correctly, you're whining that you put your code on Frame 1, but the variable isSlide is still stuck to false. That's because timeline code lasts as long as it isn't broken by a different keyframe (like when you're animating).

So just use the suggestion someone gave you.

And btw, onLoad and onEnterFrame are two different things, I think you misunderstood the latter.
onEnterFrame = it keeps on executing a code inside whenever a "frame" passes. Even if your movie is on stop(), if a movieclip inside it is still playing, onEnterFrame will keep on executing. So if you have 30FPS set, onEnterFrame executes the code 30 times per second.
onLoad = this is what you want. When the frame is "loaded" or "passed into", the code inside will execute only once.


1,325.

None

Topic: Real-Time Audio in Flash

Posted: 05/31/07 02:37 AM

Forum: Flash

I seriously doubt this, unless maybe you could embed an HTML with JavaScript inside Flash and have a dedicated server.


1,326.

None

Topic: as trouble

Posted: 05/30/07 11:37 AM

Forum: Flash

Check for instance names.

Try putting trace("something") after the gotoAndstop code thing so we can check if it executes.


1,327.

None

Topic: Mouse game test

Posted: 05/30/07 07:31 AM

Forum: Flash

Very cool. I expected it was another typical mouse maze, but having a scrolling background makes it way more interesting.

Suggestions:
- Implement checkpoint system, so everytime you get hit you get sent back to the last checkpoint.
- Scoring system. How about collecting bubbles or something along the maze? Then at the end of the maze the time and bubbles collected will be computed.

Otherwise, good job on there. Implement those two suggestions I made and your game will really be great.


1,328.

None

Topic: First person shooter game help

Posted: 05/30/07 07:25 AM

Forum: Flash

If you're thinking of a 3d FPS, give it up.

2d FPS? That should be simple enough with the use of vcam and buttons for enemies. But IMO 2d FPS games I've seen are bad.


1,329.

None

Topic: Actionscript Help

Posted: 05/28/07 01:17 PM

Forum: Flash

Elaborate.


1,330.

None

Topic: WTF is wrong with this!?

Posted: 05/28/07 04:13 AM

Forum: Flash

Nevermind, got it!


1,331.

None

Topic: WTF is wrong with this!?

Posted: 05/28/07 03:44 AM

Forum: Flash

Basically, I have a character walking inside a rectangle, and should be able to walk only inside that area. I set up four points of shapeFlag hitTests (left, up, right, down), so if the left hitTest returns False, the speed for walkLeft and runLeft is set to 0. Same goes to other directions.

But what I don't understand is that it works fine with walking, but he can still run beyond the boundaries! I traced the runLeft speed both on keypress and hitTest, and they return two different values WTF!?

===HITTEST CODE===

//Not Hitting Right
if (!_root.mcGround.hitTest(this._x+4, this._y, true)){
_root.walkRight = 0;
_root.runRight = 0;
trace("right");
}else{
_root.walkRight = 3.25;
_root.runRight = 9;

}
//Not Hitting Left
if (!_root.mcGround.hitTest(this._x-4, this._y, true)){
_root.walkLeft = 0;
_root.runLeft = 0;

trace("left");
}else{
_root.walkLeft = 3.25;
_root.runLeft = 9;
}

//Not Hitting Down
if (!_root.mcGround.hitTest(this._x, this._y+4, true)){
_root.walkDown = 0;
_root.runDown = 0;
trace("down");
}else{
_root.walkDown = 2;
_root.runDown = 2.5;
}

//Not Hitting Up
if (!_root.mcGround.hitTest(this._x, this._y-4, true)){
_root.walkUp = 0;
_root.runUp = 0;
trace("up");
}else{
_root.walkUp = 2;
_root.runUp = 2.5;
}
====


1,332.

None

Topic: Walk Within An Mc Only As?

Posted: 05/28/07 01:18 AM

Forum: Flash

bump

OMFG 1001th post and I never noticed! :o

1,333.

None

Topic: MC Playing Backwards

Posted: 05/28/07 01:16 AM

Forum: Flash

_currentframe? I've tried that before and it never worked. I think it just retrieves the number of the currentframe, not modify it (like _xmouse).


1,334.

None

Topic: Walk Within An Mc Only As?

Posted: 05/27/07 12:24 PM

Forum: Flash

bump


1,335.

None

Topic: help needed

Posted: 05/27/07 05:49 AM

Forum: Flash


1,336.

None

Topic: Walk Within An Mc Only As?

Posted: 05/27/07 05:47 AM

Forum: Flash

^I tried your suggestion. It's acting very, very strange. It works fine on the left side of the walkable area, but doesn't work AT ALL for the right side.

Link: http://denvish.net/ulf/270507/63856_Horror_Fi rst_Walking.php
Controls:
WASD = Movement
J = Hold for aim gun
U = Hold for aim knife
K = Hold for run (Shoot while aiming gun)
WA = adjust aim
Back + K = 180 degree turn

Code:
=============
//Not Hitting Left/Right
if (!_root.mcGround.hitTest(this._x+4, this._y, true)){
_root.walkRight = 0;
_root.runRight = 0;
_root.walkUp = 2;
_root.runUp = 2.5;
_root.walkLeft = 3.25;
_root.runLeft = 9;
_root.walkDown = 2;
_root.runDown = 2.5;
trace("right");
}if (!_root.mcGround.hitTest(this._x-4, this._y, true)){
_root.walkLeft = 0;
_root.runLeft = 0;
_root.walkUp = 2;
_root.runUp = 2.5;
_root.walkRight = 3.25;
_root.runRight = 9;
_root.walkDown = 2;
_root.runDown = 2.5;
trace(_root.runLeft);
trace("left");
}else{
_root.walkRight = 3.25;
_root.runRight = 9;
_root.walkLeft = 3.25;
_root.runLeft = 9;
}

//Not Hitting Up/Down
if (!_root.mcGround.hitTest(this._x, this._y+4, true)){
_root.walkDown = 0;
_root.runDown = 0;
_root.walkUp = 2;
_root.runUp = 2.5;
_root.walkRight = 3.25;
_root.runRight = 9;
_root.walkLeft = 3.25;
_root.runLeft = 9;
trace("down");
}if (!_root.mcGround.hitTest(this._x, this._y-4, true)){
_root.walkUp = 0;
_root.runUp = 0;
_root.walkRight = 3.25;
_root.runRight = 9;
_root.walkLeft = 3.25;
_root.runLeft = 9;
_root.walkDown = 2;
_root.runDown = 2.5;
trace("up");
}else{
_root.walkUp = 2;
_root.runUp = 2.5;
_root.walkDown = 2;
_root.runDown = 2.5;
}
======

I tried variants, like everything is else if'd instead of separated. I tried separating each with if, but still, doesn't work properly.


1,337.

None

Topic: Drag and drop with rotation?

Posted: 05/25/07 10:09 AM

Forum: Flash

Well, I have a vague idea in mind for the algorithm. onMouseDown, you have to store the (x,y) values of where you started to hold the click on the mouse. Call it 'initialPoint".

Then you just gotta keep on getting the _xmouse and _ymouse values every frame (call it "currentPoint"), then compute the angle between initialPoint and currentPoint, then apply it to the _rotation of the movieclip.


1,338.

None

Topic: flipping a whole scene horizontally

Posted: 05/25/07 09:22 AM

Forum: Flash

Try searching for reanimator camera.


1,339.

None

Topic: **be A T Shirt Designer!!** £££/$$$

Posted: 05/25/07 02:51 AM

Forum: Flash

Eh, just a quickie.

**be A T Shirt Designer!!** £££/$$$


1,340.

None

Topic: flash cursor help PLZ

Posted: 05/24/07 12:24 PM

Forum: Flash

Because you copy pasted the whole code, lolz. Change it and add the _root before the MC name.


1,341.

None

Topic: Flash CS3 workspace

Posted: 05/24/07 11:14 AM

Forum: Flash

I don't like Flash CS because of a single column toolbar, and the icons are GRAY unless you highlight them. Flash 8 has colorful icons and it turns on my creativity.


1,342.

None

Topic: Talking Area

Posted: 05/24/07 07:33 AM

Forum: Flash

What i meant was that if you say walk into someone text appears

if (this.hitTest(_root.someone)){
_root.txtSpeech.visible = true;
}else{
_root.txtSpeech.visible = false;
}

Either hitTest or distance formula. Name your textbox in the Var box in the properties, not in the Instance name.


1,343.

None

Topic: Energy Beam Sfx

Posted: 05/23/07 08:17 AM

Forum: Flash


1,344.

None

Topic: Walk Within An Mc Only As?

Posted: 05/23/07 08:06 AM

Forum: Flash

*illustration below*

Basically, I drew a sloped cliff that goes upwards. I want my guy to just move while inside the grass (green). I had this basic AS put on the hero:

if (!_root.grass.hitTest(this._x, this._y, true)){
_root.walkUp = 0;
_root.runUp = 0;
this._y += 3;
}else{
_root.walkUp = 2;
_root.runUp = 2.5;
}

From the illustration, it works fine if I try to walk to the left away from the grass, but if I walk away to the right, my hero still keeps on moving!? Even if he's outside the grass, as long as he walked to the right to exit the grass, he's still moving, but the shapeFlag hitTest should've prevented it!

Help? :(

I know you're there, Vengeance :(

Walk Within An Mc Only As?


1,345.

None

Topic: Enlargening the workplace faster?

Posted: 05/23/07 07:53 AM

Forum: Flash

Damn, is there a way to extend the limit?


1,346.

None

Topic: Enlargening the workplace faster?

Posted: 05/23/07 07:48 AM

Forum: Flash

So the white box in Flash is the stage, and the light gray is the workplace. I'm working on rather large level, and the only way I could find to quickly extend the work place is to drag a big MC around. Is there a place where I can specify the area of my work place?


1,347.

None

Topic: Talking Area

Posted: 05/23/07 07:33 AM

Forum: Flash

If I get what you mean, just use the Text Tool to put a rectangle on the stage, then pick "Input Text" from the properties.


1,348.

None

Topic: V-cam

Posted: 05/23/07 04:05 AM

Forum: Flash

Freeform tool (key Q).


1,349.

None

Topic: Beta Testers Wanted For Game! Ninja

Posted: 05/23/07 01:43 AM

Forum: Flash

At 5/22/07 10:47 AM, Brycearoni wrote: the fps is 32

It lags like hell on mine, like it plays at 12FPS.
- Reduce the number of filters, please.
- Convert the vectors to BMP. Bigger space, but less CPU usage.


1,350.

None

Topic: Beta Testers Wanted For Game! Ninja

Posted: 05/22/07 09:50 AM

Forum: Flash

Bump the freaking FPS to 30.


All times are Eastern Standard Time (GMT -5) | Current Time: 12:22 AM

<< < > >>

Viewing 1,321-1,350 of 2,327 matches. 12142 | 43 | 44 | 45 | 46 | 47 | 486378