Be a Supporter!
Response to: How fast is Flash? Posted April 27th, 2008 in Game Development

you mean the compiler?
I have no information about his
but i dont think it reads by line though

coz when it's converted to p-code
theres a new set of commands
which are not converted from actual source code lines

Response to: Omg help! Posted April 26th, 2008 in Game Development

maybe you didn't put a preloader?
if you dont have a preloader, you wont know if its really loading

Response to: which code comes first? Posted April 26th, 2008 in Game Development

for you to better understand me, here is the situation

i have a player MC
he can level up/be promoted
once he gains a level, another MC inside the player MC goes to next frame
and that next frame changes the values in its _parent (player MC)

so what you said - to put the codes in the frame before cannot be done
coz every frame holds the values for each level

got me now guys?

Response to: which code comes first? Posted April 26th, 2008 in Game Development

At 4/26/08 12:33 PM, GustTheASGuy wrote: Your style is such that getting code to actually execute in the correct order requires brains and strategy and you think it's good?

executing in the correct order is not the thing I did
The execution sequence is still in the order I said before
but I solved it differently, too complicated to explain...

Friendliness doesn't mean much if you're stupid. -_-

well that's not nice...

At 4/26/08 12:37 PM, 8Blaze wrote: I am sorry to say but your style is pretty stupid.

you can't say that easily

I HIGHLY suggest you work on one layer. It makes it a lot more simple.

maybe its simple but not extensive,
i dont need simplicity, i need somthing which work greatly

And if there is too much code maybe you should learn OOP.

yes i know OOP for a long time now and that's not the issue
but thanks for the concern bout the code length

I doubt there is anyone (other than you) that uses code on multiple frames.

there are thousands out there which does this like me,
dont you know how to decompile or rip codes out other's flash?
i can see them using different codes in multiple frames,
maybe your the only one doing your style?

And because of that no one knows how to fix your problem and they just try to help you by suggesting you change your style.

good analysis but not accurate. its not really what happened here.

At 4/26/08 12:42 PM, Madminifig wrote: ITS NOT POSSIBLE TO PUT CODE ON THERE BECAUSE THERES ALREADY CODE THERE.
Sound's stupid to me,of course its possible.

is said ITS NOT POSSIBLE coz the ANIMATION IN THAT FRAME goes with the CODE!

Its VERY bad to do it that way,seriously.

it won't be bad if you understand me

You should start using functions its easier to organize and change.

i said functions are too simple and cannot handle my code

OH and i recommend learning some grammar. So people can understand you easier.

I am a FILIPINO, sorry...

At 4/26/08 01:26 PM, Coolio-Niato wrote: Dude, just accept it.

I will if my style is really bad, but its not...
coz many of you doesn't understand me

It's not the best way to code. If you like doing it that way fine, but we are simply saying it's useless to split code like that.

I didn't split the code, the code really must be separate, and I cant put it in another frame

Response to: Contest: Make me an intro! Posted April 26th, 2008 in Game Development

hehe I think i'll join but i'll be late coz im still making a pico day flash
good luck then :)

Response to: need a little help please Posted April 26th, 2008 in Game Development

you dont want you character to hit?
well i dont see the code for the character moving?

hitTest is something like, detecting collision
and when that happens, you restrict the movement of character
and that is where we will put what you want
but i dont see your charcter's movement codes
how can we help you?

Response to: which code comes first? Posted April 26th, 2008 in Game Development

At 4/26/08 06:55 AM, GustTheASGuy wrote: Uh well declare them in a previous frame to executing them then. :p

that's not possible, i have other codes in the previous frames,
it needs to be in that frame coz the code goes with the animation in it

Your style is still bad and you should change it.

now my style STILL IS NOT bad

