Skip to content

Test to move character with cursor key or virtual pad, on pixijs.

Notifications You must be signed in to change notification settings

evofan/pixijs_test_character_move

Repository files navigation

Test to move character with cursor key or virtual pad, on pixijs.

Demo Play
https://evofan.github.io/pixijs_test_character_move/dist/

Usage
npm install
npm run build
npm run start

 
reference

kittykatattack / learningPixi
https://github.com/kittykatattack/learningPixi

chap34- Case study: Treasure Hunter

PixiJS v4.5.5 -> v6.x
JavaScript -> TypeScript
add webpack
add sound
add GSAP with PixiPlugin
add animated sprite
add virtual pad button

goldfire / howler.js
https://github.com/goldfire/howler.js

Free BGM sound asset site "nakano sound"
http://www.nakano-sound.com/free/cute.html
Use 草原の小鳥.mp3

「SOUNDICONS」Free Digital Sound Effects
https://www.brainstorm-inc.jp/
Use 8bitgame_001.wav
Use 8bitgame_300.wav

PixiPlugin Docs - GreenSock
https://greensock.com/docs/v3/Plugins/PixiPlugin

Be sure to include the PixiPlugin correctly:

import * as PIXI from "pixi.js";
import { gsap } from "gsap";
import { PixiPlugin } from "gsap/PixiPlugin";

// register the plugin
gsap.registerPlugin(PixiPlugin);

// give the plugin a reference to the PIXI object
PixiPlugin.registerPIXI(PIXI);

PIXI.Sprite - PixiJS API Documentation
https://pixijs.download/dev/docs/PIXI.Sprite.html

PIXI.AnimatedSprite - PixiJS API Documentation
https://pixijs.download/dev/docs/PIXI.AnimatedSprite.html

Yuru Dorasil RPG Maker Material Providing Site
http://yurudora.com/tkool/
Use 5_field_20160915.zip

About

Test to move character with cursor key or virtual pad, on pixijs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published