Jason vs Dylan


Jason vs. Dylan is a Java project that creates an animation from instructions off text files. The characters were based off of my ICS 111 (Intro to Programming I) professor and teaching assistant. The graphics were implemented using EZ library provided by my ICS 111 class. From this project, I gained experience using graphics and sounds to create animations in Java.

The cnguyen7_animator class creates an EZImage object or “character” and allows it to read commands from .txt files under the convention of command numbervalue duration and translates them into functions in the EZImage class.

For example, move 200 100 10 which is equivalent to translateTo(200,100) for the duration of 10 milliseconds– which allows a “character” to move to position (200,100) within 10 milliseconds. Once the code runs, every character in the animation reads their .txt script and execute their EZ function calls.

For more information and the code repository, please check out the Github link below!

Source: JasonVSDylan

Top