Version 2.7
Playable 2D and 3D game development — complete workflows verified end-to-end with 60 passing regression tests.
Overview
Playable 2D and 3D game development — complete workflows verified end-to-end with 60 passing regression tests.
Version 2.7
New Features
2D Sprite Rendering & Animation
ctx.drawImage rendering with image cache and pre-loading. Frame-based animation: animation_frames cycling, per-frame duration, animation_speed multiplier.
2D Tilemaps
Tilemap editor (TilemapEditor, TilePalettePanel, LayerPanel) with tile collision via Physics2D.
2D Collision & Physics
Physics2D: gravity, jumping, platform collision, ground detection, double-jump support.
2D Player Movement & Input
WASD/Arrows + Space jump, mobile controls via UniversalControls, trigger events for scene transitions.
2D Health, Damage, Collectibles
HP system, damage with invincibility frames, collectibles (coins/score), game-over and victory screens.
3D Mesh/Material/Texture Rendering
Runtime3D: GLB/GLTF loading, PBR materials, textures, object transforms.
3D Cameras & Lighting
PerspectiveCamera, AmbientLight, DirectionalLight, shadows, camera follow.
3D Collision & NavMesh
Ground detection, NavMesh A* pathfinding, collision response.
3D Character Movement
WASD movement, jump, terrain following, camera follow.
3D Raycasts & Interactions
Raycaster for object clicks, interaction prompts via FluxScript.
3D Animation Integration
AnimationSystem with GLB clip playback, state transitions, resource disposal.
Player/Camera Creation Reliability
Player object with visible sprite/model, correct transforms, input, collision, camera — auto-repair for empty scenes.
Basic Gameplay Framework
Health, score, collectibles, enemies, triggers, game-over, victory, restart — all wired to Runtime3D/2D.
End-to-End 2D Verification
22-test regression suite: project construction, normalisation, Physics2D collision, gameplay loop, save/reload round-trip, checksum integrity, FluxScript wiring.
End-to-End 3D Verification
30-test regression suite: 3D object normalisation (position3d/rotation3d/scale3d), distance-based collision, NavMesh pathfinding, gameplay loop, save/reload, checksums, camera config, material colors.
Improvements
Asset Pipeline
GLB/GLTF/OBJ/FBX import, texture reconnection, LOD, collision generation — all verified.
Sketchfab Integration
Search + authorised download via API token, format validation — verified.
Bug Fixes
Water shader vWorldPosition
Added custom vWPos varying for cross-browser compilation safety.
Breaking Changes
No breaking changes. This version is backward-compatible.
Migration
No migration steps required. Existing projects continue to work without modification.
