Be a Supporter!
Response to: [as3] Character Frozen On Keypress Posted April 19th, 2012 in Game Development

At 4/18/12 04:54 PM, the1manwiththeplan wrote: Is there a simple method to fix this problem? How would you solve it if you had to accomplish a similar task.

Add another condition to your current if-clause so it doesn't keep repeating like Cocaine said. Example:

if (heroState == 1  && character.currentFrame != "runningForward")
Response to: 90ish % finished. Test it Posted April 19th, 2012 in Game Development

It's not bad. It's a simple game, just clicking with mouse to move forward so it gets kinda boring after a while. At first I got run over pretty fast, but when you realize that with short clicks you can basically stay on the left side of the screen forever, it becomes very easy. The obstacles were also not clear what is good or bad, hitting brick wall bad, hitting a big cow good(?), hitting something that looks like a landmine good (?), etc. Those are confusing.

But overall, with sounds added, it will be Ok game.

Response to: Looking for some testers ... Posted April 16th, 2012 in Game Development

At 4/16/12 01:11 AM, FlamingCow wrote: Alright, so I've been working on a puzzle platformer game for over 6 months now. While I think the game as a whole is about 75% done, the actual content is only about half way there.

Puzzle platformers are my favorite, I'll be happy to test it.

Response to: addChild help Posted April 14th, 2012 in Game Development

How do you know the old block disappears? To me it looks like you are just stacking them on top of each other and it looks like you just got one on stage.

Response to: As3 Help! Posted April 14th, 2012 in Game Development

1) var is short for variable. It tells that you are now creating a variable.

2) Your code is full of errors. And since you didn't write it, it's not useful to try to fix it for you because you won't understand why it's like that.

Response to: Music not playing Posted April 14th, 2012 in Game Development

At 4/14/12 12:17 PM, SSMFlash wrote: I did google it -.-
This line of code is only working for local machines. It won't play the songs once I upload the video.
soundClip.load(new URLRequest("song.mp3"));

Are you for real? This feels like similar to someone posting the path to their C:/ drive when he wants to show a screenshot to others. You can't be that dumb.

Response to: Dynamic Text is stacking? (AS2) Posted April 11th, 2012 in Game Development

At 4/11/12 10:06 AM, Mattster wrote: var i = int(_root.prog);
i += 3;
_root.prog = i;

That is how you should be able to pull off what you want to accomplish. However, you should take the suggestions everyone else has posted (don't store variables in strings, and move over to AS3)..

There's no int in as2, use Number instead.

Response to: Worst Coding Habit Ever? (as2) Posted April 6th, 2012 in Game Development

At 4/6/12 10:26 AM, PSvils wrote:
At 4/6/12 08:24 AM, Sandremss128 wrote: any public property on a class.
This is one thing I disagree with.

There simply is no point in making setter/getter functions for variables if all the getter does is return it, and the setter simply transfer the passed value to the variable. The setter/getter functions simply become useless work for the program, and bloat in the code.

P.

Agreed with Psevil. Only time you want to use a setter is when you want to set limits to the value, eg. var age can't be set over 120 so someone inserting 9999 for age would not be possible.

Response to: Need a teacher and game making team Posted April 4th, 2012 in Game Development

At 4/4/12 04:30 PM, GuardWill wrote: Ok I have found a site (http://flashpunk.net/2011/05/setting-up-flashdevelop/#1) and I did everything to the files and if will still not show up in the plug in section. Can anyone help me on this?

You don't need a tutorial to install a program. Especially today, because flashdevelop has included the flex sdk into their installation so that tutorial you are reading is really old and redundant. Just download the latest version of flashdevelop and follow the simple installation wizard. If you can't get through that, then you should not only give up on programming but give up on computers and go buy an xbox or something.

Response to: Beta Testers Needed! Posted April 4th, 2012 in Game Development

At 4/4/12 04:30 PM, WarChimp wrote: If you still need some beta testers, just send me a pm or something. I am willing to give you a hand.

Are you willing to give some head too? Share your thoughts and opinions etc...

Response to: Programming Regs Lounge Posted April 3rd, 2012 in Programming

At 4/3/12 05:11 PM, Wolfos wrote: No, because some retard named it "JavaScript" and a lot of idiots confuse the two. JavaScript doesn't need an IDE either because it compiles at runtime. Just need a text editor.

Sure it doesn't "need", but unless you are writing just couple of lines or are a hardcore pro, notepad isn't gonna cut it. You need a proper program like the suggested Aptana.

Response to: Programming Regs Lounge Posted April 3rd, 2012 in Programming

At 4/3/12 01:00 PM, Wolfos wrote:
At 4/3/12 05:03 AM, ProfessorFlash wrote: Well at least one guy understands when I say javascript I mean javascript, lol :). Thanks kiwi, Aptana looks like exactly what I need.
It's because Eclipse is primarily a Java IDE.

You can use Eclipse even to write letters to your mother. It has like a billion plugins. When someone ask about javascript, why you assume he made a massive typo and meant java? That doesn't make a lot of sense.

Response to: Programming Regs Lounge Posted April 3rd, 2012 in Programming

At 4/3/12 04:12 AM, kiwi-kiwi wrote:
At 4/2/12 05:19 PM, ProfessorFlash wrote:
Nope. Why would I be? I'm looking for a good editor that has code completion for javascript. I remember seeing that there is a plugin for that for eclipse, so I'll probably go with that unless someone can recommend something better.
I use Aptana Studio right now, it pretty much has everything I need

Well at least one guy understands when I say javascript I mean javascript, lol :). Thanks kiwi, Aptana looks like exactly what I need.

