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

We found 1,085 matches.


<< < > >>

Viewing 31-60 of 1,085 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 92337

31.

None

Topic: Need math help.

Posted: 10/19/07 03:16 PM

Forum: Flash

Hi, I need some help with a math thing.
I saw it on a site and it looked like this:

F = GmM
- r*r
F = Force on body
G = gravitional constraint
m = mass of body 1
M = mass of body 2
r = distance between the 2 bodys

Now my question is, what is this?
Is it G*m*M/r*r?


32.

None

Topic: Ng Shirt Design - Art Thread

Posted: 10/06/07 05:02 AM

Forum: Art

I had 6 colors so I had to do it again!
Seriously, I would wear it!

Ng Shirt Design - Art Thread


33.

None

Topic: Ng Shirt Design - Art Thread

Posted: 10/03/07 03:10 PM

Forum: Art

Mine sucks, gaymen:

Ng Shirt Design - Art Thread


34.

None

Topic: New Art Contest

Posted: 10/03/07 02:28 PM

Forum: NG News

Good idea!


35.

None

Topic: My friends drawings.

Posted: 09/30/07 11:15 AM

Forum: Art

At 9/29/07 04:18 PM, BrAddErZ958 wrote: You're right I don't have a scanner, this was taken by a phone, still pretty good quality picture.
The next one, King Leonidas.

Nice art from your friend!

Btw, hi!

36.

None

Topic: Scrolling text?

Posted: 09/12/07 02:38 AM

Forum: Flash

At 9/11/07 03:22 PM, Deathcon7 wrote: Depends what you need it for. If it's going to be a way to control the sound via an ingame HUD, you want to minimalize it anyways, thus a scrolling text would be distracting and/or illegible. If anything try shortening the song name so it fits within the confines.

Otherwise, you could just create dynamic text string that takes out the first letter of the string and adds in a letter at the end to make it look like it's scrolling, but it's dynamic enough that you can stop the effect if the string is under a certain amount of characters.

But how do you can do it?
And if i shorten the name, the people who see the flash and think it's cool music they will go to the wrong music!


37.

Misunderstood

Topic: Scrolling text?

Posted: 09/11/07 03:13 PM

Forum: Flash

Hello there!
I'm making an game, and inside that game there is a little mp3 player, you can see what music your listening inside it and you can adjust the volume, it's working fine but...
The title is too long, so i wan't to know if i can make it scroll so you can see the whole text, but there is a problem if you try doing it with tweens and masks, if the next song has a short name you are going to see only white!
Please help.
Here is the file:
http://www.ngup.net/uploads/mp3.swf

Only the music doesn't work but i need to have the undefined ones scrolled!


38.

None

Topic: Moving pivot point?

Posted: 09/10/07 04:00 PM

Forum: Flash

It's not that hard, you don't need those weird Math thingys, i only adde the Math.PI because it looks awesome, you need to instances a square called square_mc and a long line called dot_mc

onEnterFrame=function(){
square_mc._x+=Math.PI;
square_mc._rotation+=1;
if(dot_mc._y>square_mc._y){
if(!dot_mc.hitTest(square_mc)){
square_mc._y+=1;
}
if(dot_mc.hitTest(square_mc)){
square_mc._y-=1;
}
}
}


39.

None

Topic: Moving pivot point?

Posted: 09/10/07 03:47 PM

Forum: Flash

At 9/10/07 03:17 PM, DreamworX wrote:
At 9/10/07 03:12 PM, mariobro42 wrote: I do know a way that works with tweens and doesn't use AS.
Well, I do too.. You see my example above? :P

It's pretty interesting, maybe a code that a line say _y 100 or something like that, and if you box don't touch it you go down and if you touch it you go up and then you add the rotation!


40.

None

Topic: MSN messenger art!

Posted: 09/09/07 01:27 PM

Forum: Art

I didn't mean that, i meant for msn messenger!

Btw, ik ben Nederlands

41.

Misunderstood

Topic: MSN messenger art!

Posted: 09/09/07 09:38 AM

Forum: Art

Here is mine from the boy that lives in my neighborhood, i think it's cool!

MSN messenger art!


42.

None

Topic: Synch sound with Animation in AS2

Posted: 09/09/07 09:08 AM

Forum: Flash

At 9/9/07 09:01 AM, Skeik-Sprite wrote: IT'S NOT POSSIBLE IN AS2

It must be!


43.

None

Topic: Synch sound with Animation in AS2

Posted: 09/09/07 08:57 AM

Forum: Flash

At 9/9/07 08:16 AM, trig1 wrote:
At 9/9/07 08:13 AM, trig1 wrote: You can do it with the microphone and (i think) with sounds played by actionscript.
Sorry forgot the important part:

soundsVarName.activityLevel

Gives a value between 0-100.

Gives this error:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 19: There is no property with the name 'activityLevel'.
activ=sound2.activityLevel;

Total ActionScript Errors: 1 Reported Errors: 1

This is the code:
var sound:Sound = new Sound();
sound.loadSound("Knife SLash 1.mp3",true);
var sound2:Sound = new Sound();
sound2.loadSound("90532_CrushingCastles_
2.mp3",false);
onEnterFrame=function(){
_root.rectangle._xscale=100
}
sound.onSoundComplete = function() {
_root.textbox="Finishedr";
sound2.start(0,0);
_root.textbox="Busy";
}
sound2.onSoundComplete = function() {
_root.textbox="Finished";
sound.start(0,0);
}
onEnterFrame=function(){
lengte=sound2.duration;
activ=sound2.activityLevel;
}
_root.textbox="Busy";


44.

None

Topic: Teh randomness!

Posted: 09/09/07 08:02 AM

Forum: Flash

At 9/9/07 07:51 AM, katfleas wrote: ok, so i'm trying to make sum kindof game where objects are falling from the sky, now, i don't know any code for randomness or falling so can you help me with dat? please.

For falling:

// Physics for the falling
grav=.1;
speed=0;
// A random function that gives a random over the screen width.
ran=Math.random()*Stage.width;
onEnterFrame=function(){
speed+=grav;
object._y+=speed
object._x=ran;
}


45.

None

Topic: Synch sound with Animation in AS2

Posted: 09/09/07 07:36 AM

Forum: Flash

At 9/9/07 07:21 AM, Kuoke wrote: You worded it funny. That's why.
I read it before and didn't understand it, so I didn't bother replying. But now I get it.

And no, you can't do it. Since CS3 actually has a built in audio detecting device thingamajig.

But isn't there a way to keep track on the volume, example:
If volume = 0, Goto frame 1.
if volume = 100, Goto frame 100.

Or something like that!


46.

None

Topic: Synch sound with Animation in AS2

Posted: 09/09/07 07:17 AM

Forum: Flash

Why does nobody wan't to help?
How hard can it be!


47.

None

Topic: Synch sound with Animation in AS2

Posted: 09/09/07 06:22 AM

Forum: Flash

Bump


48.

None

Topic: Synch sound with Animation in AS2

Posted: 09/09/07 04:41 AM

Forum: Flash

Is there a way to let the sound play and that an animation synches with the sound, example: You got an bar and if the sound stops the bar is low but if the sound is hard the bar is high!
Like in the audio portal but not with as3!


49.

None

Topic: Need help with duplicate fire AS

Posted: 09/03/07 02:05 AM

Forum: Flash

Bump2


50.

None

Topic: Need help with duplicate fire AS

Posted: 09/02/07 12:10 PM

Forum: Flash

Bump


51.

None

Topic: Need help with duplicate fire AS

Posted: 09/02/07 08:54 AM

Forum: Flash

I wan't to make the cartoon fire, but if the smoke is too big i can't delete it, can someone help me?
Here is the file: http://ninjitsuwarrior.deviantart.com/ar t/Need-help-with-duped-fire-as-63891770
Source:
copy=0;
Copies=100;
Mouse.hide();
onEnterFrame=function(){
boven._x=midden._x;
boven._y=midden._y;
midden._x=onder._x;
midden._y=onder._y;
onder._x=_xmouse;
onder._y=_ymouse;
copy++;
alphadown=200/Copies;
alphadown1=200/Copies;
duplicateMovieClip ("boven","dma"+copy,this.getNextHighestD epth());
duplicateMovieClip ("midden","dmb"+copy,this.getNextHighest Depth()-50);
duplicateMovieClip ("onder","dmc"+copy,this.getNextHighestD epth()-100);
_root["dma"+copy].onEnterFrame = function(){
if(this._xscale>10){
this._x+=Math.sin(Math.random()*90-180);
this._y-=1.5;
this._xscale-=alphadown;
this._yscale-=alphadown;
}else{this.removeMovieClip();
}
}
_root["dmb"+copy].onEnterFrame = function(){
if(this._xscale>10){
this._x+=Math.sin(Math.random()*90-180);
this._y-=1.5;
this._xscale-=alphadown1;
this._yscale-=alphadown1;
}else{this.removeMovieClip();
}
}
_root["dmc"+copy].onEnterFrame = function(){
if(this._y-=0){
this._x+=Math.sin(Math.random()*90-180);
this._y-=1.5;
this._xscale-=alphadown1;
this._yscale-=alphadown1;
}else{
this.removeMovieClip();
}
}
}

I got three mc's: onder, midden, boven.


52.

Shouting

Topic: Easy color photoshop tutorial?

Posted: 09/01/07 08:56 AM

Forum: Art

The pic just shows my current level at coloring with flash :P Not that great :\

Damn, the pic is so simple but yet so perfect!
Love it.


53.

None

Topic: Rotavios- World 4

Posted: 09/01/07 06:56 AM

Forum: Flash

Pretty awesome!


54.

None

Topic: What do I do wrong?

Posted: 09/01/07 06:54 AM

Forum: Flash

At 9/1/07 06:42 AM, mrazerty wrote: OK,so I am making something with a actionscript in the frame:

var speed:Number;
speed = 5;
var increase:Number;
increase = 1.1;

a movieclip with:

onClipEvent(enterFrame){
speed *= gravity;
}

and finally a player movieclip with:

onClipEvent(enterFrame){
this._x += speed;
}

When I test the movie,the player doesn't budge!What do I do wrong?

paste this on the main stage:

speed = 5;
increase = 1.1;

player.onEnterFrame=function(){
speed *= increase;
this._x += speed;
}


55.

None

Topic: Can You Tint A Mc Using As?

Posted: 09/01/07 06:08 AM

Forum: Flash

At 9/1/07 05:37 AM, Paranoia wrote:
At 9/1/07 05:17 AM, manicmonkeydrummer wrote: I have a movieclip with instance name "player". When it hits another movieclip with the instance name "lava". When the player touches (hitTest) the lava I want the player to have a red tint. I tried putting this actionscript on the lava but it doesn't work.

onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player = "FF0000"
}
}
Well, it wouldn't work since all you're doing is trying to change the reference of your player, which is a MovieClip, to a string :P Also, colours are represented by numbers and not strings - it's 0xFF0000 for hex values - no inverted commas.

