Carleton University - Canada’s Capital University Carleton University - Canada’s Capital University Sitemap
Contact SCS
Campus Map
Computer Science Search:
Powered by Google
News & Seminars Future Students Current Students SCS Research People Tech Support
Undergraduate Honours Projects

Carleton University - School of Computer Science
Undergraduate Honours Project

Winter 2012
Khav2D: Sprite-Based Game Library for Java

Alex Khavich



ABSTRACT

Khav2D is a library for creating 2-dimensional sprite-based games in Java using LWJGL. LWJGL is an API for using OpenGL technology in Java, and creating 2D games requires only a small subset of its features. Khav2D provides the functionality necessary for creating such games, and a simplified abstraction of LWJGL’s functionality. It offers sprite and background drawing, input handling from keyboard, mouse and gamepad, audio, and game loop control including rough collision detection. This allows a developer to quickly design and implement 2D games using LWJGL, without having to worry about the complexities of the actual LWJGL framework. This report discusses the features offered by Khav2D, and describes how they can be used to create products such as the Khav2D Demo.