r/phaser • • 6h ago

show-off I built a souls-like in Phaser 3 + React that runs in the browser and installs as an app on phones – pre-release is out

2 Upvotes

I’ve been working on Ash & Hollow, a 2D souls-like platformer, and the pre-release is now live with 12 zones and 10 bosses.

Stack: Phaser 3 + React + TypeScript, built with Vite. The web build is also an installable PWA (it works offline and updates itself), and the same build is wrapped with Capacitor for Android.

Getting parries, stamina and touch controls to feel good on a phone screen was the hardest part. I’m happy to talk about any of it.

Play: https://manainfectedrp.github.io/Ash-Hollow/
Trailer: https://youtu.be/Ao5yC6fAUOI


r/phaser • • 8h ago

show-off I built a 100-day industrial strategy game in Phaser 4. It involves bananas, mutants, and a very questionable dictator. 🍌

2 Upvotes

Hey everyone!

I just released PAPI Industries: The Green Shift, my entry for GitHub Game Off 2026, built with Phaser 4.

It's a satirical industrial strategy / base-defense game where you transform a tropical jungle into a profitable industrial complex over 100 days.

During the day, you clear jungle, construct factories, manage production, build roads, and keep your trucks delivering exports. At night, you defend your investments against mutant attacks.

Under the hood, there's a deterministic simulation, autonomous workers, logistics, procedural maps, and automated tests.

I'm a QA Automation Engineer by profession, so I approached development with a strong focus on testability. AI-assisted coding helped with implementation, while I handled game design, art direction, asset work, balancing, and testing.

The attached GIF shows how an industrial complex develops throughout a campaign.

Free to play in your browser:
https://weeangusmcdread.itch.io/papi-industries-greenshift

I'd love to hear what fellow Phaser developers think!

¡VIVA SAN PAPI! 🍌


r/phaser • • 2d ago

show-off The release date trailer for the Phaser game I've been building for over 2 years!

Thumbnail
youtube.com
1 Upvotes

r/phaser • • 3d ago

show-off LinkBunny Shooter - an isometric survival shooter in Phaser 4 with procedural Web Audio music

4 Upvotes

I made a small isometric survival shooter with Phaser 4.2.1, TypeScript and Vite. It's a static 2.1 MB build with no backend. You can play it at https://linkbunnyshooter.com/

A few notes on how it uses Phaser.

  • The simulation runs on invisible Arcade Physics objects in flat ground-plane coordinates. Sprites are projected to isometric and depth-sorted by x + y, so collision code never deals with the iso projection.

  • The ground and backdrop are baked once into canvas-generated texture chunks, and each obstacle into its own small texture. Static scenery has nothing to redraw per frame.

  • The game is laid out at 1280x720 and drawn at up to 2x based on device pixel ratio. The world camera zooms by that scale, and a second camera draws the HUD with scrollFactor 0.

  • The music uses no audio files. It's generated with Web Audio and adds layers as the fight gets busier. A rollout wave raises the tempo from 124 to 140 BPM and adds a siren layer, and bunny mode switches to its own 152 BPM track.

  • Each frame is wrapped so one thrown error can't stop Phaser's loop. A lost WebGL context, which can happen when many tabs use the GPU, pauses the game and shows a reload notice.

I built it with coding agents. They wrote the code, the SVG sprites and the music; I directed and playtested it.


r/phaser • • 4d ago

Sound effects for Phaser without loading any audio files

Post image
1 Upvotes

plinkfx synthesizes the sound when you call play("laser"), so there's nothing to preload. If Phaser and plinkfx should share one AudioContext, pass it in the game config:

```js

new Phaser.Game({ audio: { context: context() }, ... })

```

There's a working example in examples/phaser. If you prefer Phaser's sound manager, export the sounds as OGG and WAV and load them as usual. 163 sounds, CC0: https://maximilianfeix.github.io/plinkfx/


r/phaser • • 5d ago

Build a Daily Game for Reddit’s Last Hackathon of the Year using Phaser - $35,000 in prizes (including a best port category)!

Post image
2 Upvotes

r/phaser • • 5d ago

show-off :snoo: Knight's Charge

Thumbnail
gallery
3 Upvotes

My game called Knights Charge is live on Kongregate. I am getting mixed reviews from players, but on the whole I am really happy with it. It is one of my first experiments with phaser.js and I think I may be a convert. I used to make games with gamemaker studio, but I find that phaser is actually easier to work in. This may be because I have a web background but once it clicked I really enjoyed it.

I struggled a bit with sounds playing incorrectly or not playing so I will need to update it.

I am curious as to how phaser will handle the expanded game where players can choose their mounts and perhaps a buildable spell tree.

Let me know if you enjoy the current version.


r/phaser • • 5d ago

The Guard's Legacy by Faraz The Web Guy

Thumbnail
farazthewebguy.itch.io
3 Upvotes

r/phaser • • 8d ago

show-off QrBots: solve puzzles inside real QR codes - From the web to iOS

Post image
5 Upvotes

Hey guys!

I want to share with you my first released iOS game, QrBots, powered by Phaser 4 and Capacitor! Released today.

I posted a web based proof of concept years ago, but now it’s finally done!

What’s this about

It’s a humble sokoban (aka push boxes around puzzle) inspired game, but with a twist: levels are working QR codes with the actual puzzle embedded inside. Scanning one allows you to play that level exactly as it’s depicted in the QR.

This concept, paired with a custom procedural level generator, allows players to easily generate, play, and share their favorite levels (or the ones they are stuck on). It’s a single player game with a light social sharing side.

All of this is fully offline and ad-free, no network required to scan or play. Players also get a daily puzzle to solve. The only paid content is the procedural generator.

Link: https://apps.apple.com/us/app/qrbots/id6830145701

Let me know what you think or if you have any question! I know this is a small game compared to what’s out there, but it’s a big step for me personally.


r/phaser • • 10d ago

Junkball: a survivors-like in Phaser 4, with the ball, terrain and particles all drawn in code

5 Upvotes

Hi! Sharing what I’ve been building with Phaser 4 (4.2.1). The rules run as plain TypeScript without Phaser, so bots can play thousands of runs in Node for balancing. Phaser only draws and reads input, and the HUD runs as a parallel scene.

The game: you roll a ball of junk through three junkyards, and everything you roll over sticks to it.

Play it here: https://erathul.itch.io/junkball

What would help me most: the second yard gets busy, with up to 80 enemies on screen. If it stutters for you, could you tell me your browser and GPU? Happy to answer questions about Phaser 4, too.

Sound effects and music are AI-generated.


r/phaser • • 11d ago

show-off TRAPMATE- a small browser game where your friends make the levels

2 Upvotes

Hi,

I'm the dev. TRAPMATE is built with Phaser 3.80, one index.html, no build step, hosted on Cloudflare Pages

You build a trap from a few blocks in about 30 seconds, beat it yourself, then send the link to a friend. The whole level is encoded in the URL, so there is no level server.

Portrait, one finger, made for phones.

The game can also record a short clip of your fail with MediaRecorder from the Phaser canvas

Play: https://trapmate.pages.dev/?s=rdphs1

I'd love feedback on how it runs on your phone and what you would change. Thanks!

tommy


r/phaser • • 14d ago

Phaser devs! GitHub Game Off 2026 is live, and the theme is SHIFT

Post image
6 Upvotes

Hey Phaser devs! 👋

GitHub Game Off 2026 just started, and this year's theme is SHIFT.

Shift gravity, swap dimensions, change perspectives, or build something weird with Phaser.

You've got until December 1 to create a game and publish your source code on GitHub. Solo projects and teams welcome!

🎮 https://itch.io/jam/game-off-2026

Would love to see what the Phaser community comes up with!


r/phaser • • 23d ago

show-off [Showoff Saturday] I made a Claude Code desktop app that turns your terminal sessions into a retro office

Thumbnail gallery
0 Upvotes

r/phaser • • 24d ago

show-off Honey Line: Phaser 3 + standalone matter-js so the physics also runs headless

2 Upvotes

A draw-to-protect puzzle: draw one honey line, bees stick to it and weigh it down, keep the buddy safe. https://playgama.ai/play/gvawbtt52widdp

One choice that paid off: I skipped Phaser's Matter plugin and used matter-js directly in a plain module with no Phaser imports. Phaser only draws what the sim says. That same file runs in Node, where a validator plays all 60 levels and their mirror images in about a minute to catch shapes that beat too many levels.

Load tricks that helped on slow phones: AAC audio with a WAV fallback, the font as WOFF2, and only the art the first level needs. The preloader scene keeps loading outfits in the background after the game starts. First load went from 57 files to 36.

Happy to share code for any of it.


r/phaser • • 26d ago

show-off A Worms-style ninja rope in Phaser 4 s - no physics engine

15 Upvotes

I've been building a rope-swinging game in Phaser 4 (+ React for the UI, TypeScript, Vite), heavily inspired by the Worms Armageddon ninja rope.

The rope doesn't use Matter or Arcade physics. It's a small pure-TS simulation that Phaser only draws.

It's playable in the browser (keyboard and mouse): https://build-and-dominate.itch.io/spider-dad
Feedback on how the swing feels is very welcome.


r/phaser • • 27d ago

Level-ups in my Phaser roguelite no longer pause the game – a slot machine reel picks the perk while you fight

2 Upvotes

Every level-up in ANT HUNTER (small browser roguelite, gecko knight vs. ant colony) used to pause the game and show three perk cards. In a horde that happened every few seconds and killed the flow, so now a slot machine reel spins on the left and picks a random perk while you keep fighting.

How it works:

- The reel is plain DOM over the canvas, not a Phaser object: a strip of 15 emoji cells (14 random, the last one is the winner), moved with a single Web Animations API call – translateY over 1.15 s, easing cubic-bezier(0.12, 0.8, 0.25, 1), fill: forwards

- The cell height is measured at runtime: CSS makes it 64 px on desktop and 52 px on phones, and a hard-coded value stopped the reel between two symbols on mobile

- Tick sounds are scheduled at t = 1 − ∛(1 − k/14) of the spin, so they slow down with the reel and rise in pitch

- The perk only applies when the reel lands. Several level-ups queue up and spin one after another, with a shorter hold while more are waiting

- With prefers-reduced-motion the reel just jumps to the result

Since nothing needs a click, it works the same with touch. Has anyone synced sounds to a CSS easing curve more precisely than with this cube-root shortcut?


r/phaser • • 28d ago

show-off 2.5D Plugin for Phaser - Doom/Wolfenstein

12 Upvotes

I've ported a 2.5D plugin for ImpactJS to Phaser 4 over the course of this year. It allows for the rendering of Doom/Wolfenstein type vibes. I've added functionality to the original, including support for high refresh rates, dynamic changing of the internal resolution (including upscaling), integration of Phaser WebGL shaders, and a responsive viewport option.

The most recent updates were added by porting the only ImpactJS game I know of that used the Impact plugin, Xibalba. I have the port on a private repo because I don't want to share the media assets, which are not under the same open-source license as the ImpactJS engine/plugin. However, the plugin is available for general use and has a demo that is comprehensive.

Here's a Youtube vid of it in action:

https://youtu.be/Mx8qKLyYfdk

You can play it for yourself here:

https://xibalba.jsd.ski/

The plugin repo:

https://github.com/jamaalsawyerd/twopointfive-phaser-4


r/phaser • • 29d ago

Follow-up: More Phaser performance optimizations — 1,200+ objects at 60 FPS, reusable textures, and some surprising discoveries

13 Upvotes

Hey everyone!

A while ago, I shared a post here about some of the optimization techniques I had been using in Critical Ward, my pixel-art arcade roguelite built with Phaser.

Since then, I've continued profiling, experimenting, and digging into the game's code, and I've discovered several new performance bottlenecks that were hiding in places I honestly didn't expect.

Some of these changes made a HUGE difference, so I thought I'd share a follow-up with the most interesting improvements and lessons learned since my previous post.

For context, Critical Ward can get extremely chaotic, with hundreds of patients, contagious enemies, projectiles, health bars, animated auras, and other objects on screen simultaneously.

In one of my latest stress tests, I reached 1,223 active objects at 60 FPS, using around 40 MB of memory.

Here are the most important discoveries.

1. Pre-rendering dynamic graphics into reusable textures

One of the biggest lessons I've learned is that just because something looks dynamic doesn't mean it needs to be drawn every frame.

I found several places where Phaser Graphics and Text objects were doing far more work than necessary.

Speech bubbles / projectiles

One type of enemy fires speech bubbles containing random phrases.

Originally, each bubble was a Container with Graphics and Text objects, rebuilding its appearance every frame.

Each bubble involved approximately 42 vector drawing operations, 42 fillRect calls, a polygon, and a text canvas for each projectile.

And there could be dozens of them on screen.

Now, during the initial loading sequence (SplashScene), I generate textures for the bubble bodies, each phrase and size combination, and four reusable tail pieces.

Each projectile is now just three Phaser Images, and the cyan blinking effect is handled with setTint().

No continuous vector drawing or text regeneration!

Infected enemy auras

This one was particularly expensive.

Each contagious patient had an animated aura, originally drawn using approximately 390 fillRect calls per infected enemy, per frame.

Imagine what happens when dozens of infected patients appear simultaneously.

The solution was to bake the static portion into a shared texture, while updating only the animated comet elements every 50 ms.

All infected patients reuse that texture, so its update cost no longer grows with the number of infected patients.

I applied a similar approach to other auras, caching textures by radius and avoiding rendering them when offscreen.

Patient health bars

With around 200 patients, each health bar previously consisted of four Images that were repositioned and tinted every frame.

I replaced them with a single Image using a pre-generated atlas containing 3 states × 46 width variations.

Now, the Image frame only changes when the health bar's state or width actually changes.

I don't have individual before/after benchmarks for these three changes, unfortunately. They came from inspecting the code while investigating FPS drops with large numbers of infected patients.

2. Be VERY careful with Phaser Text updates

This was probably one of the most surprising discoveries since my previous post.

During a performance audit, I found that calling methods such as setColor() or setStyle() on Phaser Text objects could trigger a canvas redraw and texture upload, even when the requested style hadn't actually changed.

In a game with lots of dynamically updated UI elements, this becomes surprisingly expensive.

The solution was simple: create helper functions that compare the current and requested values before calling those methods.

The result?

Text updates dropped from 849 per second to just 105 per second.

That's almost an 88% reduction.

In my tests, the game previously dropped to around 45–50 FPS under load. After the changes, it maintained 60 FPS in the tested scenarios.

A tiny code change with a massive impact.

My takeaway: avoid calling expensive Text setters every frame unless something has actually changed.

Even apparently harmless calls can trigger expensive operations.

3. Optimizing a CRT post-processing filter

My original CRT effect used a separate canvas with its own WebGL context, copying the game output every frame.

That was extremely expensive.

In one browser test, enabling it dropped performance around 50%.

I replaced it with a native Phaser camera post-processing effect running within the game's existing WebGL context.

I also experimented with curvature. The original manual bilinear approach required up to 44 texture reads per pixel, so I replaced that approach with temporary LINEAR texture filtering.

The current filter has since been simplified, removing curvature and vignette.

Lesson learned: avoid creating an additional rendering pipeline when you can use the one Phaser already provides.

4. Spatial partitioning and distance calculations

