Gridworld Graphics

Posted: April 25, 2012 in AP Computer Science A, Education
Tags:

Tired of crabs, lizards, and actor masks?

The procedure to change the icon used in a Gridworld project is as follows:

Create the desired graphic as a 48×48 pixel GIF image.

Save the image in the same folder as the .class file for the bug or critter or actor.

For example, if you create a class called testcritter that extends critter using Eclipse and assuming the default location for the workspace, place the graphic in the bin folder located in …/project/workspace.

On a Windows 7 system the file location for a user named Bob would be:

c:\users\bob\workspace\testcritter\bin

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s