




















Point struct is replaced and some other smaller changes by using vek https://crates.io/crates/vek for geometric primitives like rectangle, color

twmap is all about the TwMap struct. https://docs.rs/twmap/0.9.1/twmap/ hast some examples of using the parse methods. https://docs.rs/twmap/0.9.1/twmap/struct.TwMap.html on here is the documentation for the TwMap struct itself, it contains the map groups, images, envelopes and everything else. To find more about those, click on their linked doc page. The page for the TwMap struct also contains all methods that are available


CompressedData then create GameLayer and so on but is this the right way to do it?
Array2<GameTile>Array2 is from the ndarray crate which provides 2D arrays

2
Array2 from a vector with a shape https://docs.rs/ndarray/latest/ndarray/struct.ArrayBase.html#method.from_vec, from a closure that takes the y, x coordinates https://docs.rs/ndarray/latest/ndarray/struct.ArrayBase.html#method.from_shape_fn or from a element that fills the entire array https://docs.rs/ndarray/latest/ndarray/struct.ArrayBase.html#method.from_elem
those are the most useful constructors in my experience :)Array2<GameTile> (assuming its bound to a variable tiles), you do Layer::Game(GameLayer { tiles: tiles.into() }) to create a layer you can add to a grouptwmap btw, #developer is probably the better place for that though 
1



