Be a Supporter!
Response to: SwapDepths is annoying me... Posted April 1st, 2007 in Game Development

Doesn't swapDepths swap the depth of two movieclips ?

That should allow you to change it however you like, it doesn't have to stay that way until the end of the movie....

but... I think what you are experiencing is the difference between levels and layers in flash. something placed on a "Level" will always overlay anything that is on a layer in your .fla.

Is that the problem you are experiencing ?


Did the main menu buttons just turn black for everyone else ?

redesign ? or is it a joke ?

Response to: Is it worth it? Posted April 1st, 2007 in Game Development

it kind of looks like a stingray, where's the crocodile hunter ?

Response to: Maximum and minimum _x coordinates? Posted April 1st, 2007 in Game Development

The concept is that when the _x property is less than the left boundary of the screen, you should just set it's value to that boundary -- therefore it will never go beyond that boundary.

Think about how you would code that, given what you know.

In psuedo code :

if (_x < min_x)
{
_x = min_x
}

Response to: ppl not usin preloaders annoy me Posted April 1st, 2007 in Game Development

Even if people make a preloader for someone, they still have to use it and have some kind of knowledge how to use it.

We all assume that if they know how to make a flash movie, they should understand how to use a preloader. Even though it's quite simple, I think they think it's much more complicated than it is... and therefore don't even try.

Maybe they could dock some exp points if you don't use one. They'll get some "experience" in making a preloader if they start doing that.

Response to: Flash Posted April 1st, 2007 in Game Development

For future reference, the submit content button is in the top right of the screen, below the login area, above the main menu.

Response to: what the Posted April 1st, 2007 in Game Development

What were they ? I blammed a few, not sure if they were yours. Refresh my memory and I'll tell you why.

Response to: Creating an instance of an object Posted March 31st, 2007 in Game Development

At 3/31/07 11:17 PM, twisterghost wrote: Hey all. I've been trying to figure out how to simply make an instance of a movie clip or button in AS. I've seen the createObject thing, but I don't understand the arguments, and I don't even know if thats the right function. Do I need to use a linkage name for them in there?

If someone could give me the syntax or just a small example that would be nice. I'm preparing for whatever I may need for a game I'm planning. Already have the basic engine for it down, but its hardly usable because I need to be able to make things appear, do their actions, and destroy.

Thanks for your help!

_root.attachMovie(SymbolName,InstanceName,Lev el)

With this method, you do need to right click on the movieclip in your Library and choose "Export for ActionScript" and use that name for your SymbolName in the above code.

InstanceName is what you want the instance to be called.

Level is basically the depth. Most people use the next highest level. Level determines the ordering of your movieclips.

Response to: up good, down baddddd Posted March 31st, 2007 in Game Development


Since the box's location is dependent on the location of the platform, you'd always want to update it first in a given frame.

Meaning the platform should be updated first... then the box.

(sorry for the double post, just wanted to make that clear)

Response to: up good, down baddddd Posted March 31st, 2007 in Game Development

Maybe I am missing something here(highly possible as I really didn't read the code), but it would seem that the ordering would seem to be pretty key in this situation.

You'd want the platform to be processed first, and then the box.

Update Platform
Update Box

Otherwise... the box wouldn't catch up with the platform till the next frame -- which seems to be what I am seeing visually.

Frame 1
Update Box
Update Platform -- platform is now at it's new ypos that is further down the screen--- box is still where it was after it was updated -- slightly higher.

Frame 2
Update Box -- now box is updated and will be aligned correctly.
UpdatePlatform --- if the platform is still moving downward, we have the same problem again this frame.

If I'm missing something, just disregard all this. But based on the visuals, this appears to be about the ordering of what you are updating each frame.

Since the box's location is dependent on the location of the platform, you'd always want to update it first in a given frame.

Response to: swf problem Posted March 31st, 2007 in Game Development

I think trunks is right.

Just go to adobe website and upgrade the plugin for your browser, and then everything should be fine.

Response to: swf problem Posted March 31st, 2007 in Game Development

Really hard to determine what's going on without looking at it.

Response to: NG Member Killed in accident. Posted March 31st, 2007 in General

If it's true they should put a RIP tombstone on the frontpage that links to his flash work.

At least until April Fools Day.

Response to: Scene names Posted March 31st, 2007 in Game Development

Yeah, good to know. You can also change the ordering of your scenes in that window. I wish it was somehow accessible from the icon on the top that lets you select scenes from a dropdown.

Response to: Hey.. I'm new here... well.. sortof Posted March 31st, 2007 in Game Development

animation was nice, but some music and a plot of some sort to tie it together and it'd probably do much better.

Response to: 3D Models Posted March 31st, 2007 in Game Development

Keep in mind that you can also render frames and then import the images into flash. It's not real 3D, but you can do a pretty convincing job with some work.

It's a bit costly in terms of filesize and management if you have alot of animation, but it doable.

Response to: Testing IP adress Posted March 31st, 2007 in Game Development

I have an inkling that the next question might very well be "What's PHP exactly?"

Depending on your host, you might even have to use ASP.

Response to: Action Script Help Posted March 31st, 2007 in Game Development

Great thread on hitTests, thanks for that one.

I only wish you could do a shapeflag hitTest against another MC, and not just a point.

Response to: Sounds Posted March 31st, 2007 in Game Development

What is the problem you are having getting them into your flash movie ?

It's likely that the sounds are not the issue, and you'll have the same problem wherever you get your sounds from.

At 3/31/07 06:39 PM, Biogenisis wrote: Is there a place where I can get sounds for my pcoming war movie? I do not like flashkit.com's sounds because I cant get them into my movie. So I need FREE sounds that actually work. I have Flash 8 Pro.
Response to: As help Posted March 31st, 2007 in Game Development

So do you want to hittest every movieclip against all movieclips on the screen ?

If you have say 20 objects against each other, you can do that with a for loop. Pretty similar to what you are doing. I just don't understand why you are doing two hitTests in each iteration of the inner loop. What is the reasoning behind that ?

Response to: test this flash game Posted March 31st, 2007 in Game Development

Fun Game

Extremely minor thing I noticed - on your level over prompt, the text is "selectable" so you get that little edit text mouse cursor. Extremely minor and I'm sure you already know that.

Response to: evolution? Posted March 31st, 2007 in Politics

Are you implying that the Newgrounds Message Boards might not be the most effective way to learn about evolution ?

At 3/31/07 02:42 PM, Sigma-Lambda wrote:
At 3/31/07 09:03 AM, Micky9-TheForceBoy wrote: Ive got a question.
they say we evolved from apes, right?
we've got the apes. we've got the humans. Where are the in between????
I hope that this isn't an attack against evolution, because I don't understand how you could possibly think that tens of thousands of scientists studying and examining evolution over the past 100+ years could have possibly just "forgotten about that part." Do some reading on evolution, you'll find the answer.
Response to: 122 Times. Wow. Posted March 31st, 2007 in Politics

I'd be very surprised if that's true. Do they trust their leaders in Europe ?

At 3/31/07 11:05 AM, Elfer wrote:
At 3/31/07 10:34 AM, MaxManning wrote: Who trusts politicians anymore anyways ?
You'd be surprised, nearly everyone trusts half of politicians these days.

In the US, anyway.
Response to: Don't invade Iran! Posted March 31st, 2007 in Politics

There is an Iranian who lives in the apartment above me, and when he cooks it smells like shit. Maybe it's from his homeland.

Response to: What do you think of Barach Obama? Posted March 31st, 2007 in Politics

Are you saying you hate all americans ? or just our presidents ?

Response to: 122 Times. Wow. Posted March 31st, 2007 in Politics

Who trusts politicians anymore anyways ?

Response to: How To Get Exp! Posted March 31st, 2007 in Where is / How to?

Just vote on some flash games/movies. If you fixate on exp points, you are gonna be disappointed quick.

Response to: Some Interesting Facts Posted March 31st, 2007 in Politics

I think making stronger crack might help the situation. It should cut down lifespan of people not really contributing to society.

It's probably hard to think about the responsibility that come along with having babies when you are smoking a crack pipe. If the crack is more potent, they might not even be able to think about sex.

Response to: do you know this gif animator?? Posted March 31st, 2007 in Where is / How to?

Fireworks or Flash, but I'm sure a google search would yield many other solutions.

Response to: Quick, easy gamerscore. Posted March 31st, 2007 in Where is / How to?

I'd say you should get back to your "life", no one seems to be interested in it here.