I have fixed it already (I didn't use functions, just brains and strategy)
anyway, thanks for helping guys


next time I won't ask actionScript questions,
Im not getting friendly responses like the ones I give to others

Response to: which code comes first? Posted April 26th, 2008 in Game Development

At 4/26/08 04:31 AM, GustTheASGuy wrote: Why the hell do you need to ask? Checking that in Flash takes thirty seconds.
Anyway don't organise your code so it's dependant on the layer order like what the fuck.

dont tell me how to program, i know my style

If you must divide it put it in functions and call those in order.

I did - its in functions, but its complicated just to put it like that

GustTheASGuy, im not a noob and this game is not noobish
just for you to tell me to put it in functions and call them (hell i know that)

- maybe a had a little error in the question
coz what I meant is, when is the code ready to be executed

i have something in the 3rd layer which calls a function in the 2nd layer, inside an MC
but using trace functions, I see that the 3rd layer codes are executed
even before the function in the 2nd layer is declared, get me now GustTheASGuy???

which code comes first? Posted April 26th, 2008 in Game Development

damn i having trouble with my code, (this is rare guys)
which code goes first? on the top layer or the middle layer? or what?
in the innermost clips or the root timeline?

Response to: AS1 compatible? Posted April 25th, 2008 in Game Development

missed some spaces in the last one

var g:Array = new Array();
for(i=0; i<100; i++){
        g[i] = this.createEmptyMovieClip("star"+i, i);
	g[i]._x = random(550);
	g[i]._y = random(400);
	with ( g[i] ) {
		lineStyle(3, 0xFFFFFF);
		lineTo(0, 1); 
		_xscale = random(60)+40;
		_yscale = _xscale;
	};
	g[i].onEnterFrame = function() {
		this._y += this._yscale*0.015;
		if (this._y>400) {
		this._y = 0;
		this._x = random(550);
		};
	};
};
Response to: AS1 compatible? Posted April 25th, 2008 in Game Development

will this work for AS1?

var g:Array = new Array();
for(i=0;i<100;i++){
        g[i] = this.createEmptyMovieClip("star"+i, i);
	g[i] ._x = random(550);
	g[i] ._y = random(400);
	with ( g[i] ) {
		lineStyle(3, 0xFFFFFF);
		lineTo(0, 1); 
		_xscale = random(60)+40;
		_yscale = _xscale;
	};
	g[i].onEnterFrame = function() {
		this._y += this._yscale*0.015;
		if (this._y>400) {
		this._y = 0;
		this._x = random(550);
		};
	};
};
Response to: saving Posted April 25th, 2008 in Game Development

how about you put the code of

var savefile = SharedObject.getLocal("Stabika");

on the first frame,
separate from the loading code and saving code.
maybe the object is just created when loading,
but when saving first, it doesn't create the local object

so put the said code in the main timeline
so that it will be created before saving or loading

Response to: how are the montly winners awarded? Posted April 24th, 2008 in Where is / How to?

At 4/24/08 10:27 PM, TheNossinator wrote: If it's only a cash prize, it is usually send via PayPal.

can they send cash prizes together with the items?
coz what if the winner doesn't have paypal account?

Response to: Cursor Posted April 24th, 2008 in Game Development

desktop cursors is in the different world, not on flash
although the mouse animation itself is made in flash,
there is no way flash can control desktop cursors

what you can do is, get a program to create cursors
import the animation you made from flash (convert it to jpg or bmp first)
then make your cursor

Response to: hitTest Help Posted April 24th, 2008 in Game Development

well maybe when you start the game, the player and the wall is already touching?

Response to: saving Posted April 24th, 2008 in Game Development

when you have the flash player running
right click... settings...
then this:

saving

Response to: Problems with user set controls Posted April 24th, 2008 in Game Development

if your event handler for keypress in in the root time line
maybe you forgot to set the conditions right

if ( keypress == playerMovieClip.asciiOfUP ){  }

remember that you will test the keypress with a value inside the movieclip

Response to: hitTest Help Posted April 24th, 2008 in Game Development

try this, put this in the code of the frame, not the movieclip

onEnterFrame=function(){
     if(this.hitTest(_root.wallcrusher)){
		_root.life -= 1;
		xvar = 0;
		yvar = 0;
		_root.noise4.start(0, 1);
		_root.gotoAndStop("l15death");
     }
}
Response to: Please help a beginer Posted April 24th, 2008 in Game Development

At 4/24/08 09:24 PM, atree496 wrote: 1. What are the best to use.

bets to use what?

2. What is a good free/cheap one?

cheap what?

3. What is best for good stick animation (like GhostFight-BOS-Part1)

i don't get the questions

but all i can say is, use either

Macromedia Flash 8 - not free
Adobe Flash CS3 - not free
Flash MX 2004 - not free

i dont get the 3rd question tho

Response to: hitTest Help Posted April 24th, 2008 in Game Development

maybe you didn't put it in the onEnterFrame function?


not only the monthly winners, but also winners of contests
Note: If the winner is outside of the US
how will the winner be awarded?

will the money be shipped together with the other prizes or via paypal?
i have never won before so I want to know,
and I don't wanna ask NG staff coz I don't think I'll be getting an answer right away
thanks :)

