The Daily Click ::. Forums ::. General Chat ::. How do you code?
 

Post Reply  Post Oekaki 
 

Posted By Message

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
14th October, 2007 at 03:35:59 -

I'm interested to know how everyone programs their games.

Do you use global events or behaviors for global objects or Do you make all the events in one frame and then copy/paste those for every frame? Do you even use frames or do you use a custom level editor?

 
-

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
14th October, 2007 at 06:01:42 -

I use behaviors on global objects for minor things like effects, or level specific objects. I only use Global events when I'm bug fixing and then copy them all into each frame once they're sorted. Takes a while but it means I can really make everything oh-so very cutsomised and detailed.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

LIJI

Flava's Smarter Twin

Registered
  29/08/2006
Points
  2032

I like penguins
14th October, 2007 at 06:08:30 -

I name my actives, sometimes I use groups and never use comments. I use behaviors rarely, but I do.
I add Global Events only when I already duplicated my frames and I need to add some events to them.
This proves the fact that I used KNP for a while.

 
Service Unavailable

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
14th October, 2007 at 06:58:31 -

Upon pressing ctrl ---> Gun shoots bullet.
Bullet hits enemy ---> PATHMOVEMENT TO 70. Reverse, destroy.

AI really is not that hard when you're a coding n00b

 
n/a

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6946

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
14th October, 2007 at 07:59:51 -

I have slaves for that.

 
www.hayovanreek.nl

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
14th October, 2007 at 09:58:56 -

I have the other Ectoprods members for that

 
.

Fifth

Quadruped

Registered
  07/05/2003
Points
  5815

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
14th October, 2007 at 12:44:51 -

I always keep everything to one frame. I remember the days of having each level be a separate frame, and it is just such a pain to deal with... so many redundant events everywhere, and if you want to add something, you have to go back through each previous frame... and that's not even touching upon bug fixing.

No, those days are past for me. Everything is in one frame, and is called upon as needed (external level files and whatnot). Additionally, everything is grouped into qualifiers. From acting on gravity to detecting walls to being an enemy or being brought to the front of the screen, qualifiers is the way to go.

Also, I've taken to trying to organize my code into relevant groups. Impossibly messy code is what killed some of my previous projects.

 
Go Moon!
   

Post Reply



 



Advertisement

Worth A Click