Commit Graph

31 Commits

Author SHA1 Message Date
752c3daa24 Added TODO markers 2020-05-09 22:30:21 +02:00
Mateusz
b4624c4c56 raport progress 2020-04-27 11:06:14 +02:00
Michał Czekański
013e8b524d Add new getTileOnCoord method
New method uses pygame.rect.collidepoint method which doesn't need exact tile's coordinates
2020-04-26 18:42:00 +02:00
Michał Czekański
87fc6bea1f Fix not adding grass tiles to terrainTilesList 2020-04-26 18:34:38 +02:00
Michał Czekański
08d425b938 Fix sea being not collidable
Player can't walk over sea
2020-04-26 18:11:54 +02:00
Mateusz
53ee1e1f10 refactor and describe map lists and methods 2020-04-26 13:36:19 +02:00
Michał Czekański
deeba7c740 Spaghetti code, not working 2020-04-26 03:59:09 +02:00
Mateusz
8b9d953553 add terrainTilesList 2020-04-26 01:37:27 +02:00
Mateusz
d44274397d describe sprites costs 2020-04-25 23:34:49 +02:00
e37a17cadd Added getTileOnCoord method 2020-04-25 22:49:57 +02:00
9e7c4f1ae0 Map can now load interactable entities 2020-04-06 10:35:58 +02:00
Wirus
752284a90d transparent textures 2020-04-06 00:43:20 +02:00
2af94a27e9 Fixed filename 2020-04-05 23:58:03 +02:00
7b34e04665 Fixed syntax 2020-04-05 23:43:15 +02:00
a06ce53fc1 Implemented getEntityOnCoord method 2020-04-05 23:42:41 +02:00
c46745f8c0 Merge remote-tracking branch 'origin/MapNew' into EntityCreator 2020-04-05 23:15:28 +02:00
864877b866 Added loading sprites from json 2020-04-05 23:14:21 +02:00
1ef4d65045 Implemented loading entities from json 2020-04-05 22:49:50 +02:00
Wirus
55fb38aa0a add water texture to Map 2020-04-05 21:46:04 +02:00
Wirus
36fbdbab62 Map: removeSpriteFromMap 2020-04-05 21:18:11 +02:00
Wirus
cceb1d50c6 add sand texture to map 2020-04-05 22:07:37 +02:00
Wirus
f399ba0d53 add entity to collidables in Map method 2020-04-05 20:24:28 +02:00
Wirus
c121519605 move collision to Map class 2020-04-05 20:20:37 +02:00
Wirus
853a3b1601 Map: collidable group of sprites
TerrainTile: position attributes
EventManager: collision method
2020-04-05 19:08:08 +02:00
Wirus
16e361540e Map: delete import Player 2020-04-05 15:51:16 +02:00
Wirus
6a1fe72cab Game: correct declarative order
Map: collidableTerrain list
2020-04-05 15:41:42 +02:00
Wirus
9d9cd159a0 addEntity method in Map 2020-04-05 14:53:54 +02:00
46441b94c9 Removed redundant argument 2020-04-03 23:09:00 +02:00
9ef8d99c61 Fixed map rendering 2020-04-03 23:07:12 +02:00
Mateusz Tylka
1e179598f6 drawTerrain in Map class, examle map draw 2020-04-03 19:36:13 +02:00
1c28b3a644 Initialized classes & file structure 2020-03-31 21:47:09 +02:00