Phaser VS SFML

Compare Phaser vs SFML and see what are their differences.


Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. (by photonstorm)
Our great sponsors
  • SonarQube - C++ Analysis that’s powerful, fast, and secure
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
Phaser SFML
50 44
30,587 7,181
- 1.8%
9.8 7.0
5 days ago 7 days ago
JavaScript C++
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Phaser. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-18.
  • Frustrations with Web Development, Especially Front-End | 2021-10-18
    Canvas: It's not easy to start using canvas I found but it's essentially the modern day Adobe Flash in terms of how it works. I've only ever used it with libaries like Phaser but you can use plain Javascript.
  • Libraries for other languages similar to Ebiten? | 2021-10-18
    Phaser (JavaScript)
  • Snakes - my first HTML5 multiplayer browser game - 100% JavaScript - WITH BOTS! - works on desktop, iPhone, android - Phaser for rendering, NodeJS game server with real-time networking using WebRTC's data channels (UDP!) hosted on FREE 6GB ARM compute from IBM | 2021-10-14
    The visual rendering is done by Phaser. I have a working version using Pixi as well, but went with Phaser for arbitrary reasons.
  • 2D MMORPG Browser Game | 2021-10-13
    Try . They have many tutorials, multiplayer games included. Should be a good place to start.
  • Adobe Uses DMCA to Nuke Project That Keeps Flash Alive, Secure & Adware Free | 2021-10-12
    Well, technically, Unity Web is JS + WebGL. But yeah, tools like Phaser could use more developers.
  • I want to develop a simple educational 2D game for iOS. How do I go about it?
    If you’re going to go the browser route, maybe try
  • [AskJS] what is the best game engine for js, that’s free?
    Check out Phaser3
  • Building a Roguelike Game with TypeScript | 2021-09-25
    So I'm still decided to learn Unity and do a project with it. However, my C# knowledge is close to nil 😛. I've known about Phaser for a few years now, and stayed away from it for multiple reasons, the main one being that there really isn't a big community, compared to other engines like Unity or Godot. But currently, it's almost fully compatible with Typescript, which in my head, is acting like a stepping stone to C#. So I went it it.
  • Participa del evento js13kGames para desarrolladores de juegos en la web | 2021-08-31
  • Do these kinds of pools exist anywhere in real life?
    It's an adventure game about waking up in a weird, liminal world. Most of the backgrounds are generated using Art Breeder, and the game itself is written in JavaScript using Phaser


Posts with mentions or reviews of SFML. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-14.
  • Is it a waste of time learning OpenGL for a toy project?
    You could use instead SFML. The alternative is having to learn how to do that using an specific OS.
  • Teaching high schoolers C++
    There are such librarys, in college we used SFML as the library. Its basically a canvas library, and thus works well.
  • advice of game dev for C++
    For C++ 2D games I recommend looking into SFML. It handles graphics, sound and input. They also have good basic tutorials on their page.
  • I am looking for a way to make a custom GUI in C++ | 2021-09-24
  • Making a game in C++ | 2021-09-22
    I'll trust you've had experience in these things, the only thing I'd point out is that SFML is now implementing a keyboard scancode feature | 2021-09-22
    The funny thing about is that I developed scancode support for SMFL on Linux 3 years ago, but it's still not merged into master, because all the platforms need to be finished and fully tested. With SFML being not a very popular library, it moves at an incredibly slow pace.
  • Baby Steps for a beginner? Mistakes to avoid? | 2021-09-17
    I've used SFML for some c++ practice. It offers a window, some event handling, and 2D rendering (sprite drawing). It's a good example of what I mean when I say "limited environment".
  • Should I make a small game engine?
    SDL2 has been mentioned which is excellent, and you could have a look at SFML which has similar features but it's C++ instead of C.
  • Best lenguage for making a game from scratch? | 2021-09-08
    If you don't want to use an engine, but you don't want to go into OS specific stuff:
  • Basic visualization when coding with C++? | 2021-08-31
    If you want to write everything then I'd suggest taking a look at SFML and imGUI

What are some alternatives?

When comparing Phaser and SFML you can also consider the following projects:

SDL - DEPRECATED: Official development moved to GitHub

PixiJS - The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.

GStreamer - GStreamer open-source multimedia framework core library

Unreal.js - Unreal.js: Javascript runtime built for UnrealEngine 4


JS Game - JavaScript + Canvas 2D game engine

whitestorm.js - :rocket: 🌪 Super-fast 3D framework for Web Applications 🥇 & Games 🎮. Based on Three.js

LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website

cray - A simple and easy-to-use library to enjoy videogames programming

three.js - JavaScript 3D Library.

love - LÖVE is an awesome 2D game framework for Lua.

BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.