Transmute Core comes packed with features to help you build retro-style 2D games quickly and efficiently.
Consistent 60 FPS game logic with delta time support for smooth gameplay.
Direct pixel manipulation using BufferedImage and DataBufferInt for maximum performance.
Built-in sprite sheet support with frame-based animations out of the box.
Stack-based state system for managing menus, gameplay, pause screens, and more.
Deferred loading system with automatic asset registration and batch loading.
Built-in audio playback for sound effects and background music in your games.
Get started with just a few lines of code. Transmute Core's API is designed to be intuitive and easy to learn.
1import TransmuteCore.core.TransmuteCore;
2import TransmuteCore.core.GameConfig;
3import TransmuteCore.core.Manager;
4import TransmuteCore.core.interfaces.services.IRenderer;
5import TransmuteCore.graphics.Context;
6import TransmuteCore.graphics.Color;
7
8public class MyGame extends TransmuteCore {
9 public MyGame(GameConfig config) {
10 super(config);
11 }
12
13 @Override
14 public void init() {
15 // Initialize your game
16 }
17
18 @Override
19 public void update(Manager manager, double delta) {
20 // Update game logic (60 times/second)
21 }
22
23 @Override
24 public void render(Manager manager, IRenderer renderer) {
25 Context ctx = (Context) renderer;
26 ctx.renderText("Hello, Transmute Core!", 50, 100,
27 Color.toPixelInt(255, 255, 255, 255));
28 }
29
30 public static void main(String[] args) {
31 GameConfig config = new GameConfig.Builder()
32 .title("My Game")
33 .version("1.0")
34 .dimensions(320, GameConfig.ASPECT_RATIO_SQUARE)
35 .scale(3)
36 .build();
37
38 MyGame game = new MyGame(config);
39 game.start();
40 }
41}That's it! You now have a working game window with custom rendering.
View Full Tutorial →Create your first Transmute Core game with just three simple commands.
Download and install the Transmute CLI tool
$ curl -fsSL https://raw.githubusercontent.com/transmute-games/transmute-core/master/scripts/install-cli.sh | shGenerate a new game project with the CLI
$ transmute new my-gameBuild and run your game instantly
$ ./gradlew runJoin developers worldwide using Transmute Core to create amazing retro-style 2D games. Open source, MIT licensed, and free forever.
Transmute Core is maintained by Transmute Games and the open source community.