1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-27 02:29:23 +01:00
Commit graph

51 commits

Author SHA1 Message Date
Ell
aabb1ed5df added .editorconfig 2022-06-17 18:23:47 +02:00
Ell
59af00c89a Code cleanup, and marked AStar.InfiniteCost as obsolete 2022-06-15 11:38:11 +02:00
Ell
42993f1a0b Added LayerPositionF to MLEM.Extended 2022-06-06 23:50:13 +02:00
Ell
0a93fb7da7 Allow using a StaticSpriteBatch to draw an IndividualTiledMapRenderer 2022-06-06 22:56:48 +02:00
Ell
c0ce5a07ad Implemented IEquatable on a lot of classes that were missing it 2021-12-21 11:39:29 +01:00
Ell
636522bc3e resolved some documentation warnings 2021-11-30 11:46:06 +01:00
Ell
444b5c6afb copy base documentation for a lot of docfx unresolvable sources 2021-11-22 19:25:18 +01:00
Ell
abac738123 Removed LINQ Any and All usage in various methods to improve memory usage 2021-07-18 22:18:46 +02:00
Ell
35af9eee25 fixed some number parsing not using invariant culture 2021-03-28 06:20:27 +02:00
Ell
0ddb4afc3f allowed the GetArea extension to calculate flipping 2021-03-12 20:22:36 +01:00
Ell
45fc12b0cb added some additional tiled helper methods 2021-03-10 02:13:07 +01:00
Ell
1d80965d24 allow removing a tile using the new SetTile methd 2021-03-09 19:06:06 +01:00
Ell
14e97abf87 some more tiled map extension utility methods 2021-03-09 18:56:55 +01:00
Ell
0b39928334 minor general cleanup 2021-03-08 15:12:13 +01:00
Ell
dc514815c3 expose GetCollidingAreas 2021-03-07 22:13:24 +01:00
Ell
200058a611 added a method to make sidescrolling collision detection easier with TiledMapCollisions 2021-03-07 22:03:29 +01:00
Ell
6ef9f8ffb1 also switch order of x and y iteration in GetCollidingTiles 2021-03-07 20:59:10 +01:00
Ell
f2df639f9e reverse y loop in GetCollidingTiles to account for gravity usually pointing down 2021-03-07 20:45:00 +01:00
Ell
bb596c91ff cleaned up color extensions and move some methods to colorhelper instead 2020-11-04 23:44:41 +01:00
Ellpeck
deec553b22 code cleanup 2020-06-18 17:24:35 +02:00
Ellpeck
3f60b2460c finished the xml documentation for all packages 2020-05-22 20:32:38 +02:00
Ellpeck
422f0834b3 fixed tiled color parsing 2020-04-30 21:15:28 +02:00
Ellpeck
17a5b3ec74 only render visible layers 2020-04-30 15:57:20 +02:00
Ellpeck
36b7a16e24 some more tiled utilities 2020-04-29 22:14:33 +02:00
Ellpeck
26264bf576 allow a lot of mem classes to have custom data added to them 2020-03-21 00:49:43 +01:00
Ellpeck
deaa841657 only return non-blank tiles in TiledExtensions 2020-01-14 14:46:06 +01:00
Ellpeck
cba644e300 Revert "added tiled map copying"
This reverts commit 229e614d
2020-01-05 12:40:33 +01:00
Ellpeck
229e614d4a added tiled map copying 2020-01-05 01:33:13 +01:00
Ellpeck
56fbc77df7 added flipping to tile collisions, as well as an option to make custom collisions 2020-01-01 12:41:48 +01:00
Ellpeck
45c725f5ef added tile flipping to the renderer 2020-01-01 12:18:35 +01:00
Ellpeck
e2682e866d added the layer to collision infos 2019-12-30 19:19:40 +01:00
Ellpeck
7e887031de bleh 2019-12-27 23:10:57 +01:00
Ellpeck
c6fff090e6 added an easy way to find objects on a tiled map 2019-12-19 00:27:56 +01:00
Ellpeck
da244dd33e added a utility method to get all tiles from a position in tiled 2019-12-17 21:02:09 +01:00
Ellpeck
d3dc40600e added stub tileset tiles to make interaction with tiled easier 2019-12-07 15:17:40 +01:00
Ellpeck
e994793ad3 added a utility class that stores a layer, an x and a y 2019-12-07 13:00:50 +01:00
Ellpeck
3298608141 add a tiled method to get the index of a layer 2019-12-07 12:56:01 +01:00
Ellpeck
7952ba1582 made the individual tile map renderer show animations 2019-12-07 02:24:02 +01:00
Ellpeck
f93117622c made collision infos update properly on tile removal 2019-12-07 02:08:21 +01:00
Ellpeck
2bd62ee09d tiled sanity check 2019-12-06 16:12:57 +01:00
Ellpeck
4325d51c95 this was bothering me 2019-12-01 22:55:17 +01:00
Ellpeck
3dcc5fa9f5 fixed blank tiles not being properly overridden using the individual tiled map renderer 2019-12-01 16:57:34 +01:00
Ellpeck
45f48cc8fd fixed tile map collisions going out of bounds with big areas 2019-09-25 21:06:56 +02:00
Ellpeck
edcc7d44b5 make tiled extension area position optional 2019-09-25 20:37:20 +02:00
Ellpeck
84e1958b4e add a tiled method that doesn't require ushort casts to get tiles 2019-09-24 12:26:38 +02:00
Ellpeck
dbe02645f1 some tiled sanity checks 2019-09-24 12:21:12 +02:00
Ellpeck
ae849c63e7 added a sandbox 2019-09-19 20:23:18 +02:00
Ellpeck
16e7212190 move out updating draw and collision info so that, when a tile on the map gets changed, they can be called individually 2019-09-19 11:11:47 +02:00
Ellpeck
6f8a414ee2 move the depth function to assign depth statically 2019-09-18 18:47:10 +02:00
Ellpeck
55c9e061f8 added tiled map collisions 2019-09-18 15:54:20 +02:00