Skip to content

Provides additional, pre-defined colours for the OLC Pixel Game Engine by javidx9

Notifications You must be signed in to change notification settings

matt-hayward/olcPGEX_AdditionalColours

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

olcPGEX_AdditionalColours

This lightweight extension to the olcPixelGameEngine by Javidx9 provides additional pre-defined colours.

This is intended to be a community-driven project, so please feel free to create pull requests to define more colours. See CONTIBUTING.md for more information.

Usage

The header file should be included after the the Pixel Game Engine header. Once you have included the header file, you can access the colours and functions via the olc::Colours namespace.

For example:

// Use one of the color constants
Clear(olc::Colours::ORANGE);

// Create a color using the hsv color space, this one makes a nice orange color
auto hsvColor = olc::Colours::FromHsv(40, 1, 1);

About

Provides additional, pre-defined colours for the OLC Pixel Game Engine by javidx9

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages