Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


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: 'Irondrgntp'

We found 12 matches.


<< < > >>

Viewing 1-12 of 12 matches.

1.

None

Topic: --!help!--firing A Bullet--!help!--

Posted: 06/29/07 01:18 AM

Forum: Flash

Does my problem reside within the duplication coding or the _x & _y positioning?

HELP PLEASE!


2.

None

Topic: --!help!--firing A Bullet--!help!--

Posted: 06/29/07 12:51 AM

Forum: Flash

I want the "ship" to fire a "bullet", but for some reason every time that I press the key, it duplicates the MC in the position in which it was last fired. How do I fix this?

Here is the link to the Flash itself:
Starship Flash Example

This is the code used in the "bullet" and the "ship":

Bullet Code:

onClipEvent (enterFrame) {
this._y -= 35;
if (this._y<600) {
this.removeMovieClip();
}
}

Ship Code:

//On Load
onClipEvent (load) {
_root.bullet._visible = false;
bulletCount = 1;
}
//Movement/Action Controls
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
this._x -= 15;
}
if (Key.isDown(Key.RIGHT)) {
this._x += 15;
}
//Collision Test for walls
if (_root.ship.hitTest(_root.lwall)) {
this._x += 15;
}
if (_root.ship.hitTest(_root.rwall)) {
this._x -= 15;
}
//Fire Bullet Controls
if (Key.isDown(Key.CONTROL)) {
bulletCount++;
_root.bullet.duplicateMovieClip("bullet"+bull etCount, bulletCount);
_root["bullet"+bulletCount]._visible = true;
_root.bullet._y = _root.ship._y-10;
_root.bullet._x = _root.ship._x+5;
}
}

Thanks,
Irondrgntp


3.

None

Topic: grounders chat

Posted: 06/28/07 09:25 PM

Forum: General

The grammar... oh the grammar. It almost makes me want to vomit. :X

How are people so illiterate?


4.

None

Topic: Help!!@ -- _rotation And Keys!!

Posted: 06/21/07 03:08 AM

Forum: Flash

Sorry, VoidSkipper! I didn't get to see any posts that were made since I was posting myself. By the time I finished typing and submitted it, you already posted. Oh wow, I take so long to post, even now I am. (Perfectionist?)

Anyways, look at post above this.. the (Final Question).

Hey, who knows.. maybe someone else has my same problem and might benefit from this.


5.

None

Topic: Help!!@ -- _rotation And Keys!!

Posted: 06/21/07 03:05 AM

Forum: Flash

Alright, I kind of answered my own post to a certain extent.
I tried this on my first attempt to figure it out and it seemed to work.
Here is what I did for LEFT and UP:

if (Key.isDown(Key.LEFT && Key.UP)) {
_y -= 10;
_x -= 10;
_rotation = 225;
}

I figure this is right since 225 degrees is mid-way between LEFT and RIGHT.

----------

MY FINAL QUESTION ( i hope):

How can I get the rotation to be almost perfectly smooth from a transition like LEFT to RIGHT, without much choppiness?


6.

None

Topic: Help!!@ -- _rotation And Keys!!

Posted: 06/21/07 02:55 AM

Forum: Flash

Oops, I meant..

RIGHT and UP combined for a 45 degree rotation. Not 135 degress. That's for UP and LEFT.

(I think) - tired


7.

Shouting

Topic: Help!!@ -- _rotation And Keys!!

Posted: 06/21/07 02:52 AM

Forum: Flash

I need to know how to combine two keys in a statement so I can add more rotations for smoother turning! For example.. these two statements. (For a simple space-ship MC)

----------

if (Key.isDown(Key.UP)) {

AND

if (Key.isDown(Key.RIGHT)) {

----------

If I can combine those two keys, RIGHT and UP, then I will be able to use the rotation of 135 resulting in a cleaner look, instead of going straight from 90 degrees to 180 degrees.

Is it possible to do this a better way and even possibly add more rotational degrees for an almost-perfect turn? (Just asking)

----------

[u]HERE IS THE CODE (Very simple)[/u]

//Movement Controls
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
_x -= 10;
_rotation = 180;
}
if (Key.isDown(Key.RIGHT)) {
_x += 10;
_rotation = 0;
}
if (Key.isDown(Key.UP)) {
_y -= 10;
_rotation = 270;
}
if (Key.isDown(Key.DOWN)) {
_y += 10;
_rotation = 90;
}
}


8.

None

Topic: Help!@ - Cursor/movie Clip Save?

Posted: 06/21/07 12:46 AM

Forum: Flash

Great, thanks DFox. I see you posting around quite a bit on these forums. Props to you for helping people out. Keep it up.

I would give you "rep" points if it existed.


9.

None

Topic: Help!@ - Cursor/movie Clip Save?

Posted: 06/21/07 12:38 AM

Forum: Flash

Well at first, I was trying to think of how I can save the MC in a folder along with my other flash things.. but I guess I can just open the document/stage that has the MC in it and copy-paste it to the other document/stage?

--
Thanks,
Irondrgntp


10.

Shouting

Topic: Help!@ - Cursor/movie Clip Save?

Posted: 06/21/07 12:18 AM

Forum: Flash

I made a cursor in a Flash Document which is a MovieClip, and is currently in the library. It is animated a little bit, and I want to save it for later on in other Documents/Flash games. How can I export or save it so that it will retain everything the same so I can use it again in a different game by importing it?


11.

None

Topic: !help-- Help-- Help!@@

Posted: 06/20/07 10:11 PM

Forum: Flash

Thank you for the quick post and it worked great. Exactly what I needed. Thank you to all the other people who posted too. They were all great suggestions.


12.

Shouting

Topic: !help-- Help-- Help!@@

Posted: 06/20/07 09:44 PM

Forum: Flash

I have a question regarding buttons and a movie clip. I want the code to go-to the first frame once the button is pressed on the last frame. In other words, I have a few frames in a movie clip and I want to be able to click the "back" and "next" buttons to go through the objects (sort of like a game to choose clothes that switches immediately).

This is the code for the "next" button:

on (release) {
if (circle._TCurrentFrame == 3) {
gotoAndStop(1);
} else {
_root.circle.nextFrame();
}
}

There are only 3 frames within the MC, so I made it go to the first frame again if one presses the button on the last frame (3).

What do I do to make this work?


All times are Eastern Daylight Time (GMT -4) | Current Time: 07:08 AM

<< < > >>

Viewing 1-12 of 12 matches.