moonbirds 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 268df73eb3f233fd615d8f5cf299a1fbf53588fc899b847d7c24d863878d5fe8
4
- data.tar.gz: '0983162928f19772dea75e0989d2b2b388b9fabfcdc132df53031ab361d222db'
3
+ metadata.gz: 3c55e9175af00bd9193d58055a64f815bcb79d64a8a3bea999bc6f5128ebe576
4
+ data.tar.gz: 597a2ca5fde7359671273570659067f478dadda5877acd9229e2e283ce19f794
5
5
  SHA512:
6
- metadata.gz: 9b6c94f427063203960f9b5534515b082948ec9c9f54a3ca3a865ebf77b59ab7df6f9cd5bc11879918c7c28441c2de2ccbd264f23b6e6a4a9b00366ab75c9dfb
7
- data.tar.gz: 489de2db5edf43c30859a0537165dcaeeabe2728fa5650e24253e58b533535680898fad4094fdfb9065dacf9d71bb1458839c8a9f6c46b70888576fe20584cdd
6
+ metadata.gz: bb83f6073bc050500873ccdf4a081c677f4cb9b87188aefce5b40d090fc70c3ab7860bec6af366b4f441ce52ec6b965706b877734f5bbcc52c0bbe4a5be7f679
7
+ data.tar.gz: 434926e67aa8205831a1e1b83bfb815ad212dc77a70bd33db6cfbe8b713a649d7815608e170b5d19c5f448c748b535751d860c93f897428b4ca6017b647431d1
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
+ The Do-It-Yourself (DIY) [Factory of Modern Originals (FoMO)](https://github.com/pixelartexchange/originals) Presents
2
+
1
3
  # Moonbirds (Pixel Owls 'n' Friends)
2
4
 
3
- moonbirds - generate your own 42×42 pixel owl images (off chain) from text attributes (via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
5
+ Yes, you can! Generate your own 42×42 pixel owl images (off chain) from text attributes (via built-in spritesheet); incl. 2x/4x/8x zoom for bigger sizes and more
4
6
 
5
7
 
6
8
 
@@ -23,38 +25,38 @@ require 'moonbirds'
23
25
  ########
24
26
  # Moonbird No. 1
25
27
  bird = Moonbird::Image.generate( "Tabby Brown",
26
- "Beak Small Orange",
27
- "Eyes Open White" )
28
+ "Small Orange",
29
+ "Open White" )
28
30
  bird.save( "moonbird1.png" )
29
31
  bird.zoom( 4 ).save( "moonbird1@4x.png" )
30
32
 
31
33
  # let's add 3D Glasses
32
34
  bird = Moonbird::Image.generate( "Tabby Brown",
33
- "Beak Small Orange",
34
- "Eyes Open White",
35
+ "Small Orange",
36
+ "Open White",
35
37
  "3D Glasses" )
36
38
  bird.save( "moonbird1b.png" )
37
39
  bird.zoom( 4 ).save( "moonbird1b@4x.png" )
38
40
 
39
41
  # let's add McDonald's Red (from the Fast Food Series)
40
42
  bird = Moonbird::Image.generate( "Tabby Brown",
41
- "Beak Small Orange",
42
- "Eyes Open White",
43
+ "Small Orange",
44
+ "Open White",
43
45
  "McDonald's Red" )
44
46
  bird.zoom( 4 ).save( "moonbird1c@4x.png" )
45
47
 
46
48
  # let's add Drive-Thru On Duty (from the Fast Food Series)
47
49
  bird = Moonbird::Image.generate( "Tabby Brown",
48
- "Beak Small Orange",
49
- "Eyes Open White",
50
+ "Small Orange",
51
+ "Open White",
50
52
  "McDonald's Red",
51
53
  "Drive-Thru On Duty" )
52
54
  bird.zoom( 4 ).save( "moonbird1d@4x.png" )
53
55
 
54
56
  # let's add McDonald's Shirt - Old Skool (from the Fast Food Series)
55
57
  bird = Moonbird::Image.generate( "Tabby Brown",
56
- "Beak Small Orange",
57
- "Eyes Open White",
58
+ "Small Orange",
59
+ "Open White",
58
60
  "McDonald's Red",
59
61
  "Drive-Thru On Duty",
60
62
  "McDonald's Shirt (Old Skool)" )
@@ -83,14 +85,14 @@ In 4x:
83
85
  ###
84
86
  # Moonbird No. 2
85
87
  bird = Moonbird::Image.generate( "Professor Golden",
86
- "Beak Small Golden",
87
- "Eyes Open Golden" )
88
+ "Small Golden",
89
+ "Open Golden" )
88
90
  bird.zoom( 4 ).save( "moonbird2@4x.png" )
89
91
 
