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

We found 13 matches.


<< < > >>

Viewing 1-13 of 13 matches.

1.

None

Topic: need help

Posted: 08/29/08 08:47 PM

Forum: Flash

At 8/29/08 07:25 PM, 14hourlunchbreak wrote: Like this?

onClipEvent (load) {
speed = 10;
stop();
}
onClipEvent (enterFrame) {
gotoAndStop(1);
if (Key.isDown(Key.RIGHT)) {
_x += speed;
xdir = 1.0;
ydir = 0.0;
gotoAndPlay(2);
}
else if (Key.isDown(Key.LEFT)) {
_x -= speed;
xdir = -1.0;
ydir = 0.0;
gotoAndPlay(3);
}

Replace 1 with the frame number (inside your movieclip) that has the still pic on it. Replace 2 and 3 with the beginning keyframe that your running sequences are on.

i do what you said, but, when i use this code:

onClipEvent (enterFrame) {
gotoAndStop(1);

it freezes, i mean, mario don't walk, he move to the right, but the movie clip doesn't work, then, i use this code:

onClipEvent(load){
speed = 5;
stop();
}

onClipEvent(enterFrame){

if(Key.isDown(Key.RIGHT)){
this._x += speed;
xdir = 1.0;
ydir = 0.0;
this.gotoAndStop(2);
}
else if(Key.isDown(Key.LEFT)){
this._x -= speed;
xdir = -1.0;
ydir = 0.0;
this.gotoAndStop(4);
}
else {
this.gotoAndStop(1);
}
}

anyway, i can't do mario look to the left side :( , he always look to the right when he is still, but, i don't understand this codes:

xdir = 1.0;
ydir = 0.0;

what do those codes?


2.

None

Topic: need help

Posted: 08/29/08 06:47 PM

Forum: Flash

At 8/29/08 06:26 PM, funkycaveman wrote: dont you use an else statement?

yes, i used one, and it works, but i need another code, i will explain what i want to do with one image:

need help


3.

Expressionless

Topic: need help

Posted: 08/29/08 06:08 PM

Forum: Flash

i'm making a plataform game, but, i need a code of a key up, like this:

if(Key.isDown(Key.RIGHT))}

but i need one for when the player stops pressing the key.

Any help would be nice


4.

None

Topic: i need some help about the WAV file

Posted: 06/13/08 07:00 PM

Forum: Flash

thanks!!!!

that works fine, well, that's all, close this thread ;)


5.

None

Topic: i need some help about the WAV file

Posted: 06/13/08 06:50 PM

Forum: Flash

look, i want to use a wav sound file to use it on my flash, but it have a low sound quality, i use audacity to make that wav file, can anyone help me to find the equal quality of 128 of a mp3 file in a wav file?

Note: sorry for my english :P


6.

Misunderstood

Topic: need help, i'm in trouble

Posted: 05/31/08 12:08 AM

Forum: Flash

well, i done an animation, it sizes 8 MB, but, it stops to run suddendly!!!, and i cannot do it to play, even i put in the action script play, but nothing, please help or a solution T_T


7.

Sleeping

Topic: I need some programming help

Posted: 03/26/08 07:28 PM

Forum: Programming

I want to create a mini game in flash, "race" style in which you can move of left to right and if you hit a stone, the game is over. someone know a good tutorial for this?


8.

None

Topic: optimizer

Posted: 01/05/08 07:28 PM

Forum: Flash

no, it doesn't work, it's 11.7MB now...

help!!!!!


9.

None

Topic: optimizer

Posted: 01/05/08 07:25 PM

Forum: Flash

At 1/5/08 07:21 PM, WindCrazy wrote: go to

file>publish settings>flash>compress movie>ok try that

I'll try, thanks


10.

Sad

Topic: optimizer

Posted: 01/05/08 07:20 PM

Forum: Flash

my flash project is larger than 10MB, i need a optimizer, any help?


11.

None

Topic: I have a problem

Posted: 01/04/08 08:31 PM

Forum: Flash

At 1/3/08 07:34 PM, El-Presidente wrote:
At 1/3/08 07:28 PM, darkusPrince wrote: i can't make a button work, i want a space bar activation button, and i make it, the action script is correct, but it doesn't work, help!!!!
Post the AS, that's probably the problem. Don't say it's correct if you don't know. Also, the title of the topic isn't great. I wasn't sure if you meant the space bar is allowed or the space bar must be clicked to click it...so I did both
1.

on(release){
_root.sp = true;
}
//Main Timeline
_root.onEnterFrame = function () {
if(_root.sp == true){
if(Key.isDown(Key.SPACE)){
//now the Space Bar works
}
}
}

2.

on(release){
if(Key.isDown(Key.SPACE)){
//If space is down and this is clicked;
}
}

thanks but i don't undestand the first one, the other works, but i only want to click the space bar to do the action, not click the button


12.

None

Topic: I have a problem

Posted: 01/04/08 03:47 PM

Forum: Flash

At 1/3/08 07:32 PM, geeez wrote: Post the code, then we would know more
but that should work:

on(keyPress "<Space>") {
actions
}

i used that action script, and before it work, but now it doesn't work, o will try with another codes


13.

Shouting

Topic: I have a problem

Posted: 01/03/08 07:28 PM

Forum: Flash

i can't make a button work, i want a space bar activation button, and i make it, the action script is correct, but it doesn't work, help!!!!


All times are Eastern Daylight Time (GMT -4) | Current Time: 07:49 PM

<< < > >>

Viewing 1-13 of 13 matches.