head to head · open source

raylib vs fheroes2

raylib has 35,850 GitHub stars, 3,418 forks, 16 open issues and last shipped 2 days ago. fheroes2 has 3,743 stars, 544 forks, 431 open issues and last shipped yesterday. raylib leads on adoption by 858% (35,850 vs 3,743 stars). raylib is written in C under Zlib; fheroes2 is written in C++ under GPL-2.0. raylib has attracted 10% as many forks as stars, fheroes2 15%. fheroes2 was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 2 topic tags (game-development, game-engine), so they are genuine substitutes rather than adjacent tools.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

raylib ★ 36K fheroes2 ★ 3.7K category Miscellaneous

← all 20902 open source comparisons

Side by side

raylib fheroes2
GitHub stars ★ 36K ★ 3.7K
License Zlib GPL-2.0
Written in C C++
Last push 2026-11-30 2026-12-01
Forks ⑂ 3.4K ⑂ 544
Self-hosting Yes Yes
Data ownership Your server Your server

pick raylib if

  • You weight community size — 36K stars and counting
  • You want the Zlib license terms
  • Your stack matches C
  • You value the larger contributor base for long-term maintenance

full raylib profile →

pick fheroes2 if

  • You want the fheroes2 feature set and don't need the biggest community
  • You prefer the GPL-2.0 license terms
  • Your stack matches C++
  • You evaluated both and fheroes2 fits your workflow better

full fheroes2 profile →

About raylib

raylib is a simple and easy to use library to enjoy videogames programming. raylib is highly inspired by Borland BGI graphics lib and by XNA framework and it's especially well suited for prototyping, tooling, graphical applications, embedded systems and education. NOTE for ADVENTURERS: raylib is a programming library to enjoy videogames programming; no fancy interface, no visual helpers, no debug button... just coding in the most pure spartan programmers way. Ready to learn? Jump to code examples! features NO external dependencies , all required libraries are included in raylib Multiple platforms supported…

read the full raylib overview →

About fheroes2

fheroes2 fheroes2 is a recreation of the Heroes of Might and Magic II game engine. This open source multiplatform project, written from scratch, is designed to reproduce the original game with significant improvements in gameplay, graphics and logic (including support for high resolution graphics, improved AI, numerous fixes and user interface improvements), breathing new life into one of the most addictive turn based strategy games. You can find a complete list of all of our changes and enhancements in this page . Download and Install Please follow the installation guide to download and install fheroes2…

read the full fheroes2 overview →

More in Miscellaneous

Related comparisons

More Gaming projects

Compare either of these against the rest of the Gaming field.

Frequently asked questions

Is raylib or fheroes2 more popular?

raylib has 35,850 GitHub stars and fheroes2 has 3,743. raylib has the larger community by that measure.

Are raylib and fheroes2 free?

Both are open source. raylib is licensed under Zlib and fheroes2 under GPL-2.0. Neither carries a licence fee.

What is the difference between raylib and fheroes2?

raylib is written in C and fheroes2 in C++. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, raylib or fheroes2?

Choose raylib if you want the larger community (35,850 stars) or its Zlib licence terms. Choose fheroes2 if its feature set, stack or GPL-2.0 licence fits better. Both are self-hostable.