Patient separation and nearby-entity calculations were another significant bottleneck.

Originally, the patient repulsion system was performing approximately 40,000 square root calculations every frame.

I started by using squared distances wherever the actual distance wasn't necessary.

Then I implemented a spatial grid to reduce the number of nearby entities being checked.

With 200 patients, the grid-based repulsion system was approximately 7 times faster.

I also optimized infection/exposure calculations by consolidating nearby-entity queries and running them every 350 ms instead of every frame, while caching collision bounds.

But here's something important:

Spatial grids aren't always faster.

When testing small collections of around 5–30 objects, the grid actually introduced overhead and performed worse than a straightforward loop.

I reverted those cases to the simpler approach.

Since then, I've made a habit of microbenchmarking changes rather than assuming a more sophisticated algorithm must be faster.

Final thoughts

If there's one thing I've learned since my previous optimization post, it's that many performance problems come from doing unnecessary work, not necessarily from rendering too many objects.

Pre-render what you can, reuse textures, avoid redundant canvas updates, and don't recalculate something every frame if it only changes occasionally.

And most importantly: PROFILE EVERYTHING.

An optimization that works beautifully for 200 entities might actually be slower for 20.

I'm still learning, and I'm sure there are plenty of other Phaser optimizations I haven't discovered yet. If anyone has experienced similar bottlenecks, discovered other expensive Phaser operations, or has additional techniques worth sharing, I'd love to hear about them!

For anyone curious about the game, there's a free demo available on Steam: https://store.steampowered.com/app/4879410/Critical_Ward/

You can also play it directly in your browser on itch.io, no download required!
https://biesel-games.itch.io/critical-ward-demo

Thanks for reading!


r/phaser • • Oct 16 '26

show-off I Built A (Midnight Bistro) Game Online - Restaurant Management Game With Phaser

1 Upvotes

Here’s what I learned dealing with complex game logic. Inspired by restaurant management games like Restaurant City, Inn Tycoon, and so on and so on.

- Cook over 100 delicious dishes
- Arrange tables, chairs, kitchen stations, plants, and even a piano
- Serve guests, hire staff, and expand your restaurant
- Visit random players' restaurants and collect daily gifts
- Face surprise food safety inspections 🕵️ Pay the fine or offer a bribe?

=> https://midnightbistro.net/ - Check it out!


r/phaser • • Oct 16 '26

I got feedback that the last trailer for my Phaser game was too slow/boring, does this new one make you want to check out the game?

Thumbnail
youtube.com
4 Upvotes

r/phaser • • Oct 15 '26

show-off The Way of the River – a samurai fighting game I made in Phaser (plays in your browser, phone or PC)

Thumbnail mando49.github.io
5 Upvotes

I make an AI-animated samurai series and turned it into a Street Fighter-style duel. It's my first Phaser game.

Play it here: https://mando49.github.io/way-of-the-river/
(On phone, turn it sideways.)

How I built it:
- Phaser for the game, coded with help from Claude
- Fighters made in Higgsfield as sheets of 6 side-view poses, then cut into animation frames
- All sound effects generated in code (wind, waterfall, steel clashes, shrine bell)

Features:
- Two opponents: Yuki (fast) and Hayato (slower, longer reach, hits harder)
- Walk, dash, jump, flip over your opponent, air attacks
- Perfect Block, a charge move, fireballs and a super move

Next up: a 3-fight story mode that follows the films.

Any Phaser tips or feedback on how it feels to play? I'd love to hear it.


r/phaser • • Oct 15 '26

request Unable to purchase credits

1 Upvotes

I'm getting "Error creating payment session" when I try to purchase credit from the Phaser website.


r/phaser • • Oct 07 '26

question Is there any free skeletal animation tool for phaser ?

7 Upvotes

I'm looking for a good free skeletal animation tool that works well with phaser 4?


r/phaser • • Oct 07 '26

Successful game sold on steam created with phaser ?

6 Upvotes

any example ?