Skip to content

Commit

Permalink
[ts][three] Darktint introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
davidetan committed Nov 25, 2024
1 parent 814b5b5 commit 71343df
Show file tree
Hide file tree
Showing 15 changed files with 9,248 additions and 39 deletions.
25 changes: 25 additions & 0 deletions spine-ts/spine-threejs/example/assets/coin-tint.atlas
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
coin-tint.png
size:710,584
filter:Linear,Linear
pma:true
coin-front-logo
bounds:2,284,298,298
offsets:2,2,305,302
coin-front-shine-logo
bounds:2,2,280,280
offsets:1,1,282,282
coin-front-shine-spineboy
bounds:284,2,280,280
offsets:1,1,282,282
coin-front-spineboy
bounds:302,284,298,298
offsets:2,2,305,302
coin-side-round
bounds:566,2,142,280
offsets:1,1,144,282
coin-side-straight
bounds:674,302,15,280
offsets:1,1,17,282
shine
bounds:602,339,70,243
offsets:1,1,72,245
1 change: 1 addition & 0 deletions spine-ts/spine-threejs/example/assets/coin-tint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"skeleton":{"hash":"Nu6zZePIFt4","spine":"4.2.37","x":-152.5,"y":-151,"width":305,"height":302,"images":"./images/","audio":"./audio"},"bones":[{"name":"root"},{"name":"coin-front","parent":"root"},{"name":"clipping","parent":"coin-front"},{"name":"coin-sides","parent":"root"},{"name":"coin-side-round","parent":"coin-sides"},{"name":"coin-side-straight","parent":"coin-sides"},{"name":"shine","parent":"root","x":243.14}],"slots":[{"name":"coin-side","bone":"coin-side-straight","color":"ffdb2fff","attachment":"coin-side-straight"},{"name":"coin-side-round","bone":"coin-side-round","color":"ffdb2fff","dark":"ff0000","attachment":"coin-side-round"},{"name":"coin-front-texture","bone":"coin-front","color":"868686ff","attachment":"coin-front-logo"},{"name":"coin-front-shine","bone":"coin-front","color":"888888ff","dark":"000000","attachment":"coin-front-shine-logo"},{"name":"clipping","bone":"clipping","attachment":"clipping"},{"name":"shine","bone":"shine","color":"ffffff60","attachment":"shine"}],"skins":[{"name":"default","attachments":{"clipping":{"clipping":{"type":"clipping","end":"clipping","vertexCount":39,"vertices":[0.1,140.26,-26.4,138.14,-50.51,131.25,-75.42,119.06,-98.21,101.04,-115.44,82.22,-127.63,62.08,-136.11,39.03,-140.08,19.68,-141.41,-0.19,-140.08,-22.98,-134.78,-45.5,-125.24,-66.44,-113.32,-84.19,-98.21,-101.95,-80.46,-116.52,-61.38,-127.39,-38.92,-134.81,-18.22,-139.27,-0.14,-140.58,24.23,-138.48,45.45,-132.46,67.98,-122.5,86.58,-110.19,102.56,-95.25,115.4,-78.75,125.36,-61.72,134,-42.33,138.46,-22.15,139.24,-0.15,138.46,20.29,133.48,39.94,127.19,58.54,117.5,76.1,104.4,92.86,88.42,108.32,69.03,121.42,50.43,130.85,26.32,137.4],"color":"ce3a3aff"}},"coin-front-shine":{"coin-front-shine-logo":{"width":282,"height":282},"coin-front-shine-spineboy":{"width":282,"height":282}},"coin-front-texture":{"coin-front-logo":{"width":305,"height":302},"coin-front-spineboy":{"width":305,"height":302}},"coin-side":{"coin-side-straight":{"x":0.5,"width":17,"height":282}},"coin-side-round":{"coin-side-round":{"x":-69.43,"width":144,"height":282}},"shine":{"shine":{"y":0.5,"scaleX":1.6004,"scaleY":1.6004,"width":72,"height":245}}}}],"animations":{"animation":{"slots":{"coin-front-shine":{"rgba2":[{"light":"7d7d7dff","dark":"159500"},{"time":0.2667,"light":"000000ff","dark":"b90000"},{"time":0.664,"light":"000000ff","dark":"0018c5"},{"time":1.0333,"light":"7f7f7fff","dark":"00aba2"},{"time":1.3333,"light":"404040ff","dark":"770096"},{"time":1.6,"light":"000000ff","dark":"c7dd00"},{"time":2.0022,"light":"000000ff","dark":"d20082"},{"time":2.4,"light":"7f7f7fff","dark":"000000"},{"time":2.6667,"light":"7d7d7dff","dark":"ffbcbc"}],"attachment":[{"time":0.6667,"name":"coin-front-shine-spineboy"},{"time":2,"name":"coin-front-shine-logo"}]},"coin-front-texture":{"rgba":[{"color":"858585ff"},{"time":0.4,"color":"ffffffff"},{"time":0.6696,"color":"858585ff","curve":[0.725,0.59,0.892,1,0.725,0.59,0.892,1,0.725,0.59,0.892,1,0.725,1,0.892,1]},{"time":0.9667,"color":"ffffffff"},{"time":1.3318,"color":"858585ff","curve":"stepped"},{"time":1.3333,"color":"858585ff"},{"time":1.7333,"color":"ffffffff"},{"time":1.9982,"color":"858585ff","curve":"stepped"},{"time":2.0022,"color":"858585ff"},{"time":2.3,"color":"ffffffff"},{"time":2.6667,"color":"858585ff"}],"attachment":[{"time":0.6667,"name":"coin-front-spineboy"},{"time":2,"name":"coin-front-logo"}]}},"bones":{"coin-front":{"translate":[{},{"time":0.664,"x":8.3,"curve":"stepped"},{"time":0.6696,"x":-8.3,"curve":[0.794,-7.08,1.167,0,0.794,0,1.167,0]},{"time":1.3333},{"time":1.9982,"x":8.3,"curve":"stepped"},{"time":2.0022,"x":-8.3},{"time":2.6667}],"scale":[{"curve":[0.164,1,0.484,0.091,0.164,1,0.484,1]},{"time":0.664,"x":0,"curve":"stepped"},{"time":0.6696,"x":0.003,"curve":[0.786,0.153,1.167,1,0.786,1,1.167,1]},{"time":1.3333,"curve":[1.442,0.992,1.858,0.098,1.442,1,1.858,1]},{"time":1.9982,"x":0.003,"curve":"stepped"},{"time":2.0022,"x":0.003,"curve":[2.123,0.151,2.501,1,2.123,1,2.501,1]},{"time":2.6667}]},"coin-side-round":{"translate":[{},{"time":0.664,"x":-6.75,"curve":"stepped"},{"time":0.6696,"x":7.03,"curve":[0.794,5.99,1.167,0,0.794,0,1.167,0]},{"time":1.3333},{"time":1.9982,"x":-6.75,"curve":"stepped"},{"time":2.0022,"x":7.03},{"time":2.6667}],"scale":[{"curve":[0.085,1,0.207,0.789,0.085,1,0.207,1]},{"time":0.3333,"x":0.555,"curve":[0.449,0.347,0.567,0.122,0.449,1,0.567,1]},{"time":0.664,"x":0.014,"curve":"stepped"},{"time":0.6696,"x":-0.028,"curve":[0.723,-0.126,0.865,-0.367,0.723,1,0.865,1]},{"time":1,"x":-0.609,"curve":[1.053,-0.778,1.29,-0.997,1.053,1,1.29,1]},{"time":1.3318,"x":-1,"curve":"stepped"},{"time":1.3333,"curve":[1.384,0.997,1.439,0.94,1.384,1,1.439,1]},{"time":1.5,"x":0.852,"curve":[1.564,0.748,1.703,0.509,1.564,1,1.703,1]},{"time":1.8,"x":0.315,"curve":[1.873,0.13,1.987,0.015,1.873,1,1.987,1]},{"time":1.9982,"x":0.014,"curve":"stepped"},{"time":2.0022,"x":-0.028,"curve":[2.039,-0.072,2.123,-0.239,2.039,1,2.123,1]},{"time":2.2018,"x":-0.365,"curve":[2.269,-0.513,2.337,-0.635,2.269,1,2.337,1]},{"time":2.4,"x":-0.731,"curve":[2.503,-0.871,2.596,-0.961,2.503,1,2.596,1]},{"time":2.6592,"x":-1,"curve":[2.661,-1,2.665,1,2.661,1,2.665,1]},{"time":2.6667}]},"shine":{"translate":[{"curve":[0.167,0,0.5,-473.39,0.167,0,0.5,0]},{"time":0.6667,"x":-473.39,"curve":[0.833,-473.39,1.167,-33.16,0.833,0,1.167,0]},{"time":1.3333,"x":-33.16,"curve":[1.5,-33.16,1.833,-473.39,1.5,0,1.833,0]},{"time":2,"x":-473.39,"curve":[2.167,-473.39,2.5,0,2.167,0,2.5,0]},{"time":2.6667}]}},"drawOrder":[{"time":0.6667,"offsets":[{"slot":"coin-side","offset":2}]},{"time":0.6696},{"time":1.9982,"offsets":[{"slot":"coin-side","offset":2}]},{"time":2.0022}]}}}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 101 additions & 0 deletions spine-ts/spine-threejs/example/assets/raptor-pma.atlas
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
raptor-pma.png
size: 1024, 512
filter: Linear, Linear
pma: true
scale: 0.5
back-arm
bounds: 829, 88, 46, 25
rotate: 90
back-bracer
bounds: 195, 238, 39, 28
rotate: 90
back-hand
bounds: 724, 140, 36, 34
rotate: 90
back-knee
bounds: 760, 131, 49, 67
rotate: 90
back-thigh
bounds: 225, 238, 39, 24
rotate: 90
eyes-open
bounds: 975, 204, 47, 45
front-arm
bounds: 969, 112, 48, 26
front-bracer
bounds: 724, 97, 41, 29
rotate: 90
front-hand
bounds: 251, 239, 41, 38
front-open-hand
bounds: 856, 76, 43, 44
rotate: 90
front-thigh
bounds: 729, 178, 57, 29
rotate: 90
gun
bounds: 894, 251, 107, 103
gun-nohand
bounds: 764, 241, 105, 102
head
bounds: 756, 345, 136, 149
lower-leg
bounds: 475, 237, 73, 98
rotate: 90
mouth-grind
bounds: 975, 172, 47, 30
mouth-smile
bounds: 975, 140, 47, 30
neck
bounds: 366, 282, 18, 21
raptor-back-arm
bounds: 636, 97, 82, 86
rotate: 90
raptor-body
bounds: 2, 2, 632, 233
raptor-front-arm
bounds: 871, 168, 81, 102
rotate: 90
raptor-front-leg
bounds: 2, 237, 191, 257
raptor-hindleg-back
bounds: 195, 279, 169, 215
raptor-horn
bounds: 431, 312, 182, 80
rotate: 90
raptor-horn-back
bounds: 513, 318, 176, 77
rotate: 90
raptor-jaw
bounds: 894, 356, 126, 138
raptor-jaw-tooth
bounds: 294, 240, 37, 48
rotate: 90
raptor-mouth-inside
bounds: 344, 241, 36, 41
rotate: 90
raptor-saddle-strap-back
bounds: 575, 242, 54, 74
raptor-saddle-strap-front
bounds: 764, 182, 57, 95
rotate: 90
raptor-saddle-w-shadow
bounds: 592, 323, 162, 171
raptor-tail-shadow
bounds: 366, 305, 189, 63
rotate: 90
raptor-tongue
bounds: 387, 239, 86, 64
stirrup-back
bounds: 829, 136, 44, 35
rotate: 90
stirrup-front
bounds: 866, 121, 45, 50
rotate: 90
stirrup-strap
bounds: 918, 120, 49, 46
torso
bounds: 636, 181, 54, 91
rotate: 90
visor
bounds: 631, 237, 131, 84
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
95 changes: 95 additions & 0 deletions spine-ts/spine-threejs/example/assets/spineboy-pma.atlas
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
spineboy-pma.png
size: 1024, 256
filter: Linear, Linear
pma: true
scale: 0.5
crosshair
bounds: 352, 7, 45, 45
eye-indifferent
bounds: 862, 105, 47, 45
eye-surprised
bounds: 505, 79, 47, 45
front-bracer
bounds: 826, 66, 29, 40
front-fist-closed
bounds: 786, 65, 38, 41
front-fist-open
bounds: 710, 51, 43, 44
rotate: 90
front-foot
bounds: 210, 6, 63, 35
front-shin
bounds: 665, 128, 41, 92
rotate: 90
front-thigh
bounds: 2, 2, 23, 56
rotate: 90
front-upper-arm
bounds: 250, 205, 23, 49
goggles
bounds: 665, 171, 131, 83
gun
bounds: 798, 152, 105, 102
head
bounds: 2, 27, 136, 149
hoverboard-board
bounds: 2, 178, 246, 76
hoverboard-thruster
bounds: 722, 96, 30, 32
rotate: 90
hoverglow-small
bounds: 275, 81, 137, 38
mouth-grind
bounds: 614, 97, 47, 30
mouth-oooo
bounds: 612, 65, 47, 30
mouth-smile
bounds: 661, 64, 47, 30
muzzle-glow
bounds: 382, 54, 25, 25
muzzle-ring
bounds: 275, 54, 25, 105
rotate: 90
muzzle01
bounds: 911, 95, 67, 40
rotate: 90
muzzle02
bounds: 792, 108, 68, 42
muzzle03
bounds: 956, 171, 83, 53
rotate: 90
muzzle04
bounds: 275, 7, 75, 45
muzzle05
bounds: 140, 3, 68, 38
neck
bounds: 250, 182, 18, 21
portal-bg
bounds: 140, 43, 133, 133
portal-flare1
bounds: 554, 65, 56, 30
portal-flare2
bounds: 759, 112, 57, 31
rotate: 90
portal-flare3
bounds: 554, 97, 58, 30
portal-shade
bounds: 275, 121, 133, 133
portal-streaks1
bounds: 410, 126, 126, 128
portal-streaks2
bounds: 538, 129, 125, 125
rear-bracer
bounds: 857, 67, 28, 36
rear-foot
bounds: 663, 96, 57, 30
rear-shin
bounds: 414, 86, 38, 89
rotate: 90
rear-thigh
bounds: 756, 63, 28, 47
rear-upper-arm
bounds: 60, 5, 20, 44
rotate: 90
torso
bounds: 905, 164, 49, 90
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 71343df

Please sign in to comment.