Forums

ForumsProgramming Forum

Good Programming Technique 101

Posted Apr 9, '11 at 12:00am

Darkroot

Darkroot

2,879 posts

I want to make Games so bad...But i'm not good in Coding ect.. :S


Practice makes perfect, there is a barrier into everything that's worth investing time into.
 

Posted May 10, '11 at 8:59am

haxxattack

haxxattack

3 posts

And a hefty barrier it can be to those new to programming, but great design 'aint worth a **** without the ability to execute it in a manner fitting your vision.

 

Posted Jul 29, '11 at 7:19pm

ExplosionsHurt

ExplosionsHurt

262 posts

This is only for AS2, right?

 

Posted Aug 1, '11 at 1:19pm

barky02

barky02

1 post

hey man your advice is REALLY good you explain it in really good terms

 

Posted Aug 22, '11 at 3:35pm

Awesomeyi

Awesomeyi

127 posts

Nice work. Your guide helped me a lot.

 

Posted Aug 22, '11 at 5:15pm

Xinito

Xinito

111 posts

This is only for AS2, right?


I think it is for AS3 too.
 

Posted Sep 19, '11 at 8:09pm

ExplosionsHurt

ExplosionsHurt

262 posts

Just wanted to say that coding in the timeline is not recommended in AS3. In AS3, it's better having all your code in class files (*.as).

 

Posted Sep 21, '11 at 7:16am

WhiskeyedJack

WhiskeyedJack

85 posts

I personally like having the separate files, if only so that I know where each bit of code is. One of the main ideas behind OOP (object oriented programming) is that your code works in neat little chunks, independent of the other chunks. Doesn't help if you can't find your code in the first place.

 

Posted Oct 16, '11 at 6:41am

ExplosionsHurt

ExplosionsHurt

262 posts

It is OK to run simple code in the timeline in AS3 though...

stuff like stop(), etc.

 

Posted Oct 17, '11 at 10:30pm

Darkroot

Darkroot

2,879 posts

@ExplosionHurt Yeah you could or even larger functions if you really don't want to make a class out of something so trivial. But by OOP standards you could make it a class too.

 
Reply to Good Programming Technique 101

You must be logged in to post a reply!