Be a Supporter!
Response to: The Flash 'Reg' Lounge Posted May 11th, 2011 in Game Development

Anyone here used PureMVC or Robot legs for game development?

Response to: Need little help with Flixel Posted May 9th, 2011 in Game Development

Try extending FlxGroup instead of FlxSprite

Response to: Resolveable Glitches Posted May 4th, 2011 in Game Development

Why don't you just learn to code instead. It's impossible for anyone here to solve these problems for you. Especially not seeing any code, and only hearing you describe symptoms of problems. I hope all your shit gets blammed. i hate you

Response to: The Flash 'Reg' Lounge Posted May 4th, 2011 in Game Development

Since everyone is talking lately about how bad the newgrounds forums are, you should go take a look at the Adobe Forums. I was browsing through the actionscript 3 forums and a lot of the posts are seriously either written by crazy people or total retards.

Heres a beautiful example: "I have 4 boxes in stage and I am able to drag any where in free space but cannot through the boxes, if box1 moving upward and collides to box2 , then box1 cann't be drag in upward direction but it can move(drag) any other of three directions. Please help............"

Response to: Newbie Questions Posted May 2nd, 2011 in Game Development

At 5/2/11 01:09 PM, WarKirby wrote: I'm thinking that this could get rather messy if I have a lot of them, and in general, it doesn't seem to gel well with other code. I'm wondering how, or if, it's possible to make it appear in the actions window,, sort of neatly tucked away. I think that would be best if I have 50 odd scripts in one project

Maybe you might want to place your code on frames for now or instead use another editor. Flash cs is not a good editor for code. I would recommend Flash Develop or FlashBuilder.

Response to: programer needed Posted April 25th, 2011 in Game Development

hey ill be ur programer. im very intrested
now to go to the kitchen and eat some POTATO CHIPS. wish me luck

Response to: Dynamically calling classes Posted April 19th, 2011 in Game Development

Try this

var myClass:Class = getDefinitionByName("enemy"+i) as Class;
var mc = new myClass();
addChild(mc);
Response to: The Flash 'Reg' Lounge Posted April 19th, 2011 in Game Development

At 4/19/11 01:32 PM, GustTheASGuy wrote: Was the post by Bryce serious, or are you like trying to break new ground in idiotic threads by making posts that contain completely no reference to what it turned you wanted?

I asked a question and someone answered it. Why do you care so much?

Response to: When to use cacheAsBitmap Posted April 18th, 2011 in Game Development

From what I understand you can move the x and y position and thats all without hindering the performance. Otherwise it's slower.

