Lumivara Fitting Room
ลองชุดแฟชั่น ปีก สัตว์ขี่ และกรอบชื่อของ Lumivara Online บนตัวละครของคุณก่อนซื้อ ย้อมสีปีกและชุด ใช้รูปปีกของคุณเอง ใส่เครื่องประดับ ใส่ชื่อในเกม เลือกพื้นหลังและกรอบ แล้ววางการ์ดตัวละครที่ขยับได้ลงบอร์ดให้เพื่อนดู · Try Lumivara Online outfits, wings, mounts and name frames on your own character before you buy: dye the wings and outfit, wear a wing from your own image, add an accessory and your in-game name, pick a background and frame, then place an animated character card on the board.
Lumivara Fitting Room · ห้องแต่งตัว Lumivara
ลองชุดแฟชั่น ปีก สัตว์ขี่ และกรอบชื่อของ Lumivara Online บนตัวละครของคุณก่อนซื้อ แล้ววางการ์ดตัวละครที่ขยับได้ลงบอร์ด Drawdy ให้เพื่อนดู

วิธีใช้
- ติดตั้งแล้วห้องแต่งตัวจะเปิดขึ้นเอง ครั้งต่อไปกดไอคอน Lumivara ที่แถบด้านขวาของบอร์ด
- รอโหลดชุดจากเกมสักครู่ แล้วลากที่ตัวละครหรือกดลูกศรเพื่อหมุนดูรอบตัว
- เลือกอาชีพ แล้วเลือกชุดปกติ สกินของห้องแต่งตัว (อาชีพละ 6 แบบ) หรือชุดแฟชั่นของอาชีพนั้น (ชุดแฟชั่นใส่ได้เฉพาะอาชีพที่ชุดนั้นรองรับ เหมือนในเกม) และเปลี่ยนสีชุดได้ทีละส่วน (สีหลัก สีรอง สีที่ 3) 7 สี หรือเลือกสีเอง
- เลือกปีกจากเกม ปีก 25 แบบของห้องแต่งตัว เช่น ปีกอีกา ปีกจักรกล ปีกเทวดา ปีกค้างคาว ปีกนกยูง และปีกกระจกสี หรือเพิ่มปีกจากรูปของคุณเองได้หลายแบบ (สูงสุด 100) (เลือกไฟล์หรือลากรูปมาวาง แล้วปรับขนาด แสง และกลับด้านของแต่ละปีกได้) เลือกสีปีก (7 สี หรือเลือกสีเอง) และเลือกท่าใต้ตัวอย่าง: ยืน เดิน โจมตี โจมตี 2 นั่ง (จอมเวทร่ายเวทได้ด้วย)
- ขี่สัตว์ขี่ได้ 1 ตัว จากเกม เช่น Meadow Pegasus หรือ Sakura Cloud Fox หรือสัตว์ขี่ 16 ตัวของห้องแต่งตัว เช่น Ember Drake, Sun Lion, Mushroom Snail, Cloud Whale และ Coral Seahorse ตัวละครจะนั่งบนหลังและปีกลดต่ำลงเหมือนในเกม ระหว่างขี่เลือกท่าได้ 2 แบบ: อยู่กับที่ และเคลื่อนที่
- ใส่เครื่องประดับได้ 1 ชิ้นจาก 14 แบบ เช่น วงแหวนนางฟ้า มงกุฎ หูแมว หมวกแม่มด หูกระต่าย โบว์ หรือหูฟัง แล้วเปลี่ยนสีได้เหมือนปีก
- พิมพ์ชื่อในเกม ชื่อจะขึ้นใต้ตัวละครพร้อมอาชีพ เหมือนป้ายชื่อในเกม
- เลือกกรอบชื่อจาก Item Mall ชื่อของคุณจะอยู่ในกรอบแบบเดียวกับในเกม
- เลือกพื้นหลัง (สีพื้น หรือฉากพิกเซลที่ขยับได้ 25 แบบ เช่น ออโรร่า ซากุระ หิมะ ชายหาดยามเย็น เมืองนีออน เทศกาลโคมลอย และน้ำตก) และกรอบการ์ด 16 แบบ เช่น ซากุระ น้ำแข็ง นีออน ดวงดาว และสายฟ้า
- กด ✦ วางลงบอร์ด การ์ดจะขยับวนได้เหมือนในเกม วางได้หลายใบ แล้วกด “แชร์” เพื่อส่งลิงก์ให้เพื่อน
สกิน ปีก และสัตว์ขี่ที่มี ✦ เล็ก ๆ ที่มุมเป็นของห้องแต่งตัว ไม่มีในเกม
ชื่อ พื้นหลัง กรอบการ์ด และปีกจากรูปของคุณทุกแบบจะถูกจำไว้ในเบราว์เซอร์นี้ ครั้งหน้าไม่ต้องตั้งใหม่ รายการชุด ภาพตัวละคร ปีก สัตว์ขี่ และกรอบชื่อโหลดสดจากเกม Lumivara ผ่านเซิร์ฟเวอร์ของห้องแต่งตัวทุกครั้งที่เปิด ชุดใหม่ในเกมจึงขึ้นเองโดยไม่ต้องอัปเดตส่วนขยาย
In English
Try every Lumivara Online outfit, wing, mount and name frame on your own character before you buy, then put an animated character card on your Drawdy board to share with friends.
- After installing, the Fitting Room opens on its own; next time, open it from the Lumivara button on the right of the board.
- Drag the character or use the arrows to turn it around.
- Pick a class, then its plain look, one of the fitting room's own six skins or one of its fashion outfits (an outfit fits only the classes the game lets wear it) and, if you like, a colour for each of its parts (main, second and third); then wings, from the game, twenty-five of the fitting room's own (from raven, mecha and seraph wings to peacock, stained glass and silk ribbon wings), or as many as you like from your own images (up to 100) (pick a file or drop it on the + tile, then set each one's size, glow and facing), and their colour. Each takes one of 7 colours or any colour you pick.
- Pick a pose: idle, walk, attack, attack 2 or sit (mages can also cast).
- Ride one of the game's mounts, from the Meadow Pegasus to the Sakura Cloud Fox, or one of the fitting room's own sixteen, from the Ember Drake and Sun Lion to the Mushroom Snail and Cloud Whale: the character sits on its back with its wings lowered, as in the game, and the poses become standing still and moving.
- Add one of 14 accessories, from a halo and cat ears to a witch hat, bunny ears, a bow or headphones, in its own colour or one you pick.
- Type your in-game name: it shows under the character with your class, like the game's name tag.
- Pick a name frame from the Item Mall: your name sits in it the way the game draws it.
- Pick a background (a colour or one of 25 animated pixel-art scenes, from aurora and snowfall to a neon city, a lantern festival and a waterfall) and one of 16 card frames, from sakura and frost to neon, celestial and thunder, then tap ✦ วางลงบอร์ด.
Skins, wings and mounts with a small ✦ in the corner are the fitting room's own, not the game's.
Permissions
| Permission | Why |
|---|---|
| Interface | the Lumivara button and the Fitting Room panel |
| Canvas | placing character cards on your board |
| Local storage | remembering your name, background, frame and your own wings in this browser |
The extension sends nothing anywhere. It only downloads the game's fashion data and art, from lumivaraonline.com through the fitting room's own mirror.
How it works
- Nothing about the fashion is bundled. Each time the panel opens it reads the game's
cosmetics.json(classes, outfits, wings, mounts and name frames with names, icons, art paths, wing placement and mount seats) and builds each look's sprite sheet in the browser from the game's own atlases: idle, walk and every action pose the atlas has, in all eight directions. Lumivara lets no other site use its images, so with Lumivara's permission the panel reads everything from the fitting room's own copy (mirror/): static files on Cloudflare that an hourly job refreshes from lumivaraonline.com. They are served withAccess-Control-Allow-Origin: null, which lets Drawdy's sandboxed panel (originnull) use them and keeps a game on its own site from drawing them with WebGL, as Lumivara's own site does. New items show up within the hour. If the game cannot be reached the panel says so and offers a retry. - Characters are drawn with the game's own engine, Phaser 3.90, at native game resolution with the game's
pixelArtandroundPixelssettings, then scaled up, so they match the game pixel for pixel. - Wings move with the game's own wing code (
src/game/wings.js, lifted from the game client byscripts/wing-code.mjs); placement comes fromcosmetics.json. - Mounts are drawn the way the game's
drawRidingdraws them (src/game/riding.ts): one sheet row per direction, the west side mirrored, the rider on the last frame of its sit pose its feet on the mount's seat for that direction and its head over the seat (the game centres the frame there, which leaves a body drawn off-centre, like the Swordman's, beside the saddle), the mount standing on a wider shadow (the game floats it 18 px higher) and bobbing, and the wings lowered. The seats and sheets come fromcosmetics.json; the game's riding code and the numbers it reads are copied intosrc/game/riding.game.jsbyscripts/riding-code.mjs, which is not bundled and only shows what changed after a game update. A rider stands about twice as tall, so a mounted scene is drawn at the game's resolution over twice the area and shown at half the zoom, the feet, background and name tag where they were. A mounted card loops on whole rounds of the mount's frames, with every other frame: 9 frames standing still and 6 moving. The fitting room's own sixteen mounts are pixel art drawn in code (src/art/mounts/), each painted into a sheet laid out like the game's (paintSheetinsrc/art/mounts.ts) when the panel opens, so they need nothing from the game's site. - The fitting room's own twenty-five wings are pixel art drawn in code (
src/art/wings.ts), each a right wing with its root at its inner edge like the game's, worn through the same wing code with one of its three effects. Each wing from your own images is cut out of a flat background, cropped and brought to game size in the browser (src/art/upload-wing.ts,webview/own-wings.ts), then worn the same way; they are kept in this browser as small PNGs, a few KB each, each with its own size, glow, facing and colour, and they never leave it except inside the cards you place. - Accessories are pixel art drawn in code (
src/art/accessories.ts) and set on the head of every frame:src/game/head.tsfinds the top, centre and width of the head in each frame of the sprite sheet, so an accessory follows walking, sitting and attacks in all 8 directions, and pairs such as ears sit closer together seen from the side. Each accessory names the shades of its main material, and a colour moves those onto the one picked, keeping their steps of shading, while gems, trims and outlines stay as drawn (dyeShadesinsrc/art/dye.ts). - A wing colour recolours the wing art in the browser (
src/art/dye.ts): every colour turns the way the wing's main colour turns onto the chosen one, in hue, saturation and lightness, and dark outlines keep their lightness. The game's wing code still animates the dyed wing, and its glow, sparkles and swirls are turned the same way. - An outfit colour recolours the look's sprite sheet the same way, part by part (
clothPartsanddyeClothinsrc/art/dye.ts): the clothes' colours are grouped into up to three hue families, largest first, and each takes its own colour, while skin, greys, outlines and hues far from every part stay as drawn. Inside each frame's head, found the way accessories find it, a warm colour (skin, hair, a beard) never changes, so a brown tunic can be dyed without the brown hair above it; a cool hat or hood still takes the colour. Skin elsewhere, such as hands, is a skin tone the standing frames' faces show at least as much of as the body does. Outfits that are mostly black or grey change little. The fitting room's own skins (src/art/skins.ts) are a class's plain look under three such colours and, for clothes drawn in grey such as the Kensei's, a tint that grey cloth below the head takes while keeping its lightness. - Name frames are drawn the way the game's stylesheet draws them: a border-image around the padded name label, corners as drawn and the middle stretched to the name, with the gem strip centred over the seam. The art comes from
cosmetics.json; the slice numbers come from the game's stylesheet (src/game/name-frames.ts, lifted byscripts/name-frames.mjs), so a frame the game adds later shows up once they are lifted again. The preview and the card draw the name tag with the same code, and shrink it to fit the picture when a wide frame and a long name need it. - A placed card is one board element: the panel draws every frame of the pose as the whole card (frame, background, character, name tag and Drawdy mark), joins them into one animated PNG (
webview/apng.ts) whose frames share one palette of at most 128 colours and, after the first, keep only the area that changed, its unchanged pixels left clear and laid over the frame before, compressed at zlib's highest level; with about half the preview's frames, a card is about 20 to 50 KB on the board, and places it in a Drawdy component. The board selects, moves and copies it as one piece, and the browser plays its frames on one clock. Animated backgrounds and frames are pixel art on the sprites' 4x grid (src/art/) and loop without a seam.
Credits
Characters, outfits, wings, mounts and their animation are from Lumivara Online and load from the fitting room's copy of the game's site. Rendering uses Phaser 3.90 (MIT).
Licence
This extension's code is MIT. Lumivara Online's art and data are not part of this repository; they load from the game's site. src/game/wings.js is the game client's wing animation code, lifted by scripts/wing-code.mjs so wings move as in the game; it belongs to Lumivara Online. src/game/name-frames.ts holds the name frames' slice numbers from the game's stylesheet, lifted by scripts/name-frames.mjs. src/game/riding.game.js is a copy of the game client's riding code, lifted by scripts/riding-code.mjs and not bundled; it belongs to Lumivara Online.
Development
npm install
npm test
npm run dev # dev server on :5182; in Drawdy run ⌘K → "Add extension dev server" on a local board
npm run build # regenerates src/webview-html.ts and dist/*.drawdyx
npm run check-wings # is the bundled wing code still the game's?
npm run wing-code # lift the wing code again after a game update
npm run check-name-frames # are the bundled name frame slices still the game's?
npm run name-frames # lift them again after a game update
npm run check-riding # is the game's riding code still the one src/game/riding.ts follows?
npm run riding-code # copy it again after a game update, then follow the diff in src/game/riding.ts
npm run preflight # before submitting: committed, built, pushed, under Drawdy's limits, above the live version, mirror up
The mirror in mirror/ is static files on Cloudflare Workers, whose requests are free and unlimited. npm run mirror copies Lumivara's current cosmetics.json and every file it names into mirror/public/ (ignored by git: the art is never committed to this public repository) and deploys them; set ASSETS in src/game/catalog.ts to the URL the first deploy prints, and npm run preflight refuses a release until that URL serves the panel and no other site. .github/workflows/mirror.yml repeats the copy every hour and deploys only when Lumivara has changed something, once the repository has the variables CLOUDFLARE_ACCOUNT_ID and MIRROR_URL and the secret CLOUDFLARE_API_TOKEN. cd mirror && npx wrangler dev serves the copy on :8787 for a local test.
Drawdy builds published versions from this repository's src/index.ts, so commit src/webview-html.ts after npm run build. Bump driverVersion in manifest.json for every release and add it to CHANGELOG.md. npm test holds the manifest and listing files to Drawdy's submission rules (a description of at most 500 characters, an icon of at most 256 KB, only @drawdy/driver-protocol imported from outside the repository).
dev/contact.ts renders every wing and outfit in all eight directions as one sheet for visual checks: with npm run dev running, open http://localhost:5182/version and run import("/dev/contact.ts") in the console.