solanapolis 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +518 -0
- package/bin/solanapolis.js +197 -0
- package/convex/_generated/api.d.ts +175 -0
- package/convex/_generated/api.js +23 -0
- package/convex/_generated/dataModel.d.ts +60 -0
- package/convex/_generated/server.d.ts +143 -0
- package/convex/_generated/server.js +93 -0
- package/convex/agent/conversation.ts +352 -0
- package/convex/agent/embeddingsCache.ts +110 -0
- package/convex/agent/memory.ts +450 -0
- package/convex/agent/schema.ts +53 -0
- package/convex/aiChat.ts +54 -0
- package/convex/aiTown/agent.ts +382 -0
- package/convex/aiTown/agentDescription.ts +27 -0
- package/convex/aiTown/agentInputs.ts +155 -0
- package/convex/aiTown/agentOperations.ts +178 -0
- package/convex/aiTown/conversation.ts +395 -0
- package/convex/aiTown/conversationMembership.ts +38 -0
- package/convex/aiTown/game.ts +371 -0
- package/convex/aiTown/ids.ts +32 -0
- package/convex/aiTown/inputHandler.ts +9 -0
- package/convex/aiTown/inputs.ts +25 -0
- package/convex/aiTown/insertInput.ts +20 -0
- package/convex/aiTown/location.ts +32 -0
- package/convex/aiTown/main.ts +154 -0
- package/convex/aiTown/movement.ts +189 -0
- package/convex/aiTown/player.ts +310 -0
- package/convex/aiTown/playerDescription.ts +35 -0
- package/convex/aiTown/schema.ts +79 -0
- package/convex/aiTown/world.ts +65 -0
- package/convex/aiTown/worldMap.ts +74 -0
- package/convex/chat.ts +79 -0
- package/convex/constants.ts +78 -0
- package/convex/convex.config.ts +6 -0
- package/convex/crons.ts +89 -0
- package/convex/engine/abstractGame.ts +199 -0
- package/convex/engine/historicalObject.ts +355 -0
- package/convex/engine/schema.ts +56 -0
- package/convex/http.ts +36 -0
- package/convex/init.ts +110 -0
- package/convex/messages.ts +53 -0
- package/convex/npcCarAgents.ts +415 -0
- package/convex/schema.ts +61 -0
- package/convex/streaming.ts +23 -0
- package/convex/testing.ts +202 -0
- package/convex/tsconfig.json +18 -0
- package/convex/util/FastIntegerCompression.ts +221 -0
- package/convex/util/assertNever.ts +4 -0
- package/convex/util/asyncMap.ts +20 -0
- package/convex/util/compression.ts +71 -0
- package/convex/util/geometry.ts +132 -0
- package/convex/util/isSimpleObject.ts +11 -0
- package/convex/util/llm.ts +724 -0
- package/convex/util/minheap.ts +38 -0
- package/convex/util/object.ts +22 -0
- package/convex/util/sleep.ts +3 -0
- package/convex/util/types.ts +33 -0
- package/convex/util/xxhash.ts +228 -0
- package/convex/world.ts +257 -0
- package/data/animations/campfire.json +45 -0
- package/data/animations/gentlesparkle.json +37 -0
- package/data/animations/gentlesplash.json +61 -0
- package/data/animations/gentlewaterfall.json +61 -0
- package/data/animations/windmill.json +78 -0
- package/data/characters.ts +121 -0
- package/data/convertMap.js +74 -0
- package/data/gentle.js +330 -0
- package/data/spritesheets/f1.ts +75 -0
- package/data/spritesheets/f2.ts +75 -0
- package/data/spritesheets/f3.ts +75 -0
- package/data/spritesheets/f4.ts +75 -0
- package/data/spritesheets/f5.ts +75 -0
- package/data/spritesheets/f6.ts +75 -0
- package/data/spritesheets/f7.ts +75 -0
- package/data/spritesheets/f8.ts +75 -0
- package/data/spritesheets/p1.ts +59 -0
- package/data/spritesheets/p2.ts +59 -0
- package/data/spritesheets/p3.ts +59 -0
- package/data/spritesheets/player.ts +59 -0
- package/data/spritesheets/types.ts +26 -0
- package/eslint.config.mjs +37 -0
- package/next.config.ts +7 -0
- package/package.json +85 -0
- package/postcss.config.mjs +7 -0
- package/public/file.svg +1 -0
- package/public/globe.svg +1 -0
- package/public/helius-icon.svg +84 -0
- package/public/helius-logo.svg +85 -0
- package/public/next.svg +1 -0
- package/public/plane.glb +0 -0
- package/public/vercel.svg +1 -0
- package/public/window.svg +1 -0
- package/scripts/clear-city.ts +74 -0
- package/scripts/seed-wallets.ts +185 -0
- package/scripts/setup-webhook.ts +73 -0
- package/src/app/api/auth/callback/route.ts +6 -0
- package/src/app/api/auth/link-wallet/route.ts +6 -0
- package/src/app/api/auth/phantom/route.ts +6 -0
- package/src/app/api/broadcast-position/route.ts +59 -0
- package/src/app/api/leaderboard/route.ts +85 -0
- package/src/app/api/network-stats/route.ts +86 -0
- package/src/app/api/parcel-reward/route.ts +181 -0
- package/src/app/api/queue-status/route.ts +30 -0
- package/src/app/api/snapshots/route.ts +37 -0
- package/src/app/api/transactions/enhanced/route.ts +57 -0
- package/src/app/api/treasury/route.ts +83 -0
- package/src/app/api/wallet/[address]/balances/route.ts +124 -0
- package/src/app/api/wallet/[address]/identity/route.ts +32 -0
- package/src/app/api/wallet/[address]/route.ts +216 -0
- package/src/app/api/wallet/[address]/traded-tokens/route.ts +41 -0
- package/src/app/api/wallets/route.ts +68 -0
- package/src/app/api/webhooks/helius/route.ts +76 -0
- package/src/app/auth/callback/page.tsx +29 -0
- package/src/app/favicon.ico +0 -0
- package/src/app/globals.css +39 -0
- package/src/app/layout.tsx +43 -0
- package/src/app/page.tsx +16 -0
- package/src/components/AITownNPCs.tsx +206 -0
- package/src/components/ActivityFeed.tsx +189 -0
- package/src/components/AuthPanel.tsx +163 -0
- package/src/components/BeachScene.tsx +280 -0
- package/src/components/Building.tsx +138 -0
- package/src/components/CesiumFlight.tsx +1768 -0
- package/src/components/CesiumGlobe.tsx +616 -0
- package/src/components/CitizenCard.tsx +442 -0
- package/src/components/CitizenCardModal.tsx +153 -0
- package/src/components/CityGrid.tsx +313 -0
- package/src/components/CityLandmarks.tsx +427 -0
- package/src/components/CityScene.tsx +1289 -0
- package/src/components/CitySlotsBadge.tsx +68 -0
- package/src/components/CockpitHUD.tsx +460 -0
- package/src/components/ConvexWrapper.tsx +19 -0
- package/src/components/DubaiDistrict.tsx +630 -0
- package/src/components/FlightMiniMap.tsx +133 -0
- package/src/components/GameChat.tsx +383 -0
- package/src/components/GameHUD.tsx +393 -0
- package/src/components/Ground.tsx +14 -0
- package/src/components/HowItWorksModal.tsx +251 -0
- package/src/components/IngestionBanner.tsx +123 -0
- package/src/components/InstancedBuildings.tsx +316 -0
- package/src/components/InstancedCars.tsx +504 -0
- package/src/components/InstancedCityPlanes.tsx +259 -0
- package/src/components/InstancedHouses.tsx +246 -0
- package/src/components/InstancedLampPosts.tsx +201 -0
- package/src/components/InstancedResidentCars.tsx +357 -0
- package/src/components/InstancedRoadDashes.tsx +42 -0
- package/src/components/InstancedSkyscrapers.tsx +434 -0
- package/src/components/InstancedTrees.tsx +67 -0
- package/src/components/LeaderboardPanel.tsx +136 -0
- package/src/components/MultiplayerPlanes.tsx +128 -0
- package/src/components/NetworkStats.tsx +83 -0
- package/src/components/NewBuildingSpotlight.tsx +93 -0
- package/src/components/ParcelChallengeBanner.tsx +242 -0
- package/src/components/ParcelReward.tsx +191 -0
- package/src/components/Park.tsx +42 -0
- package/src/components/PhantomWrapper.tsx +22 -0
- package/src/components/PixelStreamViewer.tsx +335 -0
- package/src/components/PlaneMode.tsx +190 -0
- package/src/components/PlayerCar.tsx +211 -0
- package/src/components/PlayerPlane.tsx +255 -0
- package/src/components/ProjectileRenderer.tsx +249 -0
- package/src/components/QueueStatusBanner.tsx +86 -0
- package/src/components/RealPlayerTags.tsx +82 -0
- package/src/components/SceneLighting.tsx +382 -0
- package/src/components/SelectionBeam.tsx +59 -0
- package/src/components/SwapPanel.tsx +104 -0
- package/src/components/SwapParticles.tsx +237 -0
- package/src/components/TreasureGate.tsx +505 -0
- package/src/components/WalletPanel.tsx +421 -0
- package/src/components/WalletSearch.tsx +244 -0
- package/src/components/WelcomeOverlay.tsx +135 -0
- package/src/components/WindowTooltip.tsx +498 -0
- package/src/context/AuthContext.tsx +230 -0
- package/src/lib/bot-detection.ts +125 -0
- package/src/lib/building-math.ts +136 -0
- package/src/lib/building-shader.ts +253 -0
- package/src/lib/car-paths.ts +244 -0
- package/src/lib/car-system.ts +182 -0
- package/src/lib/city-constants.ts +29 -0
- package/src/lib/city-slots.ts +35 -0
- package/src/lib/city-zoning.ts +64 -0
- package/src/lib/collision-map.ts +147 -0
- package/src/lib/day-night.ts +252 -0
- package/src/lib/export-card.ts +28 -0
- package/src/lib/helius-webhook.ts +90 -0
- package/src/lib/helius.ts +74 -0
- package/src/lib/house-shader.ts +119 -0
- package/src/lib/mock-data.ts +56 -0
- package/src/lib/multiplayer-manager.ts +329 -0
- package/src/lib/plane-physics.ts +66 -0
- package/src/lib/player-car.ts +147 -0
- package/src/lib/player-plane.ts +200 -0
- package/src/lib/projectile-system.ts +272 -0
- package/src/lib/skyscraper-types.ts +52 -0
- package/src/lib/sound-engine.ts +464 -0
- package/src/lib/supabase-admin.ts +9 -0
- package/src/lib/supabase.ts +8 -0
- package/src/lib/swap-events.ts +70 -0
- package/src/middleware.ts +37 -0
- package/src/types/phantom.d.ts +16 -0
- package/src/types/wallet.ts +20 -0
- package/tsconfig.json +34 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { SpritesheetData } from './types';
|
|
2
|
+
|
|
3
|
+
export const data: SpritesheetData = {
|
|
4
|
+
frames: {
|
|
5
|
+
down: {
|
|
6
|
+
frame: { x: 192, y: 0, w: 32, h: 32 },
|
|
7
|
+
sourceSize: { w: 32, h: 32 },
|
|
8
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
9
|
+
},
|
|
10
|
+
down2: {
|
|
11
|
+
frame: { x: 224, y: 0, w: 32, h: 32 },
|
|
12
|
+
sourceSize: { w: 32, h: 32 },
|
|
13
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
14
|
+
},
|
|
15
|
+
down3: {
|
|
16
|
+
frame: { x: 256, y: 0, w: 32, h: 32 },
|
|
17
|
+
sourceSize: { w: 32, h: 32 },
|
|
18
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
19
|
+
},
|
|
20
|
+
left: {
|
|
21
|
+
frame: { x: 192, y: 32, w: 32, h: 32 },
|
|
22
|
+
sourceSize: { w: 32, h: 32 },
|
|
23
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
24
|
+
},
|
|
25
|
+
left2: {
|
|
26
|
+
frame: { x: 224, y: 32, w: 32, h: 32 },
|
|
27
|
+
sourceSize: { w: 32, h: 32 },
|
|
28
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
29
|
+
},
|
|
30
|
+
left3: {
|
|
31
|
+
frame: { x: 256, y: 32, w: 32, h: 32 },
|
|
32
|
+
sourceSize: { w: 32, h: 32 },
|
|
33
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
34
|
+
},
|
|
35
|
+
right: {
|
|
36
|
+
frame: { x: 192, y: 65, w: 32, h: 32 },
|
|
37
|
+
sourceSize: { w: 32, h: 32 },
|
|
38
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
39
|
+
},
|
|
40
|
+
right2: {
|
|
41
|
+
frame: { x: 224, y: 65, w: 32, h: 32 },
|
|
42
|
+
sourceSize: { w: 32, h: 32 },
|
|
43
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
44
|
+
},
|
|
45
|
+
right3: {
|
|
46
|
+
frame: { x: 256, y: 65, w: 32, h: 32 },
|
|
47
|
+
sourceSize: { w: 32, h: 32 },
|
|
48
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
49
|
+
},
|
|
50
|
+
up: {
|
|
51
|
+
frame: { x: 192, y: 96, w: 32, h: 32 },
|
|
52
|
+
sourceSize: { w: 32, h: 32 },
|
|
53
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
54
|
+
},
|
|
55
|
+
up2: {
|
|
56
|
+
frame: { x: 224, y: 96, w: 32, h: 32 },
|
|
57
|
+
sourceSize: { w: 32, h: 32 },
|
|
58
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
59
|
+
},
|
|
60
|
+
up3: {
|
|
61
|
+
frame: { x: 256, y: 96, w: 32, h: 32 },
|
|
62
|
+
sourceSize: { w: 32, h: 32 },
|
|
63
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
meta: {
|
|
67
|
+
scale: '1',
|
|
68
|
+
},
|
|
69
|
+
animations: {
|
|
70
|
+
left: ['left', 'left2', 'left3'],
|
|
71
|
+
right: ['right', 'right2', 'right3'],
|
|
72
|
+
up: ['up', 'up2', 'up3'],
|
|
73
|
+
down: ['down', 'down2', 'down3'],
|
|
74
|
+
},
|
|
75
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { SpritesheetData } from './types';
|
|
2
|
+
|
|
3
|
+
export const data: SpritesheetData = {
|
|
4
|
+
frames: {
|
|
5
|
+
down: {
|
|
6
|
+
frame: { x: 288, y: 0, w: 32, h: 32 },
|
|
7
|
+
sourceSize: { w: 32, h: 32 },
|
|
8
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
9
|
+
},
|
|
10
|
+
down2: {
|
|
11
|
+
frame: { x: 320, y: 0, w: 32, h: 32 },
|
|
12
|
+
sourceSize: { w: 32, h: 32 },
|
|
13
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
14
|
+
},
|
|
15
|
+
down3: {
|
|
16
|
+
frame: { x: 352, y: 0, w: 32, h: 32 },
|
|
17
|
+
sourceSize: { w: 32, h: 32 },
|
|
18
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
19
|
+
},
|
|
20
|
+
left: {
|
|
21
|
+
frame: { x: 288, y: 32, w: 32, h: 32 },
|
|
22
|
+
sourceSize: { w: 32, h: 32 },
|
|
23
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
24
|
+
},
|
|
25
|
+
left2: {
|
|
26
|
+
frame: { x: 320, y: 32, w: 32, h: 32 },
|
|
27
|
+
sourceSize: { w: 32, h: 32 },
|
|
28
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
29
|
+
},
|
|
30
|
+
left3: {
|
|
31
|
+
frame: { x: 352, y: 32, w: 32, h: 32 },
|
|
32
|
+
sourceSize: { w: 32, h: 32 },
|
|
33
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
34
|
+
},
|
|
35
|
+
right: {
|
|
36
|
+
frame: { x: 288, y: 64, w: 32, h: 32 },
|
|
37
|
+
sourceSize: { w: 32, h: 32 },
|
|
38
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
39
|
+
},
|
|
40
|
+
right2: {
|
|
41
|
+
frame: { x: 320, y: 64, w: 32, h: 32 },
|
|
42
|
+
sourceSize: { w: 32, h: 32 },
|
|
43
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
44
|
+
},
|
|
45
|
+
right3: {
|
|
46
|
+
frame: { x: 352, y: 64, w: 32, h: 32 },
|
|
47
|
+
sourceSize: { w: 32, h: 32 },
|
|
48
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
49
|
+
},
|
|
50
|
+
up: {
|
|
51
|
+
frame: { x: 288, y: 96, w: 32, h: 32 },
|
|
52
|
+
sourceSize: { w: 32, h: 32 },
|
|
53
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
54
|
+
},
|
|
55
|
+
up2: {
|
|
56
|
+
frame: { x: 320, y: 96, w: 32, h: 32 },
|
|
57
|
+
sourceSize: { w: 32, h: 32 },
|
|
58
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
59
|
+
},
|
|
60
|
+
up3: {
|
|
61
|
+
frame: { x: 352, y: 96, w: 32, h: 32 },
|
|
62
|
+
sourceSize: { w: 32, h: 32 },
|
|
63
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
meta: {
|
|
67
|
+
scale: '1',
|
|
68
|
+
},
|
|
69
|
+
animations: {
|
|
70
|
+
left: ['left', 'left2', 'left3'],
|
|
71
|
+
right: ['right', 'right2', 'right3'],
|
|
72
|
+
up: ['up', 'up2', 'up3'],
|
|
73
|
+
down: ['down', 'down2', 'down3'],
|
|
74
|
+
},
|
|
75
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { SpritesheetData } from './types';
|
|
2
|
+
|
|
3
|
+
export const data: SpritesheetData = {
|
|
4
|
+
frames: {
|
|
5
|
+
down: {
|
|
6
|
+
frame: { x: 0, y: 128, w: 32, h: 32 },
|
|
7
|
+
sourceSize: { w: 32, h: 32 },
|
|
8
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
9
|
+
},
|
|
10
|
+
down2: {
|
|
11
|
+
frame: { x: 32, y: 128, w: 32, h: 32 },
|
|
12
|
+
sourceSize: { w: 32, h: 32 },
|
|
13
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
14
|
+
},
|
|
15
|
+
down3: {
|
|
16
|
+
frame: { x: 64, y: 128, w: 32, h: 32 },
|
|
17
|
+
sourceSize: { w: 32, h: 32 },
|
|
18
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
19
|
+
},
|
|
20
|
+
left: {
|
|
21
|
+
frame: { x: 0, y: 160, w: 32, h: 32 },
|
|
22
|
+
sourceSize: { w: 32, h: 32 },
|
|
23
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
24
|
+
},
|
|
25
|
+
left2: {
|
|
26
|
+
frame: { x: 32, y: 160, w: 32, h: 32 },
|
|
27
|
+
sourceSize: { w: 32, h: 32 },
|
|
28
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
29
|
+
},
|
|
30
|
+
left3: {
|
|
31
|
+
frame: { x: 64, y: 160, w: 32, h: 32 },
|
|
32
|
+
sourceSize: { w: 32, h: 32 },
|
|
33
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
34
|
+
},
|
|
35
|
+
right: {
|
|
36
|
+
frame: { x: 0, y: 192, w: 32, h: 32 },
|
|
37
|
+
sourceSize: { w: 32, h: 32 },
|
|
38
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
39
|
+
},
|
|
40
|
+
right2: {
|
|
41
|
+
frame: { x: 32, y: 192, w: 32, h: 32 },
|
|
42
|
+
sourceSize: { w: 32, h: 32 },
|
|
43
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
44
|
+
},
|
|
45
|
+
right3: {
|
|
46
|
+
frame: { x: 64, y: 192, w: 32, h: 32 },
|
|
47
|
+
sourceSize: { w: 32, h: 32 },
|
|
48
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
49
|
+
},
|
|
50
|
+
up: {
|
|
51
|
+
frame: { x: 0, y: 224, w: 32, h: 32 },
|
|
52
|
+
sourceSize: { w: 32, h: 32 },
|
|
53
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
54
|
+
},
|
|
55
|
+
up2: {
|
|
56
|
+
frame: { x: 32, y: 224, w: 32, h: 32 },
|
|
57
|
+
sourceSize: { w: 32, h: 32 },
|
|
58
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
59
|
+
},
|
|
60
|
+
up3: {
|
|
61
|
+
frame: { x: 64, y: 224, w: 32, h: 32 },
|
|
62
|
+
sourceSize: { w: 32, h: 32 },
|
|
63
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
meta: {
|
|
67
|
+
scale: '1',
|
|
68
|
+
},
|
|
69
|
+
animations: {
|
|
70
|
+
left: ['left', 'left2', 'left3'],
|
|
71
|
+
right: ['right', 'right2', 'right3'],
|
|
72
|
+
up: ['up', 'up2', 'up3'],
|
|
73
|
+
down: ['down', 'down2', 'down3'],
|
|
74
|
+
},
|
|
75
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { SpritesheetData } from './types';
|
|
2
|
+
|
|
3
|
+
export const data: SpritesheetData = {
|
|
4
|
+
frames: {
|
|
5
|
+
down: {
|
|
6
|
+
frame: { x: 96, y: 128, w: 32, h: 32 },
|
|
7
|
+
sourceSize: { w: 32, h: 32 },
|
|
8
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
9
|
+
},
|
|
10
|
+
down2: {
|
|
11
|
+
frame: { x: 128, y: 128, w: 32, h: 32 },
|
|
12
|
+
sourceSize: { w: 32, h: 32 },
|
|
13
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
14
|
+
},
|
|
15
|
+
down3: {
|
|
16
|
+
frame: { x: 160, y: 128, w: 32, h: 32 },
|
|
17
|
+
sourceSize: { w: 32, h: 32 },
|
|
18
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
19
|
+
},
|
|
20
|
+
left: {
|
|
21
|
+
frame: { x: 96, y: 160, w: 32, h: 32 },
|
|
22
|
+
sourceSize: { w: 32, h: 32 },
|
|
23
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
24
|
+
},
|
|
25
|
+
left2: {
|
|
26
|
+
frame: { x: 128, y: 160, w: 32, h: 32 },
|
|
27
|
+
sourceSize: { w: 32, h: 32 },
|
|
28
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
29
|
+
},
|
|
30
|
+
left3: {
|
|
31
|
+
frame: { x: 160, y: 160, w: 32, h: 32 },
|
|
32
|
+
sourceSize: { w: 32, h: 32 },
|
|
33
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
34
|
+
},
|
|
35
|
+
right: {
|
|
36
|
+
frame: { x: 96, y: 192, w: 32, h: 32 },
|
|
37
|
+
sourceSize: { w: 32, h: 32 },
|
|
38
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
39
|
+
},
|
|
40
|
+
right2: {
|
|
41
|
+
frame: { x: 128, y: 192, w: 32, h: 32 },
|
|
42
|
+
sourceSize: { w: 32, h: 32 },
|
|
43
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
44
|
+
},
|
|
45
|
+
right3: {
|
|
46
|
+
frame: { x: 160, y: 192, w: 32, h: 32 },
|
|
47
|
+
sourceSize: { w: 32, h: 32 },
|
|
48
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
49
|
+
},
|
|
50
|
+
up: {
|
|
51
|
+
frame: { x: 96, y: 224, w: 32, h: 32 },
|
|
52
|
+
sourceSize: { w: 32, h: 32 },
|
|
53
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
54
|
+
},
|
|
55
|
+
up2: {
|
|
56
|
+
frame: { x: 128, y: 224, w: 32, h: 32 },
|
|
57
|
+
sourceSize: { w: 32, h: 32 },
|
|
58
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
59
|
+
},
|
|
60
|
+
up3: {
|
|
61
|
+
frame: { x: 160, y: 224, w: 32, h: 32 },
|
|
62
|
+
sourceSize: { w: 32, h: 32 },
|
|
63
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
meta: {
|
|
67
|
+
scale: '1',
|
|
68
|
+
},
|
|
69
|
+
animations: {
|
|
70
|
+
left: ['left', 'left2', 'left3'],
|
|
71
|
+
right: ['right', 'right2', 'right3'],
|
|
72
|
+
up: ['up', 'up2', 'up3'],
|
|
73
|
+
down: ['down', 'down2', 'down3'],
|
|
74
|
+
},
|
|
75
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { SpritesheetData } from './types';
|
|
2
|
+
|
|
3
|
+
export const data: SpritesheetData = {
|
|
4
|
+
frames: {
|
|
5
|
+
down: {
|
|
6
|
+
frame: { x: 192, y: 128, w: 32, h: 32 },
|
|
7
|
+
sourceSize: { w: 32, h: 32 },
|
|
8
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
9
|
+
},
|
|
10
|
+
down2: {
|
|
11
|
+
frame: { x: 224, y: 128, w: 32, h: 32 },
|
|
12
|
+
sourceSize: { w: 32, h: 32 },
|
|
13
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
14
|
+
},
|
|
15
|
+
down3: {
|
|
16
|
+
frame: { x: 256, y: 128, w: 32, h: 32 },
|
|
17
|
+
sourceSize: { w: 32, h: 32 },
|
|
18
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
19
|
+
},
|
|
20
|
+
left: {
|
|
21
|
+
frame: { x: 192, y: 160, w: 32, h: 32 },
|
|
22
|
+
sourceSize: { w: 32, h: 32 },
|
|
23
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
24
|
+
},
|
|
25
|
+
left2: {
|
|
26
|
+
frame: { x: 224, y: 160, w: 32, h: 32 },
|
|
27
|
+
sourceSize: { w: 32, h: 32 },
|
|
28
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
29
|
+
},
|
|
30
|
+
left3: {
|
|
31
|
+
frame: { x: 256, y: 160, w: 32, h: 32 },
|
|
32
|
+
sourceSize: { w: 32, h: 32 },
|
|
33
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
34
|
+
},
|
|
35
|
+
right: {
|
|
36
|
+
frame: { x: 192, y: 192, w: 32, h: 32 },
|
|
37
|
+
sourceSize: { w: 32, h: 32 },
|
|
38
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
39
|
+
},
|
|
40
|
+
right2: {
|
|
41
|
+
frame: { x: 224, y: 192, w: 32, h: 32 },
|
|
42
|
+
sourceSize: { w: 32, h: 32 },
|
|
43
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
44
|
+
},
|
|
45
|
+
right3: {
|
|
46
|
+
frame: { x: 256, y: 192, w: 32, h: 32 },
|
|
47
|
+
sourceSize: { w: 32, h: 32 },
|
|
48
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
49
|
+
},
|
|
50
|
+
up: {
|
|
51
|
+
frame: { x: 192, y: 224, w: 32, h: 32 },
|
|
52
|
+
sourceSize: { w: 32, h: 32 },
|
|
53
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
54
|
+
},
|
|
55
|
+
up2: {
|
|
56
|
+
frame: { x: 224, y: 224, w: 32, h: 32 },
|
|
57
|
+
sourceSize: { w: 32, h: 32 },
|
|
58
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
59
|
+
},
|
|
60
|
+
up3: {
|
|
61
|
+
frame: { x: 256, y: 224, w: 32, h: 32 },
|
|
62
|
+
sourceSize: { w: 32, h: 32 },
|
|
63
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
meta: {
|
|
67
|
+
scale: '1',
|
|
68
|
+
},
|
|
69
|
+
animations: {
|
|
70
|
+
left: ['left', 'left2', 'left3'],
|
|
71
|
+
right: ['right', 'right2', 'right3'],
|
|
72
|
+
up: ['up', 'up2', 'up3'],
|
|
73
|
+
down: ['down', 'down2', 'down3'],
|
|
74
|
+
},
|
|
75
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { SpritesheetData } from './types';
|
|
2
|
+
|
|
3
|
+
export const data: SpritesheetData = {
|
|
4
|
+
frames: {
|
|
5
|
+
down: {
|
|
6
|
+
frame: { x: 288, y: 128, w: 32, h: 32 },
|
|
7
|
+
sourceSize: { w: 32, h: 32 },
|
|
8
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
9
|
+
},
|
|
10
|
+
down2: {
|
|
11
|
+
frame: { x: 320, y: 128, w: 32, h: 32 },
|
|
12
|
+
sourceSize: { w: 32, h: 32 },
|
|
13
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
14
|
+
},
|
|
15
|
+
down3: {
|
|
16
|
+
frame: { x: 352, y: 128, w: 32, h: 32 },
|
|
17
|
+
sourceSize: { w: 32, h: 32 },
|
|
18
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
19
|
+
},
|
|
20
|
+
left: {
|
|
21
|
+
frame: { x: 288, y: 160, w: 32, h: 32 },
|
|
22
|
+
sourceSize: { w: 32, h: 32 },
|
|
23
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
24
|
+
},
|
|
25
|
+
left2: {
|
|
26
|
+
frame: { x: 320, y: 160, w: 32, h: 32 },
|
|
27
|
+
sourceSize: { w: 32, h: 32 },
|
|
28
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
29
|
+
},
|
|
30
|
+
left3: {
|
|
31
|
+
frame: { x: 352, y: 160, w: 32, h: 32 },
|
|
32
|
+
sourceSize: { w: 32, h: 32 },
|
|
33
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
34
|
+
},
|
|
35
|
+
right: {
|
|
36
|
+
frame: { x: 288, y: 192, w: 32, h: 32 },
|
|
37
|
+
sourceSize: { w: 32, h: 32 },
|
|
38
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
39
|
+
},
|
|
40
|
+
right2: {
|
|
41
|
+
frame: { x: 320, y: 192, w: 32, h: 32 },
|
|
42
|
+
sourceSize: { w: 32, h: 32 },
|
|
43
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
44
|
+
},
|
|
45
|
+
right3: {
|
|
46
|
+
frame: { x: 352, y: 192, w: 32, h: 32 },
|
|
47
|
+
sourceSize: { w: 32, h: 32 },
|
|
48
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
49
|
+
},
|
|
50
|
+
up: {
|
|
51
|
+
frame: { x: 288, y: 224, w: 32, h: 32 },
|
|
52
|
+
sourceSize: { w: 32, h: 32 },
|
|
53
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
54
|
+
},
|
|
55
|
+
up2: {
|
|
56
|
+
frame: { x: 320, y: 224, w: 32, h: 32 },
|
|
57
|
+
sourceSize: { w: 32, h: 32 },
|
|
58
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
59
|
+
},
|
|
60
|
+
up3: {
|
|
61
|
+
frame: { x: 352, y: 224, w: 32, h: 32 },
|
|
62
|
+
sourceSize: { w: 32, h: 32 },
|
|
63
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
meta: {
|
|
67
|
+
scale: '1',
|
|
68
|
+
},
|
|
69
|
+
animations: {
|
|
70
|
+
left: ['left', 'left2', 'left3'],
|
|
71
|
+
right: ['right', 'right2', 'right3'],
|
|
72
|
+
up: ['up', 'up2', 'up3'],
|
|
73
|
+
down: ['down', 'down2', 'down3'],
|
|
74
|
+
},
|
|
75
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { SpritesheetData } from './types';
|
|
2
|
+
|
|
3
|
+
export const data: SpritesheetData = {
|
|
4
|
+
frames: {
|
|
5
|
+
left: {
|
|
6
|
+
frame: { x: 16, y: 0, w: 16, h: 16 },
|
|
7
|
+
sourceSize: { w: 16, h: 16 },
|
|
8
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
9
|
+
},
|
|
10
|
+
left2: {
|
|
11
|
+
frame: { x: 64, y: 0, w: 16, h: 16 },
|
|
12
|
+
sourceSize: { w: 16, h: 16 },
|
|
13
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
14
|
+
},
|
|
15
|
+
left3: {
|
|
16
|
+
frame: { x: 112, y: 0, w: 16, h: 16 },
|
|
17
|
+
sourceSize: { w: 16, h: 16 },
|
|
18
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
19
|
+
},
|
|
20
|
+
up: {
|
|
21
|
+
frame: { x: 32, y: 0, w: 16, h: 16 },
|
|
22
|
+
sourceSize: { w: 16, h: 16 },
|
|
23
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
24
|
+
},
|
|
25
|
+
up2: {
|
|
26
|
+
frame: { x: 80, y: 0, w: 16, h: 16 },
|
|
27
|
+
sourceSize: { w: 16, h: 16 },
|
|
28
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
29
|
+
},
|
|
30
|
+
up3: {
|
|
31
|
+
frame: { x: 128, y: 0, w: 16, h: 16 },
|
|
32
|
+
sourceSize: { w: 16, h: 16 },
|
|
33
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
34
|
+
},
|
|
35
|
+
down: {
|
|
36
|
+
frame: { x: 0, y: 0, w: 16, h: 16 },
|
|
37
|
+
sourceSize: { w: 16, h: 16 },
|
|
38
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
39
|
+
},
|
|
40
|
+
down2: {
|
|
41
|
+
frame: { x: 48, y: 0, w: 16, h: 16 },
|
|
42
|
+
sourceSize: { w: 16, h: 16 },
|
|
43
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
44
|
+
},
|
|
45
|
+
down3: {
|
|
46
|
+
frame: { x: 96, y: 0, w: 16, h: 16 },
|
|
47
|
+
sourceSize: { w: 16, h: 16 },
|
|
48
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
meta: {
|
|
52
|
+
scale: '1',
|
|
53
|
+
},
|
|
54
|
+
animations: {
|
|
55
|
+
left: ['left', 'left2', 'left3'],
|
|
56
|
+
up: ['up', 'up2', 'up3'],
|
|
57
|
+
down: ['down', 'down2', 'down3'],
|
|
58
|
+
},
|
|
59
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { SpritesheetData } from './types';
|
|
2
|
+
|
|
3
|
+
export const data: SpritesheetData = {
|
|
4
|
+
frames: {
|
|
5
|
+
left: {
|
|
6
|
+
frame: { x: 16, y: 16, w: 16, h: 16 },
|
|
7
|
+
sourceSize: { w: 16, h: 16 },
|
|
8
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
9
|
+
},
|
|
10
|
+
left2: {
|
|
11
|
+
frame: { x: 64, y: 16, w: 16, h: 16 },
|
|
12
|
+
sourceSize: { w: 16, h: 16 },
|
|
13
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
14
|
+
},
|
|
15
|
+
left3: {
|
|
16
|
+
frame: { x: 112, y: 16, w: 16, h: 16 },
|
|
17
|
+
sourceSize: { w: 16, h: 16 },
|
|
18
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
19
|
+
},
|
|
20
|
+
up: {
|
|
21
|
+
frame: { x: 32, y: 16, w: 16, h: 16 },
|
|
22
|
+
sourceSize: { w: 16, h: 16 },
|
|
23
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
24
|
+
},
|
|
25
|
+
up2: {
|
|
26
|
+
frame: { x: 80, y: 16, w: 16, h: 16 },
|
|
27
|
+
sourceSize: { w: 16, h: 16 },
|
|
28
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
29
|
+
},
|
|
30
|
+
up3: {
|
|
31
|
+
frame: { x: 128, y: 16, w: 16, h: 16 },
|
|
32
|
+
sourceSize: { w: 16, h: 16 },
|
|
33
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
34
|
+
},
|
|
35
|
+
down: {
|
|
36
|
+
frame: { x: 0, y: 16, w: 16, h: 16 },
|
|
37
|
+
sourceSize: { w: 16, h: 16 },
|
|
38
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
39
|
+
},
|
|
40
|
+
down2: {
|
|
41
|
+
frame: { x: 48, y: 16, w: 16, h: 16 },
|
|
42
|
+
sourceSize: { w: 16, h: 16 },
|
|
43
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
44
|
+
},
|
|
45
|
+
down3: {
|
|
46
|
+
frame: { x: 96, y: 16, w: 16, h: 16 },
|
|
47
|
+
sourceSize: { w: 16, h: 16 },
|
|
48
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
meta: {
|
|
52
|
+
scale: '1',
|
|
53
|
+
},
|
|
54
|
+
animations: {
|
|
55
|
+
left: ['left', 'left2', 'left3'],
|
|
56
|
+
up: ['up', 'up2', 'up3'],
|
|
57
|
+
down: ['down', 'down2', 'down3'],
|
|
58
|
+
},
|
|
59
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { SpritesheetData } from './types';
|
|
2
|
+
|
|
3
|
+
export const data: SpritesheetData = {
|
|
4
|
+
frames: {
|
|
5
|
+
left: {
|
|
6
|
+
frame: { x: 16, y: 32, w: 16, h: 16 },
|
|
7
|
+
sourceSize: { w: 16, h: 16 },
|
|
8
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
9
|
+
},
|
|
10
|
+
left2: {
|
|
11
|
+
frame: { x: 64, y: 32, w: 16, h: 16 },
|
|
12
|
+
sourceSize: { w: 16, h: 16 },
|
|
13
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
14
|
+
},
|
|
15
|
+
left3: {
|
|
16
|
+
frame: { x: 112, y: 32, w: 16, h: 16 },
|
|
17
|
+
sourceSize: { w: 16, h: 16 },
|
|
18
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
19
|
+
},
|
|
20
|
+
up: {
|
|
21
|
+
frame: { x: 32, y: 32, w: 16, h: 16 },
|
|
22
|
+
sourceSize: { w: 16, h: 16 },
|
|
23
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
24
|
+
},
|
|
25
|
+
up2: {
|
|
26
|
+
frame: { x: 80, y: 32, w: 16, h: 16 },
|
|
27
|
+
sourceSize: { w: 16, h: 16 },
|
|
28
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
29
|
+
},
|
|
30
|
+
up3: {
|
|
31
|
+
frame: { x: 128, y: 32, w: 16, h: 16 },
|
|
32
|
+
sourceSize: { w: 16, h: 16 },
|
|
33
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
34
|
+
},
|
|
35
|
+
down: {
|
|
36
|
+
frame: { x: 0, y: 32, w: 16, h: 16 },
|
|
37
|
+
sourceSize: { w: 16, h: 16 },
|
|
38
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
39
|
+
},
|
|
40
|
+
down2: {
|
|
41
|
+
frame: { x: 48, y: 32, w: 16, h: 16 },
|
|
42
|
+
sourceSize: { w: 16, h: 16 },
|
|
43
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
44
|
+
},
|
|
45
|
+
down3: {
|
|
46
|
+
frame: { x: 96, y: 32, w: 16, h: 16 },
|
|
47
|
+
sourceSize: { w: 16, h: 16 },
|
|
48
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
meta: {
|
|
52
|
+
scale: '1',
|
|
53
|
+
},
|
|
54
|
+
animations: {
|
|
55
|
+
left: ['left', 'left2', 'left3'],
|
|
56
|
+
up: ['up', 'up2', 'up3'],
|
|
57
|
+
down: ['down', 'down2', 'down3'],
|
|
58
|
+
},
|
|
59
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { SpritesheetData } from './types';
|
|
2
|
+
|
|
3
|
+
export const data: SpritesheetData = {
|
|
4
|
+
frames: {
|
|
5
|
+
left: {
|
|
6
|
+
frame: { x: 0, y: 0, w: 16, h: 16 },
|
|
7
|
+
sourceSize: { w: 16, h: 16 },
|
|
8
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
9
|
+
},
|
|
10
|
+
left2: {
|
|
11
|
+
frame: { x: 16, y: 0, w: 16, h: 16 },
|
|
12
|
+
sourceSize: { w: 16, h: 16 },
|
|
13
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
14
|
+
},
|
|
15
|
+
left3: {
|
|
16
|
+
frame: { x: 32, y: 0, w: 16, h: 16 },
|
|
17
|
+
sourceSize: { w: 16, h: 16 },
|
|
18
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
19
|
+
},
|
|
20
|
+
up: {
|
|
21
|
+
frame: { x: 0, y: 16, w: 16, h: 16 },
|
|
22
|
+
sourceSize: { w: 16, h: 16 },
|
|
23
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
24
|
+
},
|
|
25
|
+
up2: {
|
|
26
|
+
frame: { x: 16, y: 16, w: 16, h: 16 },
|
|
27
|
+
sourceSize: { w: 16, h: 16 },
|
|
28
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
29
|
+
},
|
|
30
|
+
up3: {
|
|
31
|
+
frame: { x: 32, y: 16, w: 16, h: 16 },
|
|
32
|
+
sourceSize: { w: 16, h: 16 },
|
|
33
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
34
|
+
},
|
|
35
|
+
down: {
|
|
36
|
+
frame: { x: 0, y: 32, w: 16, h: 16 },
|
|
37
|
+
sourceSize: { w: 16, h: 16 },
|
|
38
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
39
|
+
},
|
|
40
|
+
down2: {
|
|
41
|
+
frame: { x: 16, y: 32, w: 16, h: 16 },
|
|
42
|
+
sourceSize: { w: 16, h: 16 },
|
|
43
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
44
|
+
},
|
|
45
|
+
down3: {
|
|
46
|
+
frame: { x: 32, y: 32, w: 16, h: 16 },
|
|
47
|
+
sourceSize: { w: 16, h: 16 },
|
|
48
|
+
spriteSourceSize: { x: 0, y: 0 },
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
meta: {
|
|
52
|
+
scale: '1',
|
|
53
|
+
},
|
|
54
|
+
animations: {
|
|
55
|
+
left: ['left', 'left2', 'left3'],
|
|
56
|
+
up: ['up', 'up2', 'up3'],
|
|
57
|
+
down: ['down', 'down2', 'down3'],
|
|
58
|
+
},
|
|
59
|
+
};
|