Pig Avoider - Phaser 3
Pig Avoider is a fast, easy-to-pick-up 2D arcade game template. You move by tap/click, avoid pigs that roam the map, collect coins for bonus points, and keep moving to survive longer while chasing the highest score. Core Gameplay Goal: survive as long as possible and achieve the highest score by avoiding pigs, collecting coins, and staying in motion. Player moves toward the tapped/clicked target position, creating simple one-touch controls for mobile and desktop. Touching a…
All source code listed on this site is collected from the internet. If any listing infringes your rights, please contact us and we will remove it immediately.
Description
Pig Avoider is a fast, easy-to-pick-up 2D arcade game template. You move by tap/click, avoid pigs that roam the map, collect coins for bonus points, and keep moving to survive longer while chasing the highest score.
Core Gameplay
- Goal: survive as long as possible and achieve the highest score by avoiding pigs, collecting coins, and staying in motion.
- Player moves toward the tapped/clicked target position, creating simple one-touch controls for mobile and desktop.
- Touching a pig triggers game over, ending the current run immediately.
- Score increases from coin pickups and distance-based movement scoring during active play.
- Coins respawn after collection, while pigs keep spawning and moving to maintain pressure and replayability.
Template Features
- Clean scene flow: boot → loading → title → game.
- Gameplay is split into dedicated managers for input, collisions, pig spawning, velocity handling, effects, and UI flow.
- Tuning data is centralized so balancing can be done without changing core logic.
- Reskin friendly.
- Base resolution 1920×1080 (landscape) with Scale.FIT scaling for different screen sizes.
Tech Stack
- Phaser 3.90 (HTML5 game framework).
- TypeScript codebase for maintainability and safe refactors.
- Vite for the development server and production builds.
Related products
More digital goods in the same category or with similar tags.
HTML5 / Games
Spooky Pipes Puzzle - HTML5 Puzzle game
HTML5 / Games
Defend The World - HTML5 Game (Construct 3)
HTML5 / Games
Dunk Drawing -Physic strech basket ball - H5
HTML5 / Games
Swipe Blade - HTML5 - Construct 3
HTML5 / Games
Galaxy Aggression - Endless Shooter
HTML5 / Games
Neon Flight - HTML5 Game (CAPX)
HTML5 / Games
Ufo Flight - HTML5 Game (CAPX)
HTML5 / Games
Ruin tower - HTML5 Android (CAPX)
Pig Avoider - Phaser 3
After successful payment, you will receive a download link for the source code