Skip to content

Carzuiliam/sprite-manipulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sprite Manipulation in Java

This project shows an example of an animated sprite control in Java.

Introduction

This projet is based on the article "Ultimate Java Image Manipulation" by Josiah Hester. But there ar some differences between this implementation and the original implementation:

  • In the original source, the sprite is directly drawn into the JFrame. In this project, the sprite is drawn into a JPanel, that is inside the JFrame;
  • The original sprite doesn't move inside the screen, only changes its animation. In this project, it moves inside the screen, using the keyboard;
  • The current project were divided into a MVC model (model-control-view) allowing easy maintenance.

License

The available source codes here are under the Apache License, version 2.0 (see the attached LICENSE file for more details). Any questions can be submitted to my email: carloswilldecarvalho@outlook.com.

About

A simple way to do a sprite walk on a 2D scenario in Java.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages