When comparing Pixi.js vs raylib, the Slant community recommends raylib for most people. In the question“What are the best 2D game engines?” raylib is ranked 36th while Pixi.js is ranked 56th. The most important reason people chose raylib is:
Very good for begginers who are looking for game FRAMEWORKS.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Supports WebGL w/ canvas fallback
Pixi is a WebGL renderer, but can fall back to canvas if WebGL is not supported or turned off.
Pro Will be familiar to ActionScript developers
Pixi.js uses a code structure that's very similar to ActionScript.
Pro Simple
Very good for begginers who are looking for game FRAMEWORKS.
Pro Support forum
Though it's a small project, it has a forum on the webpage with helpful content available.
Cons
Con Not a complete solution
Pixi only provides the renderer.
Con Just coding
Lack of an interface, visual help or auto-debugging could make it difficult to use for a complete beginner.