For tinting you need to use the ColorTransform class. I'm a little rusty on it, but I think it's along the lines of -

import flash.geom.Transform;
import flash.geom.ColorTransform;

var mc_trans:Transform = new Transform(your_mc);

onEvent = function():Void{
trans.colorTransform = new ColorTransform(1, 1, 1, 1, 255, 0, 0, 0);
// parameters indicate red, green, blue, alpha multipliers and red, reen, blue, alpha offsets
}

The code is not right:
import flash.geom.Transform;
import flash.geom.ColorTransform;

var mc_trans:Transform = new Transform(your_mc);

onLoad = function():Void{
mc_trans.colorTransform = new ColorTransform(1, 1, 1, 1, 255, 0, 0, 0);
// parameters indicate red, green, blue, alpha multipliers and red, reen, blue, alpha offsets
}

This is the right code!


56.

None

Topic: my progress, what do you think?

Posted: 08/31/07 06:13 AM

Forum: Flash

In the dark, you should only see the gun and a short distance of the arm!
And don't use that weird red filter.


57.

None

Topic: Emotion Men Collab

Posted: 08/30/07 11:49 AM

Forum: Art

At 8/30/07 11:40 AM, IBx1 wrote: Sorry, fixed.

Dude hitler, was anything but stupid, maybe he was evil but an genious evil!


58.

None

Topic: Walls

Posted: 08/24/07 12:05 PM

Forum: Flash

onClipEvent(enterFrame){
if(this.hitTest(_root.player)){
_root.player._x += 5;
}
}

if(wall.hitTest(_root.player._x,_root.pl ayer._y,true)){
_root.player._x *=-.9;
}


59.

None

Topic: hit test problem

Posted: 08/06/07 04:04 AM

Forum: Flash

At 8/6/07 03:46 AM, poorman1 wrote: set it to where if the hit test is true then score +5 but since the hit test lasts a while it boosts the score crazy high
how would i change

onClipEvent (enterFrame) {
if (this.hitTest(_root.healthy.motion.good)
){
_root.score += 5;
}
}

to where the score will only go up 5 once every hit test

Your doing it all wrong!

onClipEvent (enterFrame) {
if (this.hitTest(_root.healthy.motion.good)
){
_root.score =+ 5;
}
}


60.

None

Topic: Please Read Looking For A Team

Posted: 08/05/07 02:22 PM

Forum: Flash

Ah excellent, well my friend a progress manager would keep our team motivated to work and watch how our progress is going as well as keep me informed on how much progress we've made on a game or movie. I hope I explained it well enough and thank you for reading- Greg

Don't picture spawn!


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

<< < > >>

Viewing 31-60 of 1,085 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 92337