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

We found 10 matches.


<< < > >>

Viewing 1-10 of 10 matches.

1.

None

Topic: action script

Posted: 03/21/07 03:19 AM

Forum: Programming

this action script lets your char stay on ledges.

but sometimes it just falls thru

here it is

onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = Math.round(_root.circle.yMax)+" "+Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (_root.circle.xMax>xMin && _root.circle.xMin<xMax && _root.circle.yMax<yMin) {
if (_root.circle.yMax-_root.circle.jump*2>yMin) {
_root.circle._y = ymin-_root.circle._height/2;
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax)>Math.round(yMi n)) {
if (hitTest(_root.circle) && _root.circle.xmax<xmin) {
_root.circle._x -= _root.circle.speed;
}
if (hitTest(_root.circle) && _root.circle.xmin>xmax) {
_root.circle._x += _root.circle.speed;
}
if (hitTest(_root.circle) && _root.circle.ymin>ymax && _root.circle.jump>-1) {
_root.circle.jump = -1*(_root.circle.jump);
}
}
if (activated == true && not hitTest(_root.circle) && _root.circle.jump == undefined) {
_root.circle.jump = 0;
activated = false;
}
if (hitTest(_root.circle) && _root.circle.ymax>ymin && _root.circle.jump<>undefined && _root.circle._y<_y) {
_root.circle._y = ymin-_root.circle._height/2;
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (_root.circle.ymax-_root.circle.jump>ymin && _root.circle.xMin<xMax && _root.circle.xMax>xMin && _root.circle.jump<>undefined && _root.circle._y<_y) {
_root.circle._y = ymin-_root.circle._height/2;
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}


2.

None

Topic: Very Bad script >=(

Posted: 03/21/07 03:18 AM

Forum: Flash

At 3/21/07 03:17 AM, KevinHR wrote: Can you make a better one?

Try READING through it and experiment with it..........

nuh i dun wanna wreck it coz im kinda noob


3.

None

Topic: Who wants to be in my flash??

Posted: 03/21/07 02:54 AM

Forum: Flash

At 11/5/06 10:16 PM, blah569 wrote: Now, I know most of you have absolutely no idea who I am. Well, anyway I am making this Newgrounds BBS related flash animation, and I really need people in it. It will involve in n00bs and such spamming, etc. I need people in it, so nobody will be surprised if they see themselves in a animation. So, is anyone interested?? =D

I WUD PIK ME I AM N00B GENUINE!


4.

None

Topic: Very Bad script >=(

Posted: 03/21/07 02:52 AM

Forum: Flash

sometimes if the charachter hits the ledge he falls thru.

dunno why.

here tis'

onClipEvent (load) {
activated = false;
down = false;
}
onClipEvent (enterFrame) {
_root.report.text = Math.round(_root.circle.yMax)+" "+Math.round(yMin);
xmin = getBounds(_root).xMin;
xmax = getBounds(_root).xMax;
ymin = getBounds(_root).yMin;
ymax = getBounds(_root).yMax;
if (_root.circle.xMax>xMin && _root.circle.xMin<xMax && _root.circle.yMax<yMin) {
if (_root.circle.yMax-_root.circle.jump*2>yMin) {
_root.circle._y = ymin-_root.circle._height/2;
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}
if (Math.round(_root.circle.yMax)>Math.round(yMi n)) {
if (hitTest(_root.circle) && _root.circle.xmax<xmin) {
_root.circle._x -= _root.circle.speed;
}
if (hitTest(_root.circle) && _root.circle.xmin>xmax) {
_root.circle._x += _root.circle.speed;
}
if (hitTest(_root.circle) && _root.circle.ymin>ymax && _root.circle.jump>-1) {
_root.circle.jump = -1*(_root.circle.jump);
}
}
if (activated == true && not hitTest(_root.circle) && _root.circle.jump == undefined) {
_root.circle.jump = 0;
activated = false;
}
if (hitTest(_root.circle) && _root.circle.ymax>ymin && _root.circle.jump<>undefined && _root.circle._y<_y) {
_root.circle._y = ymin-_root.circle._height/2;
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
if (_root.circle.ymax-_root.circle.jump>ymin && _root.circle.xMin<xMax && _root.circle.xMax>xMin && _root.circle.jump<>undefined && _root.circle._y<_y) {
_root.circle._y = ymin-_root.circle._height/2;
_root.circle.jump = undefined;
_root.circle.fall = false;
activated = true;
}
}


5.

None

Topic: AS problems

Posted: 03/21/07 02:41 AM

Forum: Flash

ITTT IT TITITIT TITIIT TITIITITIITT WORKKED


6.

None

Topic: AS problems

Posted: 03/21/07 02:31 AM

Forum: Flash

At 3/21/07 01:58 AM, MoniMC wrote: Try this, also u could change it to nextframe or wat ever

onClipEvent (enterFrame) {
if (this.hitTest(_root.circle)) {
_root.gotoAndStop(2);
}
}

sweet i try.

also another bug is if i accidentally move the tools toolbar it will freeze and close and all my work will delete


7.

None

Topic: AS problems

Posted: 03/21/07 01:16 AM

Forum: Flash

At 3/21/07 01:08 AM, madmanfrommarZ wrote: did you replace the frame nuber with an actuall number?

why yes i did... it happened to be easy to notice


8.

Angry

Topic: AS problems

Posted: 03/21/07 01:04 AM

Forum: Flash

omg ur akkkktiiiiooon skrrrrriiiiipt no work.

help me.

putt fuck.

:D:D:D


9.

None

Topic: AS problems

Posted: 03/21/07 01:01 AM

Forum: Flash

and yet ur onli lv2....

SO THEN IM LIKE!

me: omg theres a flash
ebaum:omg *steal*
me: omg suxb2u
ebaum:kakaka
me:putt fuck
ebaum:*head 'splodes*


10.

Thinking

Topic: AS problems

Posted: 03/19/07 05:08 AM

Forum: Flash

well im working i a flash and i need the script so as if the character walks into a pertal, it goes to the next frame. the instance name is circle(i used a tut to make jumps and stuff).

thanks

xXplugboyXx


All times are Eastern Daylight Time (GMT -4) | Current Time: 04:37 PM

<< < > >>

Viewing 1-10 of 10 matches.