Response to: Programming Regs Lounge Posted April 2nd, 2012 in Programming

At 4/2/12 04:52 PM, Wolfos wrote:
At 4/2/12 11:37 AM, ProfessorFlash wrote: Hey guys, quick question. Which program do you use to write javascript? I have a project coming up and was thinking what is best for it. Atm I'm considering Eclipse. Any better choices?
Are you confusing Java and JavaScript?

Nope. Why would I be? I'm looking for a good editor that has code completion for javascript. I remember seeing that there is a plugin for that for eclipse, so I'll probably go with that unless someone can recommend something better.

Response to: $1,000 Dev Contest! Posted April 2nd, 2012 in Game Development

What a rip off. You want multiple good games to implement your API / highscores / achievements and you are offering peanuts for the "winners". It's not so cheap to get your branding on a good game. But I guess the idiot is not the one who offers a bad deal but the one who accepts it, so good luck.

Response to: Programming Regs Lounge Posted April 2nd, 2012 in Programming

Hey guys, quick question. Which program do you use to write javascript? I have a project coming up and was thinking what is best for it. Atm I'm considering Eclipse. Any better choices?

Response to: Need a teacher and game making team Posted April 1st, 2012 in Game Development

At 4/1/12 03:46 PM, GuardWill wrote: I am thinking about making a new flash game but I don't know where to start. I have now knowledge about how to make a flash game or even how to get the software. I hope someone on here can here me out if you have any questions feel feel to post or contact me at will.sanc@yahoo.com, my cell 1-813-476-2853, or my profile.

Did you honestly just post your real phone number on a public forum?
....
Anyway, I guess the only question is that how much are you paying for this teacher position?

Response to: Need Some Decent As2 Instruction Posted April 1st, 2012 in Game Development

At 4/1/12 03:19 PM, Robotronic94 wrote: I said I'd like to learn ActionScript 2.0, not 3.0. From what I've seen of 3.0 it's way too advanced, and I don't really see what's so great about it anyway. Can someone give me a reason to learn it besides, it's newer?

There's only one reason why you would want to learn AS2 at this point, and that is if you are an animator who really isn't looking to code anything. You just want to know how to make a play button, credits button, etc. Then it's fine if you pick up some as2 basics and go with that. But if you want to learn flash coding and perhaps code some games, then you pick up AS3. It's not because it's newer, it's because it's current. If you want to play on a nintendo today, you don't go to the store and say gimme nintendo64, now do you? N64 was awesome 10 years ago, but you got to let it go.

Response to: as3: array for mcs on stage? Posted March 31st, 2012 in Game Development

