Add working debug level with grass and soil tiles

- Created DebugLevel class that bypasses complex TiledLevel loader
- Simple platform with grass tiles (10.gif) on top, soil tiles (10.gif) underneath
- Fixed tile texture paths to work with MAPS_PATH
- Fixed null check in User.js to prevent server crashes
- Working physics collision with Box2D
- Clean test environment for physics engine migration
This commit is contained in:
Karl Pannek 2025-07-16 12:51:31 +02:00
parent e6089687ed
commit 244dc50037
8 changed files with 336 additions and 6 deletions

View file

@ -0,0 +1,19 @@
define([
"Game/Core/Loader/DebugLevel"
],
function (Parent) {
"use strict";
function DebugLevel(uid, engine) {
Parent.call(this, uid, engine);
}
DebugLevel.prototype = Object.create(Parent.prototype);
// Channel side doesn't need any special handling beyond the core functionality
// The physics engine and tile creation is handled by the parent class
return DebugLevel;
});