Java – Topic
31
(Importing Images)
TASK
QUESTION
This question is continued from
the previous lesson.
PART 5
Import an image that will be used in your game. It can be a simple background or any other object that you wish. (Do not import a “duck” as we will work with that next topic.)
This part is worth marks. However, if you choose to skip it, it would
not stop your game from working.
Create a small GIF Animation that sees a black circle quickly shrink down in size until it disappears. The animation should not repeat.
Now attach the animation where
the mouse is located to simulate the a bullet flying away from you.
Note:
Mr. Campeau has not done this
himself. There are a few concerns that
might even make this something that you would want to undo for your game. These include:
-
Too slow for the game
-
GIF animation not animating
-
No transparency support
-
GIF animation not restarting
If such problems exist, proof of
effort will be used from marks.