Be a Supporter!
Response to: moar help Posted April 23rd, 2008 in Game Development

use parseInt to convert the text into number first before adding

if (_root.math == "add") {
  _root.answer_txt = parseInt( addit1_txt ) + parseInt( addit2_txt );
}
Response to: my offical actionscript help thread Posted April 23rd, 2008 in Game Development

how about you put i=1 outside the function?
and please use the code tag so that we can read codes easily

like this
Response to: I hate oop classes! Posted April 23rd, 2008 in Game Development

dammit now im pissed! then dont use flash if you dont like OOP!
i told you not to make fun of OOP

Response to: AS terms help Posted April 23rd, 2008 in Game Development

At 4/23/08 03:17 AM, iluvAS wrote: on release{
if(ability points= more than 1;){
_root.bk.handling +=1;
_root.bk.AP -=1;
}
}

greater than

if(ability points > 1) {

greater than or equal to

if(ability points >= 1) {
Response to: AS terms help Posted April 23rd, 2008 in Game Development

greater than

>

less than

<
Response to: emailing a variable Posted April 23rd, 2008 in Game Development

yeah, this one must use PHP or any other thing alike

in PHP, you got there:

mail($to,$subject,$message,$headers);

basically you need to first send from flash to php then php to mail
to do that you'll need the loadVars - with the code yourlv.send();

Response to: How could I develop this engine? Posted April 22nd, 2008 in Game Development

hey make something like "worms" game

Response to: I hate oop classes! Posted April 22nd, 2008 in Game Development

Disadvandtages of .as files
-its hard to compile - saving many files, etc
-hard to decipher - going thru different files finding whats goingon

Advandtages of .as Files
-you can make your own classes - leads to....

heres what you needed?
Advantages of having your own classes
-you dont have to repeat coding each class everytime you use them (just create object)
-leads to great extension of flash capabilities
-can customize your own of codes (shorter/faster/easier)
-many more.....

Response to: I hate oop classes! Posted April 22nd, 2008 in Game Development

when I saw your post I really got mad on you and want burst out everything in curses
but i stayed calm and read the next replies, I realized that I got you wrong

you are not angry of OOP, you angry of .as files, is that correct?

On that side, I can't agree with you but I also don't use .as files
but I can see advantages of using them in a flash project

-- but hell don't you ever make fun of OOP! If you do, dont use flash!

just some questions:
1. when did you start using Flash, and your story in quitting and going back
2. Are you programming in other languages?
3. If yes, what are those and since when did you start to use them?

Response to: Pico Day Preloaders! Posted April 22nd, 2008 in NG News

hey, the pre-loader is really big,
about 200kb - its larger than what i am making
is there a way to make it smaller?

Response to: ActionScript for page change button Posted April 17th, 2008 in Game Development

ah ok the italic doesnt work inside the code area,
so here are some exmples:

gotoAndPlay(5);
gotoAndStop(3);
button1.gotoAndStop(2);
button1.gotoAndPlay(7);
Response to: ActionScript for page change button Posted April 17th, 2008 in Game Development

ah what you need is the AS2: Main
as what i have understood in what you said,
you basically need:

gotoAndStop(<em>frameNumber</em>);

this chages the page (frame) in the timeline.
if you want to change frame of the button,

buttonName.gotoAndStop(<em>frameNumber</em>);
Response to: gaming quastion Posted April 17th, 2008 in Game Development

do you mean
when you press left bg goes to right and characters stays at centeR?
and when pressed up, character still at center but bg goes down
is that it?

Response to: New Blog Feature: Video Embedding Posted April 17th, 2008 in NG News

hmmm... i dont think it is either necessary or useful...
i dont have a video to post anyways
and.... its just that...

everything will just get messed up if it goes on like this,
i dont think more personalization of page is needed...
i like newgrounds the way it is now...

What's you game for pico day? Posted April 16th, 2008 in Game Development

hello guyz! just asking the ones who are working themselves out for pico day
im only asking the game makers, i know i cant ask animators (movies)
because they have their funny storylines we dont want to spoil for today
but to game-makers what type of flash are you making? what genre?

Response to: World's Smallest Snake Game Posted April 16th, 2008 in Game Development

from the start i dont really like the idea
but i wont stop you guys if you enjoy it
NG is "everything by everyone" anyways

Response to: the no hand to hand combat collab Posted April 16th, 2008 in Game Development

At 4/16/08 10:59 AM, StickyWicky wrote: I sense this collab failing, or being reaally crap. You got your own first post, and look a bit of a 'noob' yourself. But go ahead with it, I won't/can't stop you. Just saying my sense of doubt.

yeah i think so too...

Response to: AS3 duplicateMovieCli p Posted April 16th, 2008 in Game Development

uhm question here,
cant we just use:

var newMC:MovieClip = oldClipName;
Response to: Noob array question Posted April 16th, 2008 in Game Development

hehe just a correction, my increment was wrong,
i forgot to change his ++

var arrFrames = new Array(2, 5, 14,25,36,47);
var curIndex= 0;

buttonName.onPress=function(){
    gotoAndStop( arrFrames[curIndex] );
    curIndex++;
    if (curIndex >= array.length) curIndex= 0;
}

on the other frame, just copy the onPress

Response to: Noob array question Posted April 16th, 2008 in Game Development

At 4/16/08 10:52 AM, Boke wrote: would the onEnter frame function work in a button? So press button ,timeline goes to frame 2 and stops, press button again and go to frame 5 and stop, press again go to 14 and stop, ect..
?

if you want that? just a little modification with Moonkey's code:

var arrFrames = new Array(2, 5, 14,25,36,47);
var curIndex= 0;

buttonName.onPress=function(){
    gotoAndStop( arrFrames[curIndex] );
    currentElement++;
    if (curIndex >= array.length) curIndex= 0;
}

on the other frames, just copy the "onPress Function"

Response to: About a Flash Mmorpg I'm developing Posted April 16th, 2008 in Game Development

yeah this ones good. i could help with some AS2
but most probably ill be busy since im making a flash for pico day
anyways, good luck on this! ;)

Response to: AS3 duplicateMovieCli p Posted April 16th, 2008 in Game Development

At 4/16/08 10:36 AM, Shadow181 wrote: what do you mean by etc?

some other variables in the movie clip you want to duplicate
coz the contents wont be duplicated with the MC

Response to: World's Smallest Snake Game Posted April 16th, 2008 in Game Development

i dont like the idea, i saw your submission in the portal just now, i blammed it...

Response to: A game I'm working on... Posted March 28th, 2008 in Game Development

Why not post it here?
NG Alphas

If you want to know if people will look forward to it,
just go there and post your flash,
maybe without a working demo but your screenshot will do.

anywayz, I am lookin forward to seeing a new sidescroller game.

Response to: What If ... Posted March 28th, 2008 in Game Development

At 3/28/08 09:46 AM, rishabh005 wrote: HI !!
But it Dose'nt worked ,
Please modify this Thanks
http://www.mediafire.com/?eybzf9tfj7y

so the credit will go to you, not us,
why would we bother?

Response to: Flash autmoatic weapon problem. Posted March 23rd, 2008 in Game Development

oh the guys are afraid of posting codes here hehe
how can we help you if u dont post it?
even as a programmer, i can understand ur pseudocode

theres nothing wrong with posting them here
we wont steal them...

Response to: guys!!! Posted March 23rd, 2008 in Game Development

flash kit?
i cant give u a link rightt now but search it on google

Response to: Should I continue? Posted March 23rd, 2008 in Game Development

At 3/23/08 09:02 AM, Shmossy wrote:
At 3/23/08 08:02 AM, Fion wrote: I don't think you should continue.
Agreed.

yes i agree also, do not continue...

Response to: Please Help me , ! Posted March 23rd, 2008 in Game Development

At 3/23/08 08:16 AM, rishabh005 wrote: What The #### !? ?!!

I asked About AI , Thanks For Shooting Thing I done it !
But What about Spawning and Following Etc . And Yes Gravity !

easy man, you better familiarize urself with the environment here on NG
not everyone here is someone you'll like.. all kind of people are here,
always calm down and ignore negative energies hehe

The link Fion gave you is really helpful you know,
maybe it teaches how YOUR OWN player shoots and moves,
but surely, the enemy will shoot and move like YOUR OWN character

use onEnterFrame function or setInterval
so that each time, the enemy will shoot your player in the direction
as it was taught in the link above....

Response to: Action scripting : Right Click Posted March 23rd, 2008 in Game Development

just like Rohedin said

Stage.showMenu=false;

right click, cmd+click, or whatever just do this...