dgcor / DGEngine

An implementation of the Diablo 1 game engine
Other
243 stars 30 forks source link

Fix D2 tiles offsets and other D2 maps issues #32

Open ghost opened 4 years ago

ghost commented 4 years ago

Now that diablo 2 maps can be loaded, there are a few remaining issues with maps.

if you walk to the edge of the map, the player should be on the edge of the map and not outside it. This is probably because of the offsets being applied right now to DT1 tiles.

d2_offsets

The roofs in Act2/Town are not showing correctly as well.

d2_offsets2

Some other points:

  "texturePack": [
    {
      "id": "town",
      "texturePacks": [
        "treegroups",
        "stonewall",
        "floor",
        "warp",
        "river",
        "objects",
        "fence",
        "objects2"
      ]
    }
  ],