Closed intermet closed 7 months ago
Thanks! I understand now more the Flash Movie clip structure. The thing is that in Flash, shapes are coded in vector graphics (not png). I guess we should ultimately use the svg and not the png. I was able to implement code the rotations. I obtain pretty good results :
There is one thing that I cannot figure out: some maps seem to have multiple background, even if only one is provided in the swf file of the map. For example:
or I cannot find in the loader source code where those backgrounds are loaded.
For these 2 examples, it's actually a problem with Jeff exporting empty sprites (didn't got root cause yet) There's always only one background per map on Dofus 1 I haven't tried SVG because (as far as I know) there's no tool for exporting correctly in this format (not satisfied with JPEXS about it)
About rotations, I think we had something already, but feel free to open a PR if you got better results 😄 (I know it's wasn't fully handled)
Hi! I was wondering about the json file https://cdn.dofusretro.fr/img/maps-gfx//object/object.json. The sprites can be found easily in the files
clips/o*.swf
. But what about the offsets x, y, that are used to properly place the objects over the cells? I am currently trying to improve and complete the features. Thanks!