Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.
/ xsamples Public archive

XSamples provides a collection of XWindows starter code that works with the XGameLib library.

License

Notifications You must be signed in to change notification settings

xplatformer/xsamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XSamples

Summary

XSamples provides a collection of XWindows starter code that works with the XGameLib library. The XGameLib library powers the XPlatformer project. All the examples make use of the XLib API (XOrg) and focus on code that was developed in the XPlatformer project (or planned to be used). The point of the examples is to demonstrate how to use the XGameLib library.

Getting Started

To make ("compile and link") an example, use the included makefile with the name of cpp file passed as a variable. For example, to make null.cpp:

make NAME="null"

Then, to run:

./null

Or you can even do it one step:

make run NAME="null"

For a full list of the examples, see docs/examples.md.

Acknowledgements

The project icon is retrieved from kenney.nl. The original source material has been altered for the purposes of the project. The icon is used under the terms of the CC0 1.0 Universal.

The project icon uses assets by Kenney from kenney.nl/.

About

XSamples provides a collection of XWindows starter code that works with the XGameLib library.

Topics

Resources

License

Stars

Watchers

Forks