eliasYFGM/allegro-templates
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a collection of templates for projects using the Allegro library, meant for use as "User templates" inside the Code::Blocks IDE. Installation ============ For basic installation on Linux, just git-clone to the folder that is located in ~/.config/.codeblocks/UserTemplates (or ~/.codeblocks/UserTemplates if using an older version). On Windows, the folder is located at %APPDATA%\codeblocks\UserTemplates. Be sure to set the target to "Windows Debug" or "Windows Release" before compiling a project under Windows. Features ======== * Fixed-rate and automatic frame skipping. * Checks return value for each module initialization. * Separate On_Load() and On_Unload() functions for resource loading and freeing respectively. * A default "State_Game.c" already created, as an example. * Toggle full-screen and window mode with F4 key (Allegro 5). * Supports Linux, Windows and DOS as targets, as well as cross-compilation. * DOS target is only for Allegro 4 (needs a DJGPP cross-compiler). Notes ===== The Allegro 5 template does not have auto-scaling. As of 2017-08-14, the "low-res" Allegro 5 template is no longer available. I highly recommend the Allegro 4 template for retro-style games, as it already has auto-scaling and is compatible with DOS.
About
Templates in pure "C" for games using the Allegro library
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published