At 3/31/12 03:44 PM, jeremynative wrote: i guess theres no easy way to code for multiple same movie clips that are place on the stage then :(

It is easy but you don't seem to get it so I guess it's hard for you. This thread contains all the info you need to get it working.

Response to: Flash Sponsorships and NG ads Posted March 31st, 2012 in Game Development

What a stupid question. Since you plan on putting it for sponsorship, that means the public won't see the game before you find a sponsor so you won't get any revenue from the ads anyway. Only people who see your ads are the sponsors, and you are lucky if you get 10+ views. And there is a strong possibility the sponsor won't allow you to use your own ads which you already seem to know. Damn man, use your brain.

Response to: AS2 - Assign Key with 2 functions? Posted March 31st, 2012 in Game Development

Why don't you just do what Alwayssim said? Also the correct property seems to be _xscale, not xscale.

Response to: as3: array for mcs on stage? Posted March 30th, 2012 in Game Development

At 3/30/12 01:42 PM, jeremynative wrote:
At 3/30/12 01:11 PM, ProfessorFlash wrote: Use the getChildByName method to get the enemy1, enemy2 etc.
thanks can i ask another question about this

If I add enemies to the stage from the library, how do i reference them in another .as file? like a global one that deals with the relationship to all the other .as files? usually I use addchild and it recognizes that i am referencing the movieclip but now it doesnt if i do it from the library :(

Can I ask you a question, why are you using "as files"? The fact already that you do not refer to them as classes tells me that you do not know what OOP is. To answer your question properly, I would need to explain OOP, and I rather advice you to google some good tutorial about as3 OOP and go from there. Other choice ofc is to dump these "as files" and code on frames. Then you don't run into this kind of problems. Your choice.

Response to: as3: array for mcs on stage? Posted March 30th, 2012 in Game Development

Use the getChildByName method to get the enemy1, enemy2 etc.

Response to: As3: Event Basics Posted March 30th, 2012 in Game Development

At 3/30/12 01:19 AM, iyeru42 wrote:
At 3/29/12 05:35 AM, milchreis wrote: I don't think this is a very good tutorial.
There's also a lack of telling us how to "easily" replace the "root" listener and whatnot that we all loved in AS2, as it was removed, completely in AS3. From what I've seen from the migration documents, the root replacement is over 3 lines long, which in my opinion, is unacceptable.

What you should find unacceptable is your own inability to migrate from bad habits.

Response to: [AS3] Problem pausing game Posted March 29th, 2012 in Game Development

At 3/29/12 02:27 PM, snorte wrote: Hi! I've been working on a game for a while and I'm just about done with it. The problem I'm experiencing is how to make the player able to pause the game. I'm not used to working with a master loop/game loop type of loop in the main class, and thats why I didn't think about that when I started this project. So, I wonder if it's possible to achieve a pause-like state without me having to re-arrange my whole project?

Pausing is just stopping from what is currently happening from happening anymore. You know best how your game works. Can't really help much more.

Response to: As3: Event Basics Posted March 29th, 2012 in Game Development

I agree with Milchreis on some of his points. The part where you talk about the event function not being 'normal' is very confusing. I understand what you are trying to say there, but you say it very badly and it will confuse the beginners (who this tutorial is for).

And on a personal note I don't really care much for the 'buddy tone', example: "Don't worry flash got you covered..." etc.. I like the more formal approach on how to write the tutorial. But this is a personal preference and doesn't necessarily make the tutorial worse.

Response to: As3 Character Generator Help Posted March 24th, 2012 in Game Development

Use groups for the traits and pick only one trait from the group. Set conflicting traits in the same group. You can have several groups, more than you the amount of traits you pick. Like you can have 9 groups, but only pick one trait from 3 groups. This will take some organizing from you, but definitely better idea than what the previous guy suggested with the booleans.

Response to: As3: Advanced Keyboard Detection Posted March 24th, 2012 in Game Development

At 6 hours ago, Diki wrote: Your code is also absolutely littered with cargo cult programming.
This function being a textbook example of it:

private function isKeyDown(keyCode:int):Boolean {
var result:Boolean = false;
if (keys[keyCode]) {
result = true;
}
return result;
// The one line option:
// return keys[keyCode]?true:false;
}

What is 'cargo cult programming' ?

Response to: My Beta Testers Must Be Retarded Posted March 22nd, 2012 in Game Development

At 1 hour ago, Kwing wrote: I offered to pay them 250% of my earnings.

I'm available for beta testing anytime.

Response to: My Beta Testers Must Be Retarded Posted March 21st, 2012 in Game Development

At 50 minutes ago, Kwing wrote: This has happened to me like four times on big projects I've worked on... I'll get three or four people to beta test a game and ask what they think of it, and they'll all tell me that it looks fine (I'm lucky for someone to give me even ONE piece of constructive criticism), but when I publish the game, people will give vague complaints like "the controls aren't good" or "the physics are way off". This is really pissing me off, since I feel like either my beta testers haven't been communicative enough in the past, or maybe they just aren't bothered by anything or don't notice what's going to bother a casual gamer... Or something, I really have no idea.

Does anybody else have serious issues with beta testers?

Three or four people? Well, found your problem. Put it on a public beta test to get a wide variety of feedback. Example: upload on the dumping grounds and create a topic in this forum.