Commit Graph

314 Commits

Author SHA1 Message Date
1eb75fc354 Fixed abysmal draw method 2020-05-14 11:27:54 +02:00
e66b0d4a59 Removed redundant draw method params 2020-05-14 11:24:51 +02:00
6ed8423463 Added setter method usage 2020-05-14 11:23:04 +02:00
823eefac86 Fixed relative coord update 2020-05-14 11:18:58 +02:00
2bf0ed035b Added map coord offset 2020-05-14 11:15:27 +02:00
f224c8c657 Removed removeSprite method 2020-05-14 11:13:29 +02:00
ce50622b89 Removed removeSprite method 2020-05-14 11:13:09 +02:00
57b95e10df Added relative coords 2020-05-14 11:03:50 +02:00
cba207f98c Changed item pickup method 2020-05-13 20:17:32 +02:00
649b61a84e Added pickup to move method 2020-05-13 20:17:17 +02:00
b3d38403ad Added documentation 2020-05-13 19:50:53 +02:00
93472900b9 Removed A* calls from game 2020-05-13 19:48:51 +02:00
48e81e206b Enums refactor 2020-05-13 19:48:08 +02:00
effa48d7c3 Fixing item pickup action after completing the movement 2020-05-13 19:47:53 +02:00
a51661ae6e on_interaction method now removes the entity itself 2020-05-13 19:45:52 +02:00
28d9013983 Enums refactor 2020-05-13 19:36:06 +02:00
d6cf76f6bc Updated A* function calls 2020-05-13 19:34:16 +02:00
3ac188103a Player's movement adds fatigue 2020-05-13 19:32:52 +02:00
549c4f207f Movement moved to Entity 2020-05-13 19:31:51 +02:00
81bed4adeb All entities can now move 2020-05-13 19:25:08 +02:00
25345ae317 Removed objective implementation 2020-05-13 19:02:31 +02:00
dcdb4ac87e Fixed major bug 2020-05-13 19:00:33 +02:00
e270360690 Added non-objective implementation 2020-05-13 18:08:22 +02:00
11b467db32 Added pickup action in Movement enum 2020-05-13 17:36:54 +02:00
45e7c412f8 rotation field and getFacingCoord method moved from Player to Entity 2020-05-13 17:33:45 +02:00
16bb2cd311 Cleanup 2020-05-10 14:25:30 +02:00
f104e90a0f Added documentation 2020-05-10 13:27:06 +02:00
0eea13331f Added documentation & code beautification 2020-05-10 13:17:11 +02:00
01ce5796da Removed timer 2020-05-10 12:53:08 +02:00
a76965cd91 Player now keeps track of the movement delay 2020-05-09 22:54:15 +02:00
752c3daa24 Added TODO markers 2020-05-09 22:30:21 +02:00
fc47c697df Added more comments 2020-05-09 22:03:36 +02:00
Mateusz
d537eb089d Merge remote-tracking branch 'origin/master' 2020-04-27 14:18:02 +02:00
Mateusz
c96ecc64d8 README.md add A* information in Sterowanie 2020-04-27 14:17:48 +02:00
389183a4c2 Zaktualizuj 'route-planning.md' 2020-04-27 12:14:02 +00:00
Mateusz
b433b588f5 route-planning.md change screenshots to code mark
delete screenshots files
2020-04-27 14:06:23 +02:00
Mateusz
ddb30859d1 route-planning.md "u" more visible and correct project progress 2020-04-27 14:00:13 +02:00
Mateusz
3632a9ffbb route-planning.md add all screenshots and correct project progress section 2020-04-27 13:41:58 +02:00
Mateusz
ae551703fd add screenshots folder and images to route-planning.md raport
correct path in environment.md
style progress in route-planning.md
2020-04-27 13:33:01 +02:00
Mateusz
b23865b090 route-planning.md - successor function content 2020-04-27 12:47:59 +02:00
Mateusz
a6a8812ace route-planning.md - file links corrections 2020-04-27 12:23:40 +02:00
Mateusz
5a4228fcff route-planning.md - space corrections #1 2020-04-27 12:15:48 +02:00
Mateusz
20c3c269de route-planning.md - endline corrections #1 2020-04-27 12:08:30 +02:00
Mateusz
0d8d9309ae Raport route-planning.md main loop describe 2020-04-27 12:05:24 +02:00
Mateusz
b4624c4c56 raport progress 2020-04-27 11:06:14 +02:00
6fbc9184f4 Algorithm now picks up items 2020-04-26 20:22:16 +02:00
Michał Czekański
a6b717935f Extract clicks on collidables to new method - make code clear 2020-04-26 18:45:07 +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
2ba090b2d4 Add debug printing terrain tiles under mouse click 2020-04-26 18:41:05 +02:00
Michał Czekański
87fc6bea1f Fix not adding grass tiles to terrainTilesList 2020-04-26 18:34:38 +02:00