XGameLib is a simple video game library used in the development of a classic side-scrolling arcade game, using the XLib API. The point of the game is to control a character through a terrain to meet an objective. The project makes use of the XLib API (XOrg) and focus on code that was developed to accomplish tasks for the assignment task.
|A uniform sheet of sprites that can be drawn individually.
|Contains standard logging functionality and stored notifications.
|Represents the state of keystrokes recorded by a keyboard input device.
|Represents the state of a mouse input device, including mouse cursor position and buttons pressed.
|Displayable is the base class for an object that can be updated/drawn to the screen.
To make (“compile and link”) an example, use the included makefile with the name of cpp file passed as a variable.
Or you can even do it without specifying:
The project icon uses assets by Kenney from kenney.nl/.