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

We found 31 matches.


<< < > >>

Viewing 1-30 of 31 matches. 1 | 2

1.

None

Topic: deleting a looped mc

Posted: 05/09/08 10:23 PM

Forum: Flash

At 5/9/08 10:13 PM, zrb wrote:
if i wanted to delete a coin i would use 'unloadMovie();' but then the loop still runs 5 times. I can't 'coinAmount--;' because what if my coin was made first then it would stop looping the last coin.
Try removeMovieClip or _visible = false where you would have put unloadMovie.

thank you for your help but i might of not made it clear what i needed help on lol. I want to stop the loop, looping through a "deleted" coin.


2.

None

Topic: deleting a looped mc

Posted: 05/09/08 10:08 PM

Forum: Flash

lets just say i had 5 mc's of a coin and each one hadthis code in it:

onClipEvent(load){
_root.coinAmount++;
}

And their was a loop running on the main frame:

for (i=0;i<=coinAmount;i++){
//do stuff
_root['coinAmount'+i].dosomething=1;
//do stuff
}

if i wanted to delete a coin i would use 'unloadMovie();' but then the loop still runs 5 times. I can't 'coinAmount--;' because what if my coin was made first then it would stop looping the last coin.

So how do I delete the coin and take its "part" out of the loop?

help would be much appreciated

cheers


3.

None

Topic: help with depths

Posted: 04/30/08 07:02 AM

Forum: Flash

thank you for your help=)


4.

None

Topic: help with depths

Posted: 04/30/08 03:56 AM

Forum: Flash

hello all and happy pico day

this is going to be hard to explain so let me set the scene.

iam making a platform game and i have lots of levels. I have over 200 coins in all the levels so far(each level is in a different frame). after a few levels the coins aren't where they were spose to be or aren't their at all. i have a feeling its sumfin to do with depths but have no idea how to fix it.

hes my code:

coinAmount=0;

inside each coin:
onClipEvent(load){
_root.coinAmount++;
this._name = "coin"+_root.coinAmount; /
}

in my actions frame:

for(i=0;i<=coinAmount;i++){
if(_root['coin'+i].hitTest(_root.char)){
_root['coin'+i].unloadMovie();
}
}

help would be much appreciated


5.

None

Topic: shapeflag collisoins

Posted: 04/18/08 08:54 PM

Forum: Flash

ok im assuming you get this all the time so ill try to make it quick.
if i have a platform and a char what methods could i use to stop the char falling through the platform when he is falling at a fast rate?

for instance(40 fps):
if (_root.platform.hitTest(char._x,char._y+
50){
//stop him falling code
}

cheers


6.

None

Topic: Platform help

Posted: 04/11/08 10:32 PM

Forum: Flash

do u mean sumthing like

if (!this.hitest(_root.object1)){
//code
}


7.

None

Topic: is my game laggy?

Posted: 04/09/08 09:48 PM

Forum: Flash

thanks every1 for your ideas and help..... lol.

ill be sure to fix the issues : )

cheers


8.

None

Topic: is my game laggy?

Posted: 04/08/08 11:12 PM

Forum: Flash

hmmm yes but f i post my code it will be stolen lol


9.

None

Topic: is my game laggy?

Posted: 04/08/08 10:36 PM

Forum: Flash

lol thanks for the replies

i suck at art work so i havnt really work on it, lol.

just wanted to fix the lag problem b4 i really did anything?
cheers


10.

Questioning

Topic: is my game laggy?

Posted: 04/08/08 10:12 PM

Forum: Flash

hello all

my game is here

anyway i would like to thank the people of that help me in the NG fourms work on my lag problems in my platform game. Im new to as2 and i really appreciate your help.

But i still belive my game is laggy!
anyideas?

oh and lol my collision engine aint perfect, yet.....:P

cheers


11.

None

Topic: does v-cam cause lag?

Posted: 04/07/08 01:49 AM

Forum: Flash

thank you for all your replies! =)


12.

None

Topic: does v-cam cause lag?

Posted: 04/07/08 01:13 AM

Forum: Flash

just a quick question

is the v-cam advisable in games or does it cause lag?

chees


13.

None

Topic: lag questoin

Posted: 04/06/08 11:26 PM

Forum: Flash

thanks!
and doing this to images like background will help reduce lag?


14.

None

Topic: lag questoin

Posted: 04/06/08 10:54 PM

Forum: Flash

so im on the hunt to make my platform game code more efficient (less laggy).

my question is, well most of my main code is 'char' related so i write most of the code inside my main char's mc. Is this less efficient then the main code being written inside a frame?

and also, how do i reduce lag in my graphics? e.g. transparent pngs, how do i do that?

cheers


15.

None

Topic: most efficient code for a coin

Posted: 04/06/08 09:10 AM

Forum: Flash

wow, i really nether even thought of that.
nice code

thanks a lot!


16.

None

Topic: most efficient code for a coin

Posted: 04/06/08 08:56 AM

Forum: Flash

ohh and heres what i have so far...

onClipEvent(enterFrame){
if (this.hitTest(_root.char)){
_root.score+=2;
unloadMovie (this);
}
}

pretty much plan=)


17.

None

Topic: most efficient code for a coin

Posted: 04/06/08 08:51 AM

Forum: Flash

ok, so iam trying to reduce lag in my platform game...

so i was wondering what the most efficient code for a coin would be in a platform game writtin in actoin script 2.

p.s. preferably not OOP.

cheers


18.

None

Topic: reducing lag methods?

Posted: 04/06/08 04:47 AM

Forum: Flash

thank you for all you replies, and sorry or my noobyness but bitchweed how do u convert movie clips to transparent png's?


19.

None

Topic: reducing lag methods?

Posted: 04/05/08 11:58 PM

Forum: Flash

this is harder then i thought...... : (


20.

None

Topic: reducing lag methods?

Posted: 04/05/08 10:59 PM

Forum: Flash

so fps and resolution have no effect on lag?


21.

None

Topic: reducing lag methods?

Posted: 04/05/08 08:44 PM

Forum: Flash

thanks guys for your replies but i would also like to know if my game resolution (800 x 600) or fps (60) would have anything to do with it?

p.s. i still think its graphic related....

cheers


22.

None

Topic: reducing lag methods?

Posted: 04/05/08 08:21 AM

Forum: Flash

thank you for your repliy ill be sure to try them out : )


23.

None

Topic: reducing lag methods?

Posted: 04/05/08 08:06 AM

Forum: Flash

how do i reduce the lag in my cs3 platform game?
I belive it is mostly graphic related , but how do u 'tune' down my graphics?

cheers


24.

None

Topic: publishing settings?

Posted: 04/04/08 03:17 AM

Forum: Flash

thank you for your reply and advice.


25.

None

Topic: publishing settings?

Posted: 04/04/08 02:46 AM

Forum: Flash

ok

Iam currently working on a game and i wanted to know what are the publishing settings needed to post a game?

e.g. frames per seconds, resolution, cpu usage....

oh and i realize my cpu runs at about 50% when i play my game but when i remove my background in the game it runs much smoother at around 16%. Is this ok or those cs3 have somthing buit in to lower the cpu usage?

cheers


26.

None

Topic: stage boundary area

Posted: 04/03/08 05:31 AM

Forum: Flash

thank you all for the quick response and ill try the teleport thing...

cs3 should made it easier....


27.

None

Topic: stage boundary area

Posted: 04/03/08 05:13 AM

Forum: Flash

ok please bare with me as his will be very hard to explain.

iam working on a platform game but the levels iam making dont fit into, well the stage boundary's. ok lets say my document is 800 x 600 and iam using a v-cam. and the level iam making is very long(x axis). after a while of drawing my level and scrolling right the 'stage boundary's'(the gray part) stops scrolling and i can no longer scroll or make the level bigger.

i was wondering if i could change this so i can make a longer level or if there were any techniques on getting around this.

cheers


28.

None

Topic: free platform engine?

Posted: 03/13/08 05:36 AM

Forum: Flash

thank you so much for your replies and yer mechanixnut

i thought about it i prob wouldnt put mi code on a fourm etheir...
any way thank you ill take a look at the tutorial now!


29.

None

Topic: free platform engine?

Posted: 03/13/08 04:57 AM

Forum: Flash

hello all

those anyone have a good open source platform game engine i could take a peak at?
I would just like to take a look at the fla and see how the pro's do it

cheers


30.

None

Topic: collision

Posted: 03/12/08 03:37 AM

Forum: Flash

Thank you for your reply

my code looks something like this:

speed=7;

function Update_keys(){
if (Key.isDown(Key.RIGHT)) {
this._x+=speed;
}
if (Key.isDown(Key.LEFT)) {
this._x-=speed;
}
if (Key.isDown(Key.UP)&&ativate_jump==0 ) {
ativate_jump=1;
}
}


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

<< < > >>

Viewing 1-30 of 31 matches. 1 | 2