[Comparer les moteurs de jeu](https://bloomengine.dev/fr/compare)

# Bloom ou raylib ?

raylib convient à une boucle de jeu en C, à l’enseignement ou au Raspberry Pi. Bloom propose une API procédurale similaire en TypeScript avec PBR et Jolt.[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02")[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")

Dernière vérification 2 décembre 2026

| Caractéristique | Bloom Engine | raylib |
| --- | --- | --- |
| Langage du jeu | TypeScript[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02") | C99[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02") |
| Licence du moteur | MIT[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02") | zlib/libpng[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02") |
| Version actuelle | 0.4.19[\[2\]](https://registry.npmjs.org/@bloomengine/engine/latest "Source 2 · Dernière vérification 2026-12-02") | 6.2[\[8\]](https://github.com/raysan5/raylib/releases/tag/6.2 "Source 8 · Dernière vérification 2026-12-02") |
| Éditeur | Éditeur du monde séparé[\[3\]](https://github.com/Bloom-Engine/editor#status "Source 3 · Dernière vérification 2026-12-02") | Centré sur le code[\[7\]](https://www.raylib.com/ "Source 7 · Dernière vérification 2026-12-02") |
| Cibles de jeu | macOS · Windows · Linux · iOS · tvOS · watchOS · visionOS · Android · Web[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "Source 4 · Dernière vérification 2026-12-02") | Windows, Linux, macOS, Android, Raspberry Pi, instructions de compilation pour HTML5 et FreeBSD[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02") |
| Rendu | wgpu · Metal · DX12 · Vulkan · OpenGL · WebGPU / WebGL · SwiftUI / SceneKit[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "Source 4 · Dernière vérification 2026-12-02") | OpenGL / OpenGL ES[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02") |
| Physique | Jolt sur les cibles natives prises en charge. watchOS utilise un backend différent.[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "Source 4 · Dernière vérification 2026-12-02") | Collision et simulation définies par le jeu[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02") |
| Travail avec un agent | Fichiers TypeScript compilés avec Perry[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02") | Modifier les fichiers sources avec votre agent de programmation[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02") |
| Prix | L'engine est gratuit selon sa licence publiée.[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02") | L'engine est gratuit selon sa licence publiée.[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02") |

L'expérience de course publiée ne comporte pas de session pour ce moteur. [Lire l'expérience](https://bloomengine.dev/fr/blog/one-racing-game-six-ways) · [Code et journaux](https://github.com/Bloom-Engine/racer-experiment)

## Déplacer un sprite

Le sprite avance vers la droite à 120 unités par seconde et revient au début à 640. [Télécharger sprite.png](https://bloomengine.dev/compare/sprite.png)

### Bloom Engine

Placez sprite.png à côté de l'exécutable et lancez-le depuis ce dossier. Utilisez l'engine publié avec Perry et Rust.[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")[\[2\]](https://registry.npmjs.org/@bloomengine/engine/latest "Source 2 · Dernière vérification 2026-12-02")[\[3\]](https://github.com/Bloom-Engine/editor#status "Source 3 · Dernière vérification 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "Source 4 · Dernière vérification 2026-12-02")

main.ts

```
import { initWindow, runGame, clearBackground, Colors } from "@bloomengine/engine";
import { loadTexture, drawTexture } from "@bloomengine/engine/textures";

initWindow(640, 360, "Bloom");
const sprite = loadTexture("sprite.png");
let x = 0;
runGame((dt) => {
  x = (x + 120 * dt) % 640;
  clearBackground(Colors.BLACK);
  drawTexture(sprite, Math.floor(x), 180, Colors.WHITE);
});
```

### raylib

Compiler avec raylib et lancer depuis le répertoire contenant sprite.png.[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02")[\[7\]](https://www.raylib.com/ "Source 7 · Dernière vérification 2026-12-02")[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")

main.c

```
#include <raylib.h>
#include <math.h>

int main(void) {
    InitWindow(640, 360, "raylib");
    Texture2D sprite = LoadTexture("sprite.png");
    float x = 0;
    SetTargetFPS(60);
    while (!WindowShouldClose()) {
        x = fmodf(x + 120 * GetFrameTime(), 640);
        BeginDrawing();
        ClearBackground(BLACK);
        DrawTexture(sprite, (int)x, 180, WHITE);
        EndDrawing();
    }
    UnloadTexture(sprite);
    CloseWindow();
    return 0;
}
```

## Choisissez Bloom si…

Vous souhaitez une boucle de dessin familière en TypeScript, des physiques 3D intégrées et des cibles natives sur mobile ou TV Apple.[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")[\[2\]](https://registry.npmjs.org/@bloomengine/engine/latest "Source 2 · Dernière vérification 2026-12-02")[\[3\]](https://github.com/Bloom-Engine/editor#status "Source 3 · Dernière vérification 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "Source 4 · Dernière vérification 2026-12-02")

## Choisissez raylib si…

Vous souhaitez des exemples en C simples, un contrôle direct sur votre boucle ou une compilation sur Raspberry Pi.[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02")[\[7\]](https://www.raylib.com/ "Source 7 · Dernière vérification 2026-12-02")[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")

## Remarques sur la migration

Conservez la boucle de frame et l'art. Traduisez les handles et les appels, vérifiez la durée de vie des textures et le comportement des collisions. Bloom est une implémentation indépendante inspirée par raylib.[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02")[\[7\]](https://www.raylib.com/ "Source 7 · Dernière vérification 2026-12-02")[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")

## Questions fréquemment posées

### Un projet raylib peut-il importer Bloom comme une liaison ?

Bloom possède sa propre implémentation et son package. Les motifs de appel familiers de raylib aident à un port manuel, mais les API et les handles de ressources diffèrent.[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02")[\[7\]](https://www.raylib.com/ "Source 7 · Dernière vérification 2026-12-02")[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")

### Combien coûte l’utilisation de raylib ?

L'engine est gratuit selon sa licence publiée.[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02")

### Qu'est-ce que je peux réutiliser lors du passage à Bloom ?

Conservez la boucle de frame et l'art. Traduisez les handles et les appels, vérifiez la durée de vie des textures et le comportement des collisions. Bloom est une implémentation indépendante inspirée par raylib.[\[6\]](https://github.com/raysan5/raylib/tree/6.2 "Source 6 · Dernière vérification 2026-12-02")[\[7\]](https://www.raylib.com/ "Source 7 · Dernière vérification 2026-12-02")[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")

### Quelles limitations de Bloom sont pertinentes pour cette décision ?

Bloom est en préversion. Le paquet publié porte la version 0.4.19. La compilation nécessite Perry et Rust. L’écosystème est restreint. La logique de jeu s’écrit en code. L’outil distinct World Editor permet de travailler le terrain et de placer des entités. La création de prefabs reste inachevée. Bloom ne fournit pas d’éditeur visuel généraliste pour la logique de jeu.[\[1\]](https://github.com/Bloom-Engine/engine/tree/3cde2788 "Source 1 · Dernière vérification 2026-12-02")[\[2\]](https://registry.npmjs.org/@bloomengine/engine/latest "Source 2 · Dernière vérification 2026-12-02")[\[3\]](https://github.com/Bloom-Engine/editor#status "Source 3 · Dernière vérification 2026-12-02")[\[4\]](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md "Source 4 · Dernière vérification 2026-12-02")

[Passer un jeu raylib en TypeScript](https://bloomengine.dev/fr/alternatives/raylib-typescript)

## Sources

Dernière vérification 2 décembre 2026

1.  [github.com /Bloom-Engine/engine/tree/3cde2788](https://github.com/Bloom-Engine/engine/tree/3cde2788)
2.  [registry.npmjs.org /@bloomengine/engine/latest](https://registry.npmjs.org/@bloomengine/engine/latest)
3.  [github.com /Bloom-Engine/editor](https://github.com/Bloom-Engine/editor#status)
4.  [github.com /Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md](https://github.com/Bloom-Engine/engine/blob/3cde2788/docs/watchos-target.md)
5.  [apps.apple.com /us/app/bloom-jump/id6761447092](https://apps.apple.com/us/app/bloom-jump/id6761447092)
6.  [github.com /raysan5/raylib/tree/6.2](https://github.com/raysan5/raylib/tree/6.2)
7.  [raylib.com](https://www.raylib.com/)
8.  [github.com /raysan5/raylib/releases/tag/6.2](https://github.com/raysan5/raylib/releases/tag/6.2)

[Markdown](https://bloomengine.dev/fr/compare/raylib.md)