Response to: another tiny prob, plz come&help... Posted April 24th, 2008 in Game Development

At 4/24/08 11:50 AM, Buster60 wrote: tyvm I donnow y it didnt work for me...

maybe you forgot the _x and _y?

but now it works ty...
ur too kind XD

thanks!

Response to: Anyone Here Use Swf Protect? Posted April 24th, 2008 in Game Development

well having an encryption program better than nothing

Response to: another tiny prob, plz come&help... Posted April 24th, 2008 in Game Development

put it in ms word, find/replace
but im too kind...

onClipEvent (enterFrame) { 
myRadians = Math.atan2(_root.player._y-this._y, _root.player._x-this._x); 
myDegrees = Math.round((myRadians*180/Math.PI)); 
_root.yChange = Math.round(_root.player._y-this._y); 
_root.xChange = Math.round(_root.player._x-this._x); 
_root.yMove = Math.round(_root.yChange/20); 
_root.xMove = Math.round(_root.xChange/20); 
this._rotation = myDegrees+90; 
} 

player is the instance name of MC

Response to: how Posted April 24th, 2008 in Game Development

Cojones893
You just have to keep practicing. Flash is not a simple program that one can master in a day. It takes years and years to get great at it.

I strongly agree to this

how doe you people learn flash and action script i cant get the hang of it i can tween symbols and stuff
A. Do i need more patience

yes you really need this

B. Am i just retarded

probably not, everyone is like that in the beginning of using flash

C. have i taken the wrong approach to flash

no, you still have to learn more and when you're ok,
you'll make a very good approach in using it.
but right now, keep practicing

Response to: help with score! Posted April 24th, 2008 in Game Development

at the beginning of the game, you'll need a variable like:

score=0;

then every correct answer gives:

score++;

at the end, you'll need a dynamic text to output variable score

i am sorry but why... Posted April 24th, 2008 in Game Development

why did this get frontpage?
A One Level Game
it doesn't have any awards

i am so sorry to be rude but, I am just really wondering why,
any moderator or admin or anybody who can help me understand this?
sorry xKiRiLLx, i am just confused...

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

alright, in return to KaynSlamdyke's statement of his style of programming,
i'll state mine so we can see everyone's involvement to OOP
and eventually we'll see what are the advantages and disadvantages of it

my style of programming is, program as you do / program as you play
what i mean by this is, if you want to program something
do it manually, then program what you did, anyone get me?

i mean, i don't think of solutions to the problem
i dont - "i can use this to do this"
i solve the problem first then that is my solution

i may not be making any sense so some,
but for those who can understand, thanks

Response to: Question Posted April 23rd, 2008 in Game Development

so what's the problem now?
you didn't clearly state the error tho

Response to: Need help with my "battery"(ammo) Posted April 23rd, 2008 in Game Development

At 4/23/08 03:51 AM, ProfessorFlash wrote: Why would we want your .fla? Just post the code that isn't working and lets try to figure out what's wrong with it.

i agree, i mean - we wont be doing anything with the FLA.
you want us to finish it by sending the FLA?
you cant fool us if that's the case
we're happy to help if its just the codes :)