- 리버스 엔지니어링 후 js로 재작성된 피카츄배구: https://github.com/gorisanson/pikachu-volleyball
- 위 프로젝트에 p2p 네트워크 대전 기능을 넣은 버전: https://github.com/gorisanson/pikachu-volleyball-p2p-online
- rust <> winapi : https://github.com/hyunjun529/winapi.rust
WinAPI to WASM for https://github.com/disjukr/PIKA_V
but there are only features for game animation, scene, event, keyboard Input(e.g DC, GDI, Keyboard, Timer, Rect...etc). so there are no audio like midi, windows event, File I/O, AI.
- Game Loop
- process, timing
- Keyboard Event
- Animation
- i used VS2019
- need install npm
- need install Rust
cargo build
at/
- excute PIKA_MOCK.sln
F5
- this is just game logic & test
wasm-pack build pika-wasm
cd pika-wasm
npm run serve
- need
npm install
- need
cargo run -p pika-winapi
- http://soen.kr/lecture/win32api/reference/Function/MoveWindow.htm
- http://soen.kr/lecture/win32api/reference/Function/GetWindowRect.htm
- http://soen.kr/lecture/win32api/reference/Function/BeginPaint.htm
- http://soen.kr/lecture/win32api/reference/Function/GetDC.htm
- GetDeviceCaps : http://www.dreamy.pe.kr/zbxe/CodeClip/14889
- GetKeyboardState : http://soen.kr/project/dangeun/dg1/5-3-2.htm
- https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getnearestpaletteindex
- https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setrect
- https://m.blog.naver.com/PostView.nhn?blogId=tipsware&logNo=220975813784&proxyReferer=https%3A%2F%2Fwww.google.com%2F
- https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-setdibcolortable
- https://m.blog.naver.com/PostView.nhn?blogId=sukdoo99&logNo=220984109882&proxyReferer=https%3A%2F%2Fwww.google.com%2F
- https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createpalette
- http://soen.kr/lecture/win32api/reference/Function/SelectObject.htm