Skip to content

smoudjs/playable-template-pixi-spine

Repository files navigation

Playable Template with PixiJS and Spine

A starter template for creating playable ads using PixiJS with Spine animation support and TypeScript. This template combines:

Demo

Try out this template:

Features

  • PixiJS v7 integration for high-performance 2D graphics
  • Spine animation support with pixi-spine runtime 4.1
  • Animated Spineboy character example
  • TypeScript support for better development experience
  • Hot module replacement during development
  • Game structure with PixiJS, Spine, and SDK integration
  • Event handling (resize, pause, resume, volume, etc.)
  • Installation button implementation
  • Interaction tracking
  • Responsive canvas scaling

Getting Started

  1. Clone this repository
  2. Install dependencies:
    npm install
  3. Start development server:
    npm run dev
  4. Build for production:
    npm run build

Project Structure

  • src/index.ts - Main entry point with SDK initialization
  • src/Game.ts - Game logic with PixiJS application and Spine animation setup
  • src/index.css - Styles for your playable
  • src/index.html - HTML template
  • assets/ - Directory for your game assets (sprites, textures, etc.)

Looking for More?

Check out other available templates for different frameworks and use cases:

About

A starter template for creating playable ads using PixiJS / Spine and @smoud/playable-sdk with TypeScript support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors