d35331fdb0
Add items in inventory
Yohann D'ANELLO
2020-11-11 16:49:04 +01:00
f11fb31c28
Interact with items
Yohann D'ANELLO
2020-11-11 16:47:19 +01:00
2b5d82db57
Spawn also items
Yohann D'ANELLO
2020-11-11 16:23:27 +01:00
d75f4290ff
Store the start position in a map
Yohann D'ANELLO
2020-11-11 16:09:03 +01:00
279ef2439d
Limit the complexity of the dijkstra to eight
Yohann D'ANELLO
2020-11-11 16:02:32 +01:00
0f53407b3d
Use a larger example map
Yohann D'ANELLO
2020-11-11 16:00:40 +01:00
d08ff7061f
Use Dijkstra algorithm to describe monster paths
Yohann D'ANELLO
2020-11-11 15:25:50 +01:00
2f3a03dbf7
The camera position should consider the width of a tile
Yohann D'ANELLO
2020-11-11 15:10:46 +01:00
1e66e263bc
Use bricks for walls
Yohann D'ANELLO
2020-11-11 15:09:28 +01:00
e3d28409f5
Repaired tthe display problem for settings menu
eichhornchen
2020-11-11 14:56:00 +01:00
d9b7db742a
Added settings diplay and ability to change the keys (there is a refreshing problem though)
eichhornchen
2020-11-11 14:46:25 +01:00
56ba9d186e
Display message if we are dead
Yohann D'ANELLO
2020-11-11 01:17:00 +01:00
6e8cfdcb1a
Spawn new entities on each level (will be removed, only for tests)
Yohann D'ANELLO
2020-11-11 01:07:19 +01:00
c5e6459d37
Fight other entities while bumping them, without any weapon
Yohann D'ANELLO
2020-11-11 01:04:30 +01:00
9909b12501
Fight other entities
Yohann D'ANELLO
2020-11-11 00:50:47 +01:00
5addd42535
Only refresh entities if the player moved, ignore most events
Yohann D'ANELLO
2020-11-11 00:38:02 +01:00
279d9d9f58
Monsters can hit the player. No respect for unarmed people...
Yohann D'ANELLO
2020-11-10 23:00:09 +01:00
f9f02b6621
Move to closest player if it is close
Yohann D'ANELLO
2020-11-10 22:59:02 +01:00
12ee436f4d
Fix broken game test
Yohann D'ANELLO
2020-11-10 22:44:53 +01:00
d26b66f337
Add possibility to define the background color of entities (black in ASCII, white in Unicode)
Yohann D'ANELLO
2020-11-10 22:34:12 +01:00
a8223aab2e
Add possibility to define the background color of entities (black in ASCII, white in Unicode)
Yohann D'ANELLO
2020-11-10 22:30:55 +01:00
ec6b90fba2
All entities can move, not only players
Yohann D'ANELLO
2020-11-10 22:10:28 +01:00
2045a57907
Don't add any additional space to unicode entities
Yohann D'ANELLO
2020-11-10 22:07:03 +01:00
1684647ea2
Missing type
Yohann D'ANELLO
2020-11-10 22:04:38 +01:00
26196a7dca
Move the camera with the player
Yohann D'ANELLO
2020-11-10 22:02:41 +01:00
d5ef041f48
Tiles can have multiple width according to the used texture pack for a better support of unicode
Yohann D'ANELLO
2020-11-10 22:01:57 +01:00
3f4c809db6
Monsters are hedgehogs 🦔
Yohann D'ANELLO
2020-11-10 21:47:36 +01:00
3f374d2558
Spawn a random amount of squirrels on the map
Yohann D'ANELLO
2020-11-10 21:41:54 +01:00
3b3b8ee8da
Merge branch 'display' into 'master'
ynerant
2020-11-10 21:34:34 +01:00
3416ce2ac3
Ignore unreachable code in test environment, we have now 99% of coverage
Yohann D'ANELLO
2020-11-10 21:32:42 +01:00
7173d13495
Slightly cover bootstrap, to increase more and more coverage. Ensure that there is no associated shell
Yohann D'ANELLO
2020-11-10 21:32:10 +01:00
e9ac448854
Screen is resizable (but please be nice with it)
Yohann D'ANELLO
2020-11-10 21:20:11 +01:00