felipesanches / AnotherWorld_VMTools

Toolchain for software development targeting the virtual machine originally designed for Eric Chahi's Another World game.
21 stars 2 forks source link

We need a polygon encoder #19

Open felipesanches opened 2 years ago

felipesanches commented 2 years ago

In order to develop custom games/programs to run on this VM we will need an encoder that reads poligonal data (I think we can use SVG files for that) and outputs the data structures in the format used on cinematic resources. It should be an exact inverse of the algorithms available at https://github.com/felipesanches/AnotherWorld_VMTools/blob/main/releases/common_data/decode_polygons.py

An initial attempt is already available at https://github.com/felipesanches/AnotherWorld_VMTools/blob/main/releases/common_data/encode_polygons.py but still needs to be reviewed and debugged.