{"id":26925079,"url":"https://github.com/smoudjs/playable-template-pixi","last_synced_at":"2025-04-02T02:29:52.272Z","repository":{"id":284050969,"uuid":"949225751","full_name":"smoudjs/playable-template-pixi","owner":"smoudjs","description":"A starter template for creating playable ads using PixiJS and @smoud/playable-sdk with TypeScript support","archived":false,"fork":false,"pushed_at":"2025-03-31T16:31:32.000Z","size":183,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-31T17:40:03.943Z","etag":null,"topics":["2d","ads","boilerplate","pixi","pixijs","playable","playable-ad","template","typescript","webgl"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smoudjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-16T00:32:03.000Z","updated_at":"2025-03-31T16:31:36.000Z","dependencies_parsed_at":"2025-03-23T22:30:31.478Z","dependency_job_id":"8d255f6a-383b-41b8-99cb-27fe7e7e0dd5","html_url":"https://github.com/smoudjs/playable-template-pixi","commit_stats":null,"previous_names":["smoudjs/playable-template-pixi"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-pixi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-pixi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-pixi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-pixi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smoudjs","download_url":"https://codeload.github.com/smoudjs/playable-template-pixi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246743327,"owners_count":20826506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2d","ads","boilerplate","pixi","pixijs","playable","playable-ad","template","typescript","webgl"],"created_at":"2025-04-02T02:29:51.879Z","updated_at":"2025-04-02T02:29:52.258Z","avatar_url":"https://github.com/smoudjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playable Template with PixiJS\n\nA starter template for creating playable ads using PixiJS with TypeScript support. This template combines:\n\n- [PixiJS](https://pixijs.com/) - Fast, flexible 2D WebGL renderer\n- [@smoud/playable-sdk](https://github.com/smoudjs/playable-sdk#readme) - SDK for creating playable ads with standardized events and methods\n- [@smoud/playable-scripts](https://github.com/smoudjs/playable-scripts#readme) - Build and development tools optimized for playable ads\n\n## Demo\n\nTry out this template:\n- [View on CodePen](https://codepen.io/peter-hutsul/pen/PwoEaWR)\n\n## Features\n\n- PixiJS v8 integration for high-performance 2D graphics\n- TypeScript support for better development experience\n- Hot module replacement during development\n- Game structure with PixiJS and SDK integration\n- Event handling (resize, pause, resume, volume, etc.)\n- Installation button implementation\n- Interaction tracking\n- Responsive canvas scaling\n\n## Getting Started\n\n1. Clone this repository\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Start development server:\n   ```bash\n   npm run dev\n   ```\n4. Build for production:\n   ```bash\n   npm run build\n   ```\n\n## Project Structure\n\n- `src/index.ts` - Main entry point with SDK, PixiJS and Game initialization\n- `src/Game.ts` - Game logic and PixiJS application setup\n- `src/index.css` - Styles for your playable\n- `src/index.html` - HTML template\n- `assets/` - Directory for your game assets (sprites, textures, etc.)\n\n## Looking for More?\n\nCheck out other available templates for different frameworks and use cases:\n- [playable-template-base](https://github.com/smoudjs/playable-template-base) - Template base version\n- [playable-template-base-js](https://github.com/smoudjs/playable-template-base-js) - Template base version (JavaScript)\n- [playable-template-three](https://github.com/smoudjs/playable-template-three) - Template with Three.js\n- [playable-template-phaser](https://github.com/smoudjs/playable-template-phaser) - Template with Phaser\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoudjs%2Fplayable-template-pixi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmoudjs%2Fplayable-template-pixi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoudjs%2Fplayable-template-pixi/lists"}