Skip to content

SVG masks for Age of Empires II: Definitive Edition unique units

License

Notifications You must be signed in to change notification settings

transparencies/unique-unit-masks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creative Commons Licence

unique-unit-masks

SVG masks for Age of Empires II: Definitive Edition unique units

How it works

We create a div with the unique unit as a background image. Inside this div we inject the corresponding SVG with svg-inject (forked for stability reasons) and give the injected SVG a class of ours. From there on we can style the SVG as it would be inline.

Usage

Check the example folder. You will need a HTTP server to serve the files (e.g. python -m http.server).

Example image for colouring Berbers unique unit

License

The svg masks in ./unique_units_masks are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (or see local copy). If you want to obtain a commercial license you can contact the author using the issues.

Disclaimer

Age of Empires II © Microsoft Corporation.

Assets under ./unique_units_base were created under Microsoft's "Game Content Usage Rules" using assets from Age of Empires II. We are not endorsed by or affiliated with Microsoft.

About

SVG masks for Age of Empires II: Definitive Edition unique units

Resources

License

Stars

Watchers

Forks