Response to: ai movmwnt help :( Posted April 18th, 2011 in Game Development

Oops! Apparently I don't know how to use the BBS. Take out my [code] tags.

Response to: ai movmwnt help :( Posted April 18th, 2011 in Game Development

You're close. Try this.

[code]
onClipEvent (enterFrame) {
speed = 5;
d = 0;
lx = _root.lem._x;
wx = _root.wall._x;

if (lx <= wx) {
d=1;
}

if (d==1) {
this._x+=speed;
} else if (d==0) {
this._x-=speed;
}
}
[/code]

Response to: ai movmwnt help :( Posted April 18th, 2011 in Game Development

You need make a variable to keep track of the direction the lemming is going. So if direction is 0 he moves left. if direction is 1 he moves right. Then if his x <= the wall's x make his direction change.

Response to: Mashing game AS2 Posted April 18th, 2011 in Game Development

There is nothing wrong with starting at as2 or as1. AS3 is the most advanced way to do things as it gives you more power and more closely resembles a "real" programming language rather than a simple scripting language. If you have no prior experience with programming AS3 might seem difficult to jump straight into.

It all just depends on what you are doing, though. Flash is a flexible tool and it can be used in different ways to achieve different things.

Response to: conditionals with << Posted April 18th, 2011 in Game Development

At 4/18/11 02:36 PM, Attila0413 wrote: number = (myVar < 5) ? myVar : 2;

This one?

Thats it! Thanks for the helpful reply! :)

Response to: conditionals with << Posted April 18th, 2011 in Game Development

At 4/18/11 02:18 PM, Attila0413 wrote: if(a > b) {
trace ("a is greater than b");
}

Nah this is not what I mean. I mean using if then conditionals. Somebody here knows what I'm talking about.

Sort of like saying all in one line

number = myVar if myVar is less than 5 otherwise.. 2

instead of
if(myVar < 5) {
number = myVar;
else number=2;

conditionals with << Posted April 18th, 2011 in Game Development

I should really know this. There is some way to check simple conditions using greater and less than signs. I see it in code all the time and I don't know how to do it. How does it work?

Response to: Flash "fake" console Posted April 16th, 2011 in Game Development

An NG user named Torrunt created a neat flash console that might be similar to what you're looking for. Check it out on google code http://code.google.com/p/as3developercon sole/

Response to: Changing frame rate using AS3? Posted April 15th, 2011 in Game Development

It's not possible to change it at runtime using a variable like that. One thing you could do is put each animation into a movieclip and then manually move through the frames using some code. The only downside is that it would mess up your sound.

Response to: BitmapData Practical Purpose Posted April 14th, 2011 in Game Development

For some reason I was under the impression you could change the position. Just not the rotation or scaling or matrix of the display object. Is this incorrect then?

Response to: The Flash 'Reg' Lounge Posted April 11th, 2011 in Game Development

At 4/11/11 11:12 AM, citricsquid wrote: so we all know every flash person here minus about 5 has pirated flash, well guess what, soon you'll be able to rent it and pay monthly: http://www.adobe.com/aboutadobe/pressroo m/pressreleases/201104/041111AdobeCreati veSuite5.5.html

genius idea

Wow that is actually a really great idea, but still too expensive. :)

Response to: The Flash 'Reg' Lounge Posted April 9th, 2011 in Game Development

Hopefully nobody here is kidding themselves into thinking this forum is some kind of exuberance of serious developer discussion. A lot of the threads are from beginners to flash. It used to be a little better. Technical tricks and tutorials were usually at the top of the front page at least.

Response to: NG chicago meet 2011 Posted April 3rd, 2011 in General

I will be there. Looking forward to it!

Response to: The Flash 'Reg' Lounge Posted March 31st, 2011 in Game Development

I still see some good discussion. Obviously the vast majority of people are just trying to get started doing simple stuff. I think it's important to make an effort to help these people, though. You never know. They could eventually sink their teeth in and really make something cool. Also a lot of them are younger kids.

Response to: The Flash 'Reg' Lounge Posted March 29th, 2011 in Game Development

I'm so tired of working on stuff that isn't games and yet I'm so tired of being poor.

Also for luis question: Richard Garriott, Jason Rohrer, Toady, Pixel, Will Wright

Response to: The tutorials on Newgrounds Posted March 28th, 2011 in Game Development

If you want to make games for free with flash on windows get FlashDevelop. The learning curve is a little steeper but if you have nothing better to do then that shouldn't be a problem. :)

If you're a student you can get an education version of flash I think it's quite a bit cheaper.

Response to: Need coder for a bullet hell game! Posted March 28th, 2011 in Game Development

That looks cool

Response to: cs3 open multiple .as files Posted March 26th, 2011 in Game Development

At 3/24/11 05:26 AM, taongkahoy wrote: I'm wondering if there's a way to open multiple .as files automatically whenever I open my .fla file, it's really annoying when I accidentally close all of them and I have to open them one by one. It's a simple question, really, but it's really a bother opening 10+ .as files everytime. Thanks for the answers. D:

Hey Taongkahoy. CS3 isn't built very well to edit actionscript. Personally if I were you I would look into FlashDevelop if you're on a PC or FlashBuilder if you're on a mac.

Response to: The Flash 'Reg' Lounge Posted March 26th, 2011 in Game Development

At 3/26/11 06:28 AM, Innermike wrote: as if you're some guy who used to work for IBM then had a bit of a crisis and became an indie game dev

hahaha

Response to: The Flash 'Reg' Lounge Posted March 24th, 2011 in Game Development

I just gave FDT a try. I didn't spend a ton of time with it because my trial ran out. It's pretty neat. It has some annoying quirks that frustrate me though. The worst one to me is that there is no code suggestion for MXML tags. Also it's very pricey. Infact in order to get refactoring you have to pay an extra 500$ fee. Yeah.. Just for refactoring. Something that comes included natively with FB4.

It does have some cool features. The best of them probably being how it auto imports and can auto create variables for you if you refer to them and they don't exist. It also shows you errors in real-time so you don't have to save every time you want to see how bad you've messed up. One stupid thing that I really liked was that it shows you the color of a hex color (0xFFFFFF) in the code.

I like it though. I might actually use it if it wasn't so expensive. Anyways I just thought I'd post my experience with it up here incase anyone was thinking about giving it a try.

The Flash 'Reg' Lounge

Response to: Troubleshooting depth issues Posted March 6th, 2011 in Game Development

You should take all the child movieclips in the world layer object and put them in their own "depth" layer. What you're trying to achieve is not possible.