Monday, March 22, 2010

Status Report 4

On schedule with the mockups for metaphase and anaphase finished. All seems to be going according to plan.

Pictures:

Sunday, March 7, 2010

Status Report 3 and some more pictures

I'm finally back on schedule after being sick last week, and the mockups for prophase and prometaphase are finished. In addition, some of the skeleton classes are no longer so skeletal; in particular, I have the G1 phase working ahead of schedule, and the main classes for the game are almost entirely fleshed-out. Below is a brief rundown of the classes I have:

MitosisGame: This is the main class for the program. It initializes the CVManager and creates a new Game instance.

Game: The wrapper class for all the different symbols that make up the game. It takes the CVManager in its constructor and proceeds through the different phases by keeping track of the current phase as an int (1 corresponds to G1, 2 to S and so on). It then uses a switch function to add the appropriate symbol.

Frame: The general parent class for all the symbols that make up the game. Each phase has its own Frame implementation. The Frame class takes the CVManager in its constructor, as passed to it by the Game class. Using this parent class allows me to define a variable in the Game class corresponding to the current symbol.

And now, pictures! Keep in mind that most of these are animated, which you can't see in the screenshots. If anyone knows how to embed a Flash animation into a Blogspot page, such information would be most welcome.

Prophase

This is just an informational frame. In the real frame the nucleus enlarges and the chromosomes slowly appear. I may do something interactive with this if I can figure out how.

Not animated at the moment, but it will be in its final incarnation. How I'm thinking of doing this is having the closest centrosome follow the onscreen Hull's x and y coordinates until it reaches an invisible "hit box" around its final position, at which point it snaps into place. This assumes, of course, that there is only one Hull in the area at the time--another possibility is using some sort of motion tween to make the centrosome move toward its final position if there is a Hull over its hit box.

Prometaphase

Also animated--in the real version, the nucleus really does "dissolve" (i.e. its alpha variable decreases).

This shot actually depicts the end result of the frame. The kinetochores start as little dots near the centrosomes and grow out into those things. Again, I'll either have to figure out how to get the CVManager to recognize the same Hull from shot to shot or have the frame react to a Hull in a specified area.

Wednesday, March 3, 2010

Teaser pics!

I've recovered from my illness, and now I have mockups of the G1, S and G2 phases, as well as skeleton classes. I'm not posting the skeleton classes, because they're boring, but here are some screenshots I took of the first three phases (scaled down to fit on the blog).

G1:
S (the interesting bit):
G2:

So there you have it: proof that I have been doing something this whole time. More should be forthcoming.

Monday, March 1, 2010

Status Report 2

Not much has gone on this past week due to me being half-dead.

What I do have, however, is a mock-up of G1.