aboutsummaryrefslogtreecommitdiff
path: root/src/Game/Map.hs
AgeCommit message (Collapse)Author
2024-05-17formattingHEADmainJuan J. Martinez
2024-05-11SimplifiedJuan J. Martinez
2023-05-28Fix horizontal rendering for 16x16 tilesJuan J. Martinez
It almost fixes vertical too, but there's an issue with the viewport.
2023-05-23Add deadly tiles in the blocked layerJuan J. Martinez
Currently supported by enemies.
2023-05-02Use vector instead of listJuan J. Martinez
Should be more performant, access O(1) to elements.
2023-05-02Map animationsJuan J. Martinez
2023-04-30Support for multiple tilesetsJuan J. Martinez
- first one defines the tile layer tile size (e.g. 8x8) - can be of different size - parsing animation data for tile animations (WIP)
2023-04-28Better support for object propertiesJuan J. Martinez
Can read multiple and different types.
2023-04-25Reading direction property from entitiesJuan J. Martinez
2023-04-25Added "tracker" enemyJuan J. Martinez
2023-04-19Added "runner" enemyJuan J. Martinez
2023-04-17Added new shooter enemyJuan J. Martinez
2023-04-14Load the map list from a JSON fileJuan J. Martinez
2023-03-26Support entities facing leftJuan J. Martinez
Perhaps it would be better to support "custom properties" in tiled, but this is OK for now.
2023-03-04Fix rendering for vertical scrollJuan J. Martinez
There's still the issue of not doing clipping on the top of the screen.
2023-03-01Pass an optional offset to the viewportJuan J. Martinez
2023-03-01Added a FIXMEJuan J. Martinez
2023-03-01Scroll using SDL's viewportJuan J. Martinez
Horizontal needs testing.
2023-02-26Draw the HUB on the top of the screenJuan J. Martinez
2023-02-21New Robot enemy.Juan J. Martinez
2023-02-17Added fixed pattern enemy (slimes)Juan J. Martinez
2023-02-15Game state, HUD, ... WIPJuan J. Martinez
Exploring ideas.
2023-02-13Pickups WIPJuan J. Martinez
TODO: collision
2023-02-10Moved the entity spawn to Entity moduleJuan J. Martinez
2023-02-09Make entities in the map moduleJuan J. Martinez
This needs to be reviewed.
2023-02-09Spawn objectsJuan J. Martinez
For now only the Player.
2023-02-09Better messageJuan J. Martinez
2023-02-09Object layer support for map entitiesJuan J. Martinez
2023-02-07Using OverloadedRecordDotJuan J. Martinez
2023-02-04Initial importJuan J. Martinez