Today's contact
delved into the framework for our Prototypes: programming in Actionscript
(Flash). The contact talked about the basics of Actionscript 3.0 being an OOP
language (Object-Oriented Programming), which we had begun exploring last week
after finishing our Video Prototype. Personally I had already had some
programming experience in several languages and knew about commenting,
indenting, and print values for debugging in writing and testing code, as was
mentioned in the contact. The specifics of classes however I had a rough idea
about but today's contact gave us examples in the form of a Car class, creating
car objects with different attributes from the class 'blueprint'. Actionscript,
as I had started to figure out last week inherited classes into sub classes,
such as "extends MovieClip", used to display an image when defining
it in one of our classes.
To help us further
understand the class - object hierarchy and how it helps us to manage creation
of objects in Actionscript, we were invited to break down our own prototype
into concepts and then list them as CRC cards
(Class-responsibility-collaboration). Then we could use this knowledge to
actually shape how our Actionscript code might look like when it came to coding
our prototype.
Knowing the nature
of my prototype was quite complicated, it being a mashup of Dots and
Minesweeper, I created my own sort of headings in breaking down the concepts of
my prototype as I crafted them into CRC Cards:






No comments:
Post a Comment