Commit 29e25108 authored by David Revoy's avatar David Revoy

Ease switching to the bird theme via documentation

I wrote the array/asset I used on the demo under. It might save
time to someone later and did cost me only a bit of research and a
copy/paste.
parent f8e79988
...@@ -34,5 +34,18 @@ All PNG files of 'parts' are extracted this way and keep their layer name. ...@@ -34,5 +34,18 @@ All PNG files of 'parts' are extracted this way and keep their layer name.
## Bird theme and TODO ## Bird theme and TODO
I added a new theme with birds on the avatars/bird folder. The [Article of the bird and a demo is here](https://www.davidrevoy.com/article720/bird-avatar-generator)). To use the avatar generator with the bird theme; you'll need to adapt the path and the array to pick the asset, but the bitmaps are ready. I'm open to any MR to make a theme switcher easy to use but I'll can't do it myself because it feels too complex to do with my artistic skill. I added a new theme with birds on the avatars/bird folder. The [Article of the bird and a demo is here](https://www.davidrevoy.com/article720/bird-avatar-generator)). To use the avatar generator with the bird theme; you'll need to adapt the path and the array to pick the asset (as written under): the bitmaps are ready in the 'bird' subfolder. I'm open to any MR to make a theme switcher easy to use but I'll can't do it myself because it feels too complex to do with my artistic skill.
```
// body parts for birds
$parts = array(
'tail' => rand(1,9),
'hoop' => rand(1,10),
'body' => rand(1,9),
'wing' => rand(1,9),
'eyes' => rand(1,9),
'bec' => rand(1,9),
'accessorie' => rand(1,20)
);
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment