Phaser AE

3D core

Free packv3.0.0-33DCore

The start of every 3D game: meshes, models, light, a camera, text, sound, input, particles and collisions in one pack, configured to work together. You spawn a box or a character with one call and move it the way the player sees it.

This is a Free pack. Every phaser.io account can use it in their games.

Released October 14, 2026 · updated October 15, 2026

3D core: a screenshot of its demo
A note about these graphics

Expansion packs don't come with graphics. This screenshot is one way of drawing what the pack does, made for its demo: none of the sprites, tiles or backgrounds in it are in the pack.

That's by design. A pack is a game's logic, mechanics and effects, and it works with whatever art you give it. Some packs draw effects, backdrops or 3D scenes of their own, but none carries a game's sprites.

So the look is yours. Make the art on phaser.io, bring your own, or let your agent draw it in code: the same pack can look like anything.

The pack

core3d

function core3d(): Pack<Core3dApi>

The 3D core. No options: everything it composes is configured by its defaults, or by naming that pack in the manifest.

Types

Core3dApi

interface Core3dApi

What core-3d puts on the game.

  • text(text: string | number, x: number, y: number, style?: TextStyle): Text — Text on the HUD, centered on screen pixels x, y by default: game.text('Score 0', 640, 40, { size: 32 }).
  • readonly background: Background — What is behind everything, behind every mesh: a color, a gradient (a sky), stars, a picture.
  • moveDir(right: number, forward: number): { x: number; z: number } — A move on screen as a direction on the ground, for the camera as it is turned now: right is toward the screen's right, forward away from the camera, each -1..1. Returns world { x, z } (y is up, so it never climbs). Arrow keys through this move a thing the way the player sees it, whichever way the camera faces: const d = game.moveDir(ax, az); hero.x += d.x * SPEED * dt; hero.z += d.z * SPEED * dt;