PDA

View Full Version : Class vs Timeline


timf999
02-16-2009, 09:50 AM
Hi all

I've been programming AS3 for a few months now and want to move on to making games.

My first game is to be a top down tower defense game. My question is this: should I program my AS in a document class or on the timeline? I would usually use the class, but it would take SO MUCH hassle to try and get the 'things' to move in paths. I could do that much easier with a timeline.

HELP!!! Thanks in advance! :eek:

CyanBlue
02-16-2009, 10:06 AM
Howdy and Welcome... :)

I'd say you use whatever you are most comfortable with... If you are really into programming and OOP, it'd be best to use class based approach though...

Arif-sama
02-16-2009, 03:29 PM
this is my first game
:D

senocular
02-16-2009, 03:40 PM
Even if you use the timeline, any code you put there ultimately becomes a class.
http://www.kirupa.com/forum/showthread.php?p=1914661#post1914661
Whether or not you, yourself, write in classes depends on how organized you want to be (classes = more organized ; )