์ ์ฒด ๊ธ
[Spine][pixiJs] Api ์ฌ์ดํธ
์คํ์ธ api ์ฌ์ดํธ http://ko.esotericsoftware.com/spine-api-reference#AnimationState-setAnimation ์ฐพ๊ธฐ ๊ธฐ๋ฅ ์ด์ฉํด์ api ๋ช ์ธ ํ์ธ, ๋ฒ์ญ๊ธฐ๋ผ๋ ๋๋ ค์… ์ด๋ฐ์์ผ๋ก AnimationState Methods addAnimation ( int trackIndex, string animationName, bool loop, float delay): TrackEntry Queues an animation by name. See addAnimation. addAnimation ( int trackIndex, Animation animation, bool loop, float delay): TrackEntry Adds an animation to ..
VSCode ํ ๋ฒ์ ์ฌ๋ฌ ๊ฐ ์ ํํ์ฌ ์์ ํ๋ ๋ฒ(๋ค์ค ์ ํ)
https://daldalhanstory.tistory.com/72
[์๋ฐ์คํฌ๋ฆฝํธ] ๋ฐ๋๋ผ ์๋ฐ์คํฌ๋ฆฝํธ ๊ฐฌ์ฑ
message.js export function message(msg){ const elem = document.createElement('p'); elem.innerHTML = msg; document.body.append(elem); } main.js import { message } from './message.js'; message('๊ฐ์ฑ...'); const likeBtn = document.querySelector('.main-button'); likeBtn.addEventListener("click",function(){ likeBtn.innerHTML="โค" const likesTab=document.querySelector(".favorites"); const newFavoriteImag..
[์นํฉ][๋ฐ๋ฒจ] ํจํค์ง ์ด ์ค์น
๋ฒ๋ค๋ง : ๋ชจ๋ ํ์ผ๋ค์ ํ๋ํ๋์ ๋ชจ๋๋ก ๋ณด๊ณ , ์ด ๋ชจ๋๋ค์ ๋ฐฐํฌ์ฉ์ผ๋ก ๋ณํฉํ๊ณ ํฌ์ฅํ๋ ์์ .(์ต์ ํ๋ ํด์ค) ์ด๋ฌํ ๋ฒ๋ค๋ง ์์ ์ ์ํํ๋ ํด์ ๋ฒ๋ค๋ฌ๋ผ๊ณ ํ๋ค. ํ์ฌ ์์ ์์๋ ๋ฒ๋ค๋ฌ ์ค์์ '์นํฉ'์ด ๊ฐ์ฅ ์ธ๊ธฐ๊ฐ ๋ง๋ค. ์ฒ์ package.json ์ํ { "name": "webpack-test", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "build": "cross-env NODE_ENV=production webpack --progress", "start": "webpack serve --progress" }, "keywords": [], "author": "", "license": "ISC" } webp..
[2D WebGL][pixi.Js] ์ธ๋ถ์ฌํญ
PixiJS : ์ํคํ ์ฒ ๊ฐ์ PixiJS: Architecture Overview pixijs.io ์ํคํ ์ฒ ๊ฐ์ PixiJS๊ฐ ์ด๋ป๊ฒ ๊ฒฐํฉ๋๋์ง์ ๋ํ ๊ฐ์ ์ฝ๋ PixiJS๋ GitHub์์ ํธ์คํ ๋๋ ์คํ ์์ค ์ ํ GitHub ๋ฆฌํฌ์งํ ๋ฆฌ์ ๋ง์ฐฌ๊ฐ์ง๋ก ๊ฐ PixiJS ํด๋์ค์ ์์ ์์ค ํ์ผ์ ์ฐพ์ ๋ค์ด๋ก๋ ํ ์์์๋ฟ๋ง ์๋๋ผ ๊ธฐ์กด ๋ฌธ์ ๋ฐ ๋ฒ๊ทธ๋ฅผ ๊ฒ์ํ๊ณ ์ง์ ์ ์ถํ ์๋ ์๋ค. PixiJS๋ TypeScript๋ผ๋ JavaScript ๋ณํ์ผ๋ก ์์ฑ๋์์ผ๋ฉฐ, ์ฌ์ ์ปดํ์ผ ๋จ๊ณ๋ฅผ ํตํด JavaScript์์ ์ ํ ๊ฒ์ฌ๋ฅผ ํ ์ ์๋ค. ๊ตฌ์ฑ ์์ PixiJS๋ ๋ชจ๋์ ๋ ๋๋ง ์์ง. ์ฝํ ์ธ ๋ฅผ ์์ฑ, ์ ๋ฐ์ดํธ ๋ฐ ํ์ํ๋ ๋ฐ ํ์ํ ๊ฐ ์์ ์ ์์ฒด ๊ตฌ์ฑ ์์๋ก ๋๋๋ค ์ด๋ ๊ฒ ํ๋ฉด ์ฝ๋๊ฐ ๋ ๊น๋ํด์ง ..
[2D WebGL][pixiJS] Getting Started!
https://youtu.be/GuY_PROTr0I: ์ฐธ๊ณ ์์ ์ฝ๋
[2D WebGL][pixiJS] Architecture Overview
PixiJS ์์ฉ ํ๋ก๊ทธ๋จ์ ๊ตฌ์ฑ ์์ HTML ํ์ผ ๋ง๋ค๊ธฐ ์น ์๋ฒ๋ฅผ ์ฌ์ฉํ์ฌ ํ์ผ ์ ๊ณต PixiJS ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ก๋ ์์ฉ ํ๋ก๊ทธ๋จ ๋ง๋ค๊ธฐ ์์ฑ ๋๋ณด๊ธฐ๋ฅผ DOM์ ์ถ๊ฐ ์คํ ์ด์ง์ ์ด๋ฏธ์ง ์ถ๊ฐ ์ ๋ฐ์ดํธ ๋ฃจํ ์์ฑ ํ์ผ ์ ๊ณต PixiJS๋ก ๋ก์ปฌ๋ก ๊ฐ๋ฐํ๋ ค๋ฉด ์น ์๋ฒ๋ฅผ ์คํํด์ผํฉ๋๋ค. ์น ๋ธ๋ผ์ฐ์ ๋ ๋ก์ปฌ๋ก ๋ก๋๋ ์น ํ์ด์ง์ ๋ก์ปฌ ํ์ผ(์: ์ด๋ฏธ์ง ๋ฐ ์ค๋์ค ํ์ผ)์ ๋ก๋ํ์ง ๋ชปํ๋๋ก ํฉ๋๋ค. ์ HTML ํ์ผ์ ๋ ๋ฒ ํด๋ฆญํ๊ธฐ๋ง ํ๋ฉด PixiJS ๋จ๊ณ์ ์คํ๋ผ์ดํธ๋ฅผ ์ถ๊ฐํ๋ ค๊ณ ํ ๋ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค. XAMPP ๋๋ http-server Node.js ํจํค์ง๋ฅผ ์ฌ์ฉํ์ฌ ํ์ผ์ ์ฝ๊ฒ ์ ๊ณต ํ ์ ์์ต๋๋ค. ์ ํํ ๋ธ๋ผ์ฐ์ ๋ฅผ ์ด๊ณ ์์น ํ์ ์ค์ ์ ๋ ฅํ์ฌ ๋ชจ๋ ๊ฒ์ด ์๋ํ๋์ง ํ ์คํธํ์ญ์์ค. (๋ชฝ๊ตฌ์ค๋ ๊ธฐ๋ณธ์ ..