### Welcome to CS1316

Please visit t-square for the updated class website.

## Questions on Extra Credit HW9-Spring07

 Question: how do we increase the Java heap space for the hw9?
• To increase heap space, see pages 171-172 in the book. Mark Guzdial

 Question: how can we make the picture load up?`couldn't load the file C:/cs1316/sprities/Sprites/Sprites/BabyPoohStake_01.gif.`what does that mean?

 Question: how do we convert the gifs to jpeg? i dont have the book and the tas told me that the book is online. can any one tell me what the weblink for that? thank you.
• Front page, course notes and other materials. Mark Guzdial

 Question: "There must be 3 different positions of each type of people – facing left, facing right, moving left, moving right. You must rotate among these positions, perhaps with a probability of 0.3 of changing position with each time step. "That's 3 positions x 3 types x 2 (sick or healthy) = 18 images that you need to have for the living people." (from homework page). My question is, isn't there four positions for each type? So wouldn't it be 4 positions x 3 types x 2 (sick or healthy) = 24 images for the living people and 1 image for the dead people, so wouldn't we have a total of 25 images? Or do we just pick 3 positions? I just wanted to make sure I am understanding the assignment correctly. Thanks!
• From the wording of the homework, only 3 positions are required. You can include more if you would like. There should be at least 19 total, 18 for the living and 1 for the dead. Dawn Finney.

 Question: Can I have the character's arms moving up and down instead of facing left, or right? Just want to make sure...
• Have to check with Guzdial for that one. Dawn Finney.

 Question: Why do we need three types of people since we're making changes for infected, healthy and dead? Are we just suppose to make every agent assign itself a type at the beginning?
• You can randomly assign the different positions if you want. Dawn Finney.

 Question: When I run the simulation I cannot get the frames to load. I get an error that says, "There are no frames to show yet. When you add a frame it will be shown". How do I get my frames to load with the simulation?
• You have actually physically add the frame to the FrameSequence. Dawn Finney.