90
92
  # let's add Beanie
91
93
  bird = Moonbird::Image.generate( "Crescent Golden",
92
- "Beak Small Golden",
93
- "Eyes Open Golden",
94
+ "Small Golden",
95
+ "Open Golden",
94
96
  "Beanie" )
95
97
  bird.zoom( 4 ).save( "moonbird2b@4x.png" )
96
98
  ```
@@ -114,7 +116,7 @@ bird = Moonbird::Image.generate( "Brave Glitch" )
114
116
  bird.zoom( 4 ).save( "moonbird3@4x.png" )
115
117
 
116
118
  # let's add a red background
117
- bird = Moonbird::Image.generate( "Brave Glitch", background: 'red' )
119
+ bird = Moonbird::Image.generate( "Brave Glitch" ).background( 'red' )
118
120
  bird.zoom( 4 ).save( "moonbird3b@4x.png" )
119
121
 
120
122
  ```
@@ -173,7 +175,19 @@ And so on.
173
175
 
174
176
 
175
177
 
178
+ ## Appendix - All Built-In Spritesheet Attributes (42x42px)
179
+
180
+ See the [spritesheet.csv](https://github.com/pixelartexchange/pixelart/blob/master/moonbirds/config/spritesheet.csv) dataset for all attribute names (w/ categories).
181
+
182
+ ![](https://github.com/pixelartexchange/pixelart/raw/master/moonbirds/config/spritesheet.png)
183
+
184
+ (Source: [moonbirds/spritesheet.png](https://github.com/pixelartexchange/pixelart/blob/master/moonbirds/config/spritesheet.png))
185
+
186
+
187
+
188
+
176
189
 
177
190
  ## Questions? Comments?
178
191
 
179
- Post them on the [CryptoPunksDev reddit](https://old.reddit.com/r/CryptoPunksDev). Thanks.
192
+ Post them on the [D.I.Y. Punk (Pixel) Art reddit](https://old.reddit.com/r/DIYPunkArt). Thanks.
193
+
data/Rakefile CHANGED
@@ -26,7 +26,9 @@ Hoe.spec 'moonbirds' do
26
26
  self.history_file = 'CHANGELOG.md'
27
27
 
28
28
  self.extra_deps = [
29
- ['pixelart', '>= 1.3.1'],
29
+ ['pixelart', '>= 1.3.2'],
30
+ ['artfactory', '>= 0.2.0'],
31
+ ['backgrounds', '>= 0.2.0'],
30
32
  ]
31
33
 
32
34
  self.licenses = ['Public Domain']
@@ -1,218 +1,326 @@
1
1
  id, name, type, more_names
2
- 0, body brave-brown, ?, brave-brown
3
- 1, body crescent-brown, ?, crescent-brown
4
- 2, body emperor-brown, ?, emperor-brown
5
- 3, body guardian-brown, ?, guardian-brown
6
- 4, body sage-brown, ?, sage-brown
7
- 5, body stark-brown, ?, stark-brown
8
- 6, body tabby-brown, ?, tabby-brown
9
- 7, body tranquil-brown, ?, tranquil-brown
10
- 8, body brave-red, ?, brave-red
11
- 9, body crescent-red, ?, crescent-red
12
- 10, body emperor-red, ?, emperor-red
13
- 11, body guardian-red, ?, guardian-red
14
- 12, body professor-red, ?, professor-red
15
- 13, body sage-red, ?, sage-red
16
- 14, body tabby-red, ?, tabby-red
17
- 15, body tranquil-red, ?, tranquil-red
18
- 16, body emperor-white, ?, emperor-white
19
- 17, body guardian-white, ?, guardian-white
20
- 18, body professor-white, ?, professor-white
21
- 19, body stark-white, ?, stark-white
22
- 20, body tabby-white, ?, tabby-white
23
- 21, body tranquil-white, ?, tranquil-white
24
- 22, body crescent-gray, ?, crescent-gray
25
- 23, body emperor-gray, ?, emperor-gray
26
- 24, body professor-gray, ?, professor-gray
27
- 25, body tabby-gray, ?, tabby-gray
28
- 26, body brave-black, ?, brave-black
29
- 27, body crescent-black, ?, crescent-black
30
- 28, body emperor-black, ?, emperor-black
31
- 29, body stark-black, ?, stark-black
32
- 30, body tranquil-black, ?, tranquil-black
33
- 31, body brave-green, ?, brave-green
34
- 32, body crescent-green, ?, crescent-green
35
- 33, body emperor-green, ?, emperor-green
36
- 34, body guardian-green, ?, guardian-green
37
- 35, body crescent-pink, ?, crescent-pink
38
- 36, body guardian-pink, ?, guardian-pink
39
- 37, body sage-pink, ?, sage-pink
40
- 38, body stark-pink, ?, stark-pink
41
- 39, body tabby-pink, ?, tabby-pink
42
- 40, body tranquil-pink, ?, tranquil-pink
43
- 41, body brave-purple, ?, brave-purple
44
- 42, body sage-purple, ?, sage-purple
45
- 43, body stark-purple, ?, stark-purple
46
- 44, body tabby-purple, ?, tabby-purple
47
- 45, body tranquil-blue, ?, tranquil-blue
48
- 46, body crescent-blue, ?, crescent-blue
49
- 47, body professor-blue, ?, professor-blue
50
- 48, body stark-blue, ?, stark-blue
51
- 49, body crescent-golden, ?, crescent-golden
52
- 50, body emperor-golden, ?, emperor-golden
53
- 51, body professor-golden, ?, professor-golden
54
- 52, body sage-golden, ?, sage-golden
55
- 53, body ruby_skeleton, ?, ruby_skeleton
56
- 54, body skeleton, ?, skeleton
57
- 55, body robot, ?, robot
58
- 56, body brave-jade, ?, brave-jade
59
- 57, body crescent-jade, ?, crescent-jade
60
- 58, body brave-cosmic, ?, brave-cosmic
61
- 59, body crescent-cosmic, ?, crescent-cosmic
62
- 60, body brave-enlightened, ?, brave-enlightened
63
- 61, body crescent-enlightened, ?, crescent-enlightened
64
- 62, body brave-glitch, ?, brave-glitch
65
- 63, body guardian-glitch, ?, guardian-glitch
66
- 64, beak small-gray, ?, small-gray
67
- 65, beak small-orange, ?, small-orange
68
- 66, beak small-ruby, ?, small-ruby
69
- 67, beak small-skeleton, ?, small-skeleton
70
- 68, beak short-skeleton, ?, short-skeleton
71
- 69, beak long-skeleton, ?, long-skeleton
72
- 70, beak small-robot, ?, small-robot
73
- 71, beak short-robot, ?, short-robot
74
- 72, beak long-robot, ?, long-robot
75
- 73, beak small-golden, ?, small-golden
76
- 74, eyes open-blue, ?, open-blue
77
- 75, eyes open-green, ?, open-green
78
- 76, eyes open-purple, ?, open-purple
79
- 77, eyes open-red, ?, open-red
80
- 78, eyes open-white, ?, open-white
81
- 79, eyes adorable-skeleton, ?, adorable-skeleton
82
- 80, eyes angry-skeleton, ?, angry-skeleton
83
- 81, eyes open-skeleton, ?, open-skeleton
84
- 82, eyes relaxed-skeleton, ?, relaxed-skeleton
85
- 83, eyes angry-robot, ?, angry-robot
86
- 84, eyes open-robot, ?, open-robot
87
- 85, eyes angry-golden, ?, angry-golden
88
- 86, eyes open-golden, ?, open-golden
89
- 87, eyes side-eye-golden, ?, side-eye-golden
90
- 88, 3D Glasses, ?,
91
- 89, Black-Rimmed Glasses, ?,
92
- 90, eyepatch, ?,
93
- 91, gazelles, ?,
94
- 92, jobs_glasses, ?,
95
- 93, rose-colored_glasses, ?,
96
- 94, sunglasses, ?,
97
- 95, visor, ?,
98
- 96, aviators, ?,
99
- 97, chill, ?,
100
- 98, green_shades, ?,
101
- 99, neon_shades, ?,
102
- 100, rainbow_shades, ?,
103
- 101, red_shades, ?,
104
- 102, round_glasses, ?,
105
- 103, sunset_shades, ?,
106
- 104, vipers, ?,
107
- 105, Aviator's Cap, ?,
108
- 106, backwards_hat, ?,
109
- 107, bandana, ?,
110
- 108, beanie, ?,
111
- 109, bow, ?,
112
- 110, bucket_hat, ?,
113
- 111, Captain's Cap, ?,
114
- 112, Cowboy Hat 1, ?, Cowboy Hat
115
- 113, durag, ?,
116
- 114, flowers, ?,
117
- 115, forest_ranger, ?,
118
- 116, headband, ?,
119
- 117, headphones, ?,
120
- 118, Hero's Cap, ?,
121
- 119, karate_band, ?,
122
- 120, lincoln, ?,
123
- 121, Mohawk (Green), ?,
124
- 122, Mohawk (Pink), ?,
125
- 123, moon_hat, ?,
126
- 124, Pirate's Hat, ?,
127
- 125, Queen's Crown, ?,
128
- 126, tiara, ?,
129
- 127, Witch's Hat, ?,
130
- 128, Wizard's Hat, ?,
131
- 129, chromie, ?,
132
- 130, crescent_talisman, ?,
133
- 131, dancing_flame, ?,
134
- 132, fire, ?,
135
- 133, diamond, ?,
136
- 134, grail, ?,
137
- 135, gremplin, ?,
138
- 136, halo, ?,
139
- 137, raincloud, ?,
140
- 138, rubber_duck, ?,
141
- 139, skully, ?,
142
- 140, tiny_crown, ?,
143
- 141, Black Red Hat, ?,
144
- 142, Cowboy Hat 2, ?,
145
- 143, crown, ?,
146
- 144, gold, ?,
147
- 145, gray_hat, ?,
148
- 146, blue_bucket, ?,
149
- 147, red_bucket, ?,
150
- 148, White Bucket, ?,
151
- 149, star, ?,
152
- 150, McDonald's 1, ?, McDonald's
153
- 151, McDonald's 2, ?, McDonald's Visor
154
- 152, McDonald's 3, ?, McDonald's Red 1 | McDonald's Red
155
- 153, McDonald's 4, ?, McDonald's Red 2
156
- 154, McDonald's 5, ?, McDonald's Bucket Black
157
- 155, McDonald's 6, ?, McDonald's Black
158
- 156, McDonald's 7, ?, McDonald's White
159
- 157, Burger King 1, ?, Burger King
160
- 158, Burger King 2, ?,
161
- 159, Burger King Crown, ?,
162
- 160, KF1 1, ?, KFC
163
- 161, KFC 2, ?, KFC Family Bucket
164
- 162, Chick-Fil-A, ?,
165
- 163, Denny's, ?,
166
- 164, Domino's 1, ?, Domino's
167
- 165, Domino's 2, ?,
168
- 166, Dunkin' Donuts 1, ?, Dunkin' Donuts
169
- 167, Dunkin' Donuts 2, ?,
170
- 168, Hooters, ?,
171
- 169, In-N-Out 2, ?,
172
- 170, In-N-Out 1, ?, In-N-Out
173
- 171, wendys, ?,
174
- 172, white_castle, ?,
175
- 173, Pizza Hut 1, ?,
176
- 174, Pizza Hut 2, ?,
177
- 175, Subway 2, ?, Subway Visor
178
- 176, Subway 1, ?, Subway
179
- 177, Taco Bell, ?,
180
- 178, Walmart 1 Walmart, ?,
181
- 179, Walmart 2, ?,
182
- 180, Starbucks 1, ?, Starbucks
183
- 181, Starbucks 2, ?,
184
- 182, coffee_boy, ?,
185
- 183, Ben & Jerry's, ?,
186
- 184, chef-red, ?,
187
- 185, chef-white, ?,
188
- 186, grill_cook, ?,
189
- 187, drive-thru-on-duty, ?,
190
- 188, burger, ?,
191
- 189, fries, ?,
192
- 190, chicken, ?,
193
- 191, cola, ?,
194
- 192, popcorn, ?,
195
- 193, ice_cream_cone, ?,
196
- 194, taco, ?,
197
- 195, Hoodie, ?,
198
- 196, Hoodie Down, ?,
199
- 197, Punk Jacket, ?,
200
- 198, Blue Hoodie, ?,
201
- 199, Green Hoodie, ?,
202
- 200, Blue Shirt, ?,
203
- 201, Green Shirt, ?,
204
- 202, Orange Shirt, ?,
205
- 203, Red Shirt, ?,
206
- 204, tee, ?,
207
- 205, blue_scarf, ?,
208
- 206, green_scarf, ?,
209
- 207, red_scarf, ?,
210
- 208, el_pollo_loco_mascot, ?,
211
- 209, McDonald's Shirt, ?,
212
- 210, McDonald's Shirt (Classic), ?,
213
- 211, McDonald's Shirt (Old Skool), ?,
214
- 212, Manager Shirt, ?,
215
- 213, KFC Shirt, ?,
216
- 214, Starbucks Apron 1, ?, Starbucks Apron
217
- 215, Starbucks Apron 2, ?,
218
- 216, hibachi, ?,
2
+ 0, brave black, ?, black brave
3
+ 1, crescent black, ?, black crescent
4
+ 2, emperor black, ?, black emperor
5
+ 3, guardian black, ?, black guardian
6
+ 4, professor black, ?, black professor
7
+ 5, sage black, ?, black sage
8
+ 6, stark black, ?, black stark
9
+ 7, tabby black, ?, black tabby
10
+ 8, tranquil black, ?, black tranquil
11
+ 9, brave blue, ?, blue brave
12
+ 10, crescent blue, ?, blue crescent
13
+ 11, emperor blue, ?, blue emperor
14
+ 12, guardian blue, ?, blue guardian
15
+ 13, professor blue, ?, blue professor
16
+ 14, sage blue, ?, blue sage
17
+ 15, stark blue, ?, blue stark
18
+ 16, tabby blue, ?, blue tabby
19
+ 17, tranquil blue, ?, blue tranquil
20
+ 18, brave brown, ?, brown brave
21
+ 19, crescent brown, ?, brown crescent
22
+ 20, emperor brown, ?, brown emperor
23
+ 21, guardian brown, ?, brown guardian
24
+ 22, professor brown, ?, brown professor
25
+ 23, sage brown, ?, brown sage
26
+ 24, stark brown, ?, brown stark
27
+ 25, tabby brown, ?, brown tabby
28
+ 26, tranquil brown, ?, brown tranquil
29
+ 27, brave gray, ?, gray brave
30
+ 28, crescent gray, ?, gray crescent
31
+ 29, emperor gray, ?, gray emperor
32
+ 30, guardian gray, ?, gray guardian
33
+ 31, professor gray, ?, gray professor
34
+ 32, sage gray, ?, gray sage
35
+ 33, stark gray, ?, gray stark
36
+ 34, tabby gray, ?, gray tabby
37
+ 35, tranquil gray, ?, gray tranquil
38
+ 36, brave green, ?, green brave
39
+ 37, crescent green, ?, green crescent
40
+ 38, emperor green, ?, green emperor
41
+ 39, guardian green, ?, green guardian
42
+ 40, professor green, ?, green professor
43
+ 41, sage green, ?, green sage
44
+ 42, stark green, ?, green stark
45
+ 43, tabby green, ?, green tabby
46
+ 44, tranquil green, ?, green tranquil
47
+ 45, brave pink, ?, pink brave
48
+ 46, crescent pink, ?, pink crescent
49
+ 47, emperor pink, ?, pink emperor
50
+ 48, guardian pink, ?, pink guardian
51
+ 49, professor pink, ?, pink professor
52
+ 50, sage pink, ?, pink sage
53
+ 51, stark pink, ?, pink stark
54
+ 52, tabby pink, ?, pink tabby
55
+ 53, tranquil pink, ?, pink tranquil
56
+ 54, brave purple, ?, purple brave
57
+ 55, crescent purple, ?, purple crescent
58
+ 56, emperor purple, ?, purple emperor
59
+ 57, guardian purple, ?, purple guardian
60
+ 58, professor purple, ?, purple professor
61
+ 59, sage purple, ?, purple sage
62
+ 60, stark purple, ?, purple stark
63
+ 61, tabby purple, ?, purple tabby
64
+ 62, tranquil purple, ?, purple tranquil
65
+ 63, brave red, ?, red brave
66
+ 64, crescent red, ?, red crescent
67
+ 65, emperor red, ?, red emperor
68
+ 66, guardian red, ?, red guardian
69
+ 67, professor red, ?, red professor
70
+ 68, sage red, ?, red sage
71
+ 69, stark red, ?, red stark
72
+ 70, tabby red, ?, red tabby
73
+ 71, tranquil red, ?, red tranquil
74
+ 72, brave white, ?, white brave
75
+ 73, crescent white, ?, white crescent
76
+ 74, emperor white, ?, white emperor
77
+ 75, guardian white, ?, white guardian
78
+ 76, professor white, ?, white professor
79
+ 77, sage white, ?, white sage
80
+ 78, stark white, ?, white stark
81
+ 79, tabby white, ?, white tabby
82
+ 80, tranquil white, ?, white tranquil
83
+ 81, golden crescent, ?, crescent golden
84
+ 82, golden emperor, ?, emperor golden
85
+ 83, golden professor, ?, professor golden
86
+ 84, golden sage, ?, sage golden
87
+ 85, ruby skeleton, ?, skeleton ruby
88
+ 86, skeleton, ?,
89
+ 87, robot, ?,
90
+ 88, jade brave, ?, brave jade
91
+ 89, jade crescent, ?, crescent jade
92
+ 90, cosmic brave, ?, brave cosmic
93
+ 91, cosmic crescent, ?, crescent cosmic
94
+ 92, enlightened brave, ?, brave enlightened
95
+ 93, enlightened crescent, ?, crescent enlightened
96
+ 94, glitch brave, ?, brave glitch
97
+ 95, glitch guardian, ?, guardian glitch
98
+ 96, small gray, ?, gray small
99
+ 97, small orange, ?, orange small
100
+ 98, short gray, ?, gray short
101
+ 99, short orange, ?, orange short
102
+ 100, long gray, ?, gray long
103
+ 101, long orange, ?, orange long
104
+ 102, ruby small, ?, small ruby
105
+ 103, ruby short, ?, short ruby
106
+ 104, ruby long, ?, long ruby
107
+ 105, skeleton small, ?, small skeleton
108
+ 106, skeleton short, ?, short skeleton
109
+ 107, skeleton long, ?, long skeleton
110
+ 108, robot small, ?, small robot
111
+ 109, robot short, ?, short robot
112
+ 110, robot long, ?, long robot
113
+ 111, small golden, ?, golden small
114
+ 112, angry gray, ?, gray angry
115
+ 113, discerning gray, ?, gray discerning
116
+ 114, focused gray, ?, gray focused
117
+ 115, open gray, ?, gray open
118
+ 116, relaxed gray, ?, gray relaxed
119
+ 117, side-eye gray, ?, gray side-eye
120
+ 118, angry blue, ?, blue angry
121
+ 119, discerning blue, ?, blue discerning
122
+ 120, focused blue, ?, blue focused
123
+ 121, open blue, ?, blue open
124
+ 122, relaxed blue, ?, blue relaxed
125
+ 123, side-eye blue, ?, blue side-eye
126
+ 124, angry yellow, ?, yellow angry
127
+ 125, discerning yellow, ?, yellow discerning
128
+ 126, focused yellow, ?, yellow focused
129
+ 127, open yellow, ?, yellow open
130
+ 128, relaxed yellow, ?, yellow relaxed
131
+ 129, side-eye yellow, ?, yellow side-eye
132
+ 130, angry green, ?, green angry
133
+ 131, discerning green, ?, green discerning
134
+ 132, focused green, ?, green focused
135
+ 133, open green, ?, green open
136
+ 134, relaxed green, ?, green relaxed
137
+ 135, side-eye green, ?, green side-eye
138
+ 136, angry purple, ?, purple angry
139
+ 137, discerning purple, ?, purple discerning
140
+ 138, focused purple, ?, purple focused
141
+ 139, open purple, ?, purple open
142
+ 140, relaxed purple, ?, purple relaxed
143
+ 141, side-eye purple, ?, purple side-eye
144
+ 142, angry red, ?, red angry
145
+ 143, discerning red, ?, red discerning
146
+ 144, focused red, ?, red focused
147
+ 145, open red, ?, red open
148
+ 146, relaxed red, ?, red relaxed
149
+ 147, side-eye red, ?, red side-eye
150
+ 148, angry white, ?, white angry
151
+ 149, discerning white, ?, white discerning
152
+ 150, focused white, ?, white focused
153
+ 151, open white, ?, white open
154
+ 152, relaxed white, ?, white relaxed
155
+ 153, side-eye white, ?, white side-eye
156
+ 154, adorable, ?, adorable eyes
157
+ 155, diamonds, ?, diamonds eyes
158
+ 156, fire eyes, ?,
159
+ 157, gold, ?, gold eyes
160
+ 158, hearts, ?, hearts eyes
161
+ 159, moon, ?, moon eyes
162
+ 160, plagued, ?, plagued eyes
163
+ 161, rainbow, ?, rainbow eyes
164
+ 162, ruby angry, ?, angry ruby
165
+ 163, ruby discerning, ?, discerning ruby
166
+ 164, ruby open, ?, open ruby
167
+ 165, ruby relaxed, ?, relaxed ruby
168
+ 166, skeleton angry, ?, angry skeleton
169
+ 167, skeleton discerning, ?, discerning skeleton
170
+ 168, skeleton open, ?, open skeleton
171
+ 169, skeleton relaxed, ?, relaxed skeleton
172
+ 170, robot angry, ?, angry robot
173
+ 171, robot open, ?, open robot
174
+ 172, robot relaxed, ?, relaxed robot
175
+ 173, golden angry, ?, angry golden
176
+ 174, golden open, ?, open golden
177
+ 175, golden side-eye, ?, side-eye golden
178
+ 176, 3d_glasses, ?,
179
+ 177, Aviators, ?, Aviators 1
180
+ 178, big_tech, ?,
181
+ 179, black_rimmed-glasses, ?,
182
+ 180, eyepatch, ?,
183
+ 181, gazelles, ?,
184
+ 182, half_moon_specs, ?,
185
+ 183, jobs_glasses, ?,
186
+ 184, monocle, ?,
187
+ 185, rose-colored_glasses, ?,
188
+ 186, sunglasses, ?,
189
+ 187, visor, ?,
190
+ 188, big_shades, ?,
191
+ 189, classic_shades, ?,
192
+ 190, horned-rim_glasses, ?,
193
+ 191, small_shades, ?,
194
+ 192, Aviators 2, ?,
195
+ 193, chill, ?,
196
+ 194, green_shades, ?,
197
+ 195, neon_shades, ?,
198
+ 196, rainbow_shades, ?,
199
+ 197, red_shades, ?,
200
+ 198, round_glasses, ?,
201
+ 199, sunset_shades, ?,
202
+ 200, vipers, ?,
203
+ 201, Aviator's Cap, ?,
204
+ 202, backwards_hat, ?,
205
+ 203, bandana, ?,
206
+ 204, beanie, ?,
207
+ 205, bow, ?,
208
+ 206, bucket_hat, ?,
209
+ 207, Captain's Cap, ?,
210
+ 208, Cowboy Hat 1, ?, Cowboy Hat
211
+ 209, durag, ?,
212
+ 210, flower, ?,
213
+ 211, forest_ranger, ?,
214
+ 212, headband, ?,
215
+ 213, headphones, ?,
216
+ 214, Hero's Cap, ?,
217
+ 215, karate_band, ?,
218
+ 216, lincoln, ?,
219
+ 217, Mohawk (Green), ?,
220
+ 218, Mohawk (Pink), ?,
221
+ 219, moon_hat, ?,
222
+ 220, Pirate's Hat, ?,
223
+ 221, Queen's Crown, ?,
224
+ 222, tiara, ?,
225
+ 223, space_helmet, ?,
226
+ 224, Witch's Hat, ?,
227
+ 225, Wizard's Hat, ?,
228
+ 226, chromie, ?,
229
+ 227, crescent_talisman, ?,
230
+ 228, dancing_flame, ?,
231
+ 229, fire, ?,
232
+ 230, diamond, ?,
233
+ 231, grail, ?,
234
+ 232, gremplin, ?,
235
+ 233, halo, ?,
236
+ 234, raincloud, ?,
237
+ 235, rubber_duck, ?,
238
+ 236, skully, ?,
239
+ 237, tiny_crown, ?,
240
+ 238, cap, ?,
241
+ 239, og_beanie, ?,
242
+ 240, police_cap, ?,
243
+ 241, top_hat, ?,
244
+ 242, Black Red Hat, ?,
245
+ 243, Cowboy Hat 2, ?,
246
+ 244, crown, ?,
247
+ 245, Gold Hat, ?,
248
+ 246, gray_hat, ?,
249
+ 247, blue_bucket, ?,
250
+ 248, red_bucket, ?,
251
+ 249, White Bucket, ?,
252
+ 250, star, ?,
253
+ 251, McDonald's 1, ?, McDonald's
254
+ 252, McDonald's 2, ?, McDonald's Visor
255
+ 253, McDonald's 3, ?, McDonald's Red 1 | McDonald's Red
256
+ 254, McDonald's 4, ?, McDonald's Red 2
257
+ 255, McDonald's 5, ?, McDonald's Bucket Black
258
+ 256, McDonald's 6, ?, McDonald's Black
259
+ 257, McDonald's 7, ?, McDonald's White
260
+ 258, Burger King 1, ?, Burger King
261
+ 259, Burger King 2, ?,
262
+ 260, Burger King Crown, ?,
263
+ 261, KF1 1, ?, KFC
264
+ 262, KFC 2, ?, KFC Family Bucket
265
+ 263, Chick-Fil-A, ?,
266
+ 264, Denny's, ?,
267
+ 265, Domino's 1, ?, Domino's
268
+ 266, Domino's 2, ?,
269
+ 267, Dunkin' Donuts 1, ?, Dunkin' Donuts
270
+ 268, Dunkin' Donuts 2, ?,
271
+ 269, Hooters, ?,
272
+ 270, In-N-Out 2, ?,
273
+ 271, In-N-Out 1, ?, In-N-Out
274
+ 272, wendys, ?,
275
+ 273, white_castle, ?,
276
+ 274, Pizza Hut 1, ?,
277
+ 275, Pizza Hut 2, ?,
278
+ 276, Subway 2, ?, Subway Visor
279
+ 277, Subway 1, ?, Subway
280
+ 278, Taco Bell, ?,
281
+ 279, Walmart 1 Walmart, ?,
282
+ 280, Walmart 2, ?,
283
+ 281, Starbucks 1, ?, Starbucks
284
+ 282, Starbucks 2, ?,
285
+ 283, coffee_boy, ?,
286
+ 284, Ben & Jerry's, ?,
287
+ 285, chef-red, ?,
288
+ 286, chef-white, ?,
289
+ 287, grill_cook, ?,
290
+ 288, drive-thru-on-duty, ?,
291
+ 289, burger, ?,
292
+ 290, fries, ?,
293
+ 291, chicken, ?,
294
+ 292, cola, ?,
295
+ 293, popcorn, ?,
296
+ 294, ice_cream_cone, ?,
297
+ 295, taco, ?,
298
+ 296, bomber_jacket, ?,
299
+ 297, heros_tunic, ?,
300
+ 298, hoodie, ?,
301
+ 299, hoodie_down, ?,
302
+ 300, jean_jacket, ?,
303
+ 301, punk_jacket, ?,
304
+ 302, diamond_necklace, ?,
305
+ 303, gold_chain, ?,
306
+ 304, choker, ?,
307
+ 305, silver_chain, ?,
308
+ 306, Blue Hoodie, ?,
309
+ 307, Green Hoodie, ?,
310
+ 308, Blue Shirt, ?,
311
+ 309, Green Shirt, ?,
312
+ 310, Orange Shirt, ?,
313
+ 311, Red Shirt, ?,
314
+ 312, tee, ?,
315
+ 313, blue_scarf, ?,
316
+ 314, green_scarf, ?,
317
+ 315, red_scarf, ?,
318
+ 316, el_pollo_loco_mascot, ?,
319
+ 317, McDonald's Shirt, ?,
320
+ 318, McDonald's Shirt (Classic), ?,
321
+ 319, McDonald's Shirt (Old Skool), ?,
322
+ 320, Manager Shirt, ?,
323
+ 321, KFC Shirt, ?,
324
+ 322, Starbucks Apron 1, ?, Starbucks Apron
325
+ 323, Starbucks Apron 2, ?,
326
+ 324, hibachi, ?,
Binary file
@@ -4,7 +4,7 @@ module Moonbirds
4
4
 
5
5
  MAJOR = 1
6
6
  MINOR = 0
7
- PATCH = 0
7
+ PATCH = 1
8
8
  VERSION = [MAJOR,MINOR,PATCH].join('.')
9
9
 
10
10
  def self.version
data/lib/moonbirds.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  ## 3rd party
2
- require 'pixelart/base'
2
+ require 'backgrounds/base'
3
+ require 'artfactory/base'
3
4
 
4
5
 
5
6
 
@@ -7,48 +8,41 @@ require 'pixelart/base'
7
8
  require 'moonbirds/version' # note: let version always go first
8
9
 
9
10
 
10
- ## forward define superclass for image
11
- module Moonbirds
12
- class Image < Pixelart::Image; end
13
- end
14
-
15
-
16
- ###
17
- ## add convenience pre-configurated generatored with build-in spritesheet (see config)
18
11
 
19
12
  module Moonbirds
20
13
 
21
- def self.generator
22
- @generator ||= Pixelart::Generator.new( "#{root}/config/spritesheet.png",
23
- "#{root}/config/spritesheet.csv",
14
+ class Spritesheet ## note: for now class used for "namespace" only
15
+ def self.builtin ### check: use a different name e.g. default,standard,base or such - why? why not?
16
+ @sheet ||= Pixelart::Spritesheet.read( "#{Moonbirds.root}/config/spritesheet.png",
17
+ "#{Moonbirds.root}/config/spritesheet.csv",
24
18
  width: 42,
25
19
  height: 42 )
26
- end
27
-
28
-
29
- class Image
30
- def self.generate( *values, background: nil )
31
- img = Moonbirds.generator.generate( *values, background: background )
32
- ## note: unwrap inner image before passing on to c'tor (requires ChunkyPNG image for now)
33
- new( 42, 42, img.image )
34
- end # method Image.generate
35
- end # class Image
36
-
20
+ end
37
21
 
38
- class Spritesheet
39
- ## note: for now class used for "namespace" only
40
22
  def self.find_by( name: ) ## return archetype/attribute image by name
41
- # note: pass along name as q (query string)
42
- Moonbirds.generator.find( name )
23
+ builtin.find_by( name: name )
43
24
  end
44
25
  end # class Spritesheet
45
26
  ## add convenience (alternate spelling) alias - why? why not?
46
27
  SpriteSheet = Spritesheet
47
28
  Sheet = Spritesheet
48
29
  Sprite = Spritesheet
30
+
31
+
32
+ class Image < Pixelart::Image
33
+ def self.generator
34
+ @generator ||= Artfactory.use( Moonbirds::Sheet.builtin,
35
+ image_class: Image )
36
+ end
37
+
38
+ def self.generate( *names )
39
+ generator.generate( *names )
40
+ end
41
+ end # class Image
49
42
  end # module Moonbirds
50
43
 
51
44
 
45
+
52
46
  ### add some convenience shortcuts
53
47
  MoonBirds = Moonbirds
54
48
  Birds = Moonbirds
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moonbirds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-19 00:00:00.000000000 Z
11
+ date: 2022-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pixelart
@@ -16,14 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.3.1
19
+ version: 1.3.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.3.1
26
+ version: 1.3.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: artfactory
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.2.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 0.2.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: backgrounds
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 0.2.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 0.2.0
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: rdoc
29
57
  requirement: !ruby/object:Gem::Requirement