deepnight/gameBase

Assets init world error?

Closed this issue · 3 comments

run: haxe build.js.hxml
log:

src/game/Game.hx:90: characters 33-43 : assets.World has no field all_worlds
src/game/Game.hx:44: characters 31-41 : assets.World has no field all_worlds
src/game/Level.hx:67: characters 21-27 : assets.Layer_Collisions has no field render

so, i found

World.hx

private typedef _Tmp =
    haxe.macro.MacroType<[ ldtk.Project.build("res/levels/sampleWorld.ldtk") ]>;

Hi,
Are you using latest LDtk API & latest GameBase from GIT?

Hi, Are you using latest LDtk API & latest GameBase from GIT?

use setup.hxml install packages,ldtk-haxe-api version 1.0.79

reinstall ldtk is to work, thinks. @deepnight