A card-based tower defence game replicating gameplay similar to Supercell's Clash Royale (in simplified form). It is possible to play a short match against a "non-smart" AI that just deals cards non-stop.
Built to demonstrate Addressable Assets, it also showcases well URP and custom toon shaders (made with Shader Graph, the lighting done in a Custom Function node), Cinemachine usage, and Timeline Signals. Built for mobile from the ground-up.
The project has been tested to work with Unity 2020.3 LTS (any patch). More recent versions might require upgrading work.
To try out the project, just open the scene called "Main", and press Play.
You can find the ScriptableObjects used as cards under the folder "GameData". The 2nd level (the Cards) are the ones that have been marked as Addressable assets, and can be changed without rebuilding the whole game.
To learn about Addressable Assets, there's this talk from Bill Ramsour at Unite LA:
You can refer to my this talk at GDC for small tips on the usage of Timeline and Signals:
Also, to create a custom toon shader like the one used here you can refer to this talk at Unite Copenhagen:
Keep in mind though that the shader in this project is simpler than the one used in the talk.
Project created by Ciro Continisio. If you have questions, you can get in touch on Twitter. UI art by Alice Hinton-Jones
The shader can be freely used for commercial purposes, no need for credit (though it would be nice). Assets included are part of a Unity asset pack (see license for details).