Commit Graph

51 Commits

Author SHA1 Message Date
nicomarg b0292c05b2 The settings menu refreshes texture pack when exited 2020-11-11 23:48:46 +01:00
Yohann D'ANELLO cde0b19c72 KeyValues.translate_key returns a KeyValues object 2020-11-11 22:47:51 +01:00
Yohann D'ANELLO edecb7eb90 I felt frustrated to don't have 100% of coverage 2020-11-11 22:45:57 +01:00
Yohann D'ANELLO caef8dc9b2 Cover settings 2020-11-11 22:45:15 +01:00
Yohann D'ANELLO 0c17e74d6a Key handler does not depend on curses's screen anymore 2020-11-11 22:36:42 +01:00
Yohann D'ANELLO 748561e87d More separation on menu code 2020-11-11 22:22:33 +01:00
Yohann D'ANELLO 53077aacb0 Linting 2020-11-11 20:36:43 +01:00
Yohann D'ANELLO f33d8b8170 Merge branch 'inventory' into entities 2020-11-11 20:34:30 +01:00
Yohann D'ANELLO 8db00bcaa6 Fix broken tests 2020-11-11 16:58:20 +01:00
Yohann D'ANELLO 2b5d82db57 Spawn also items 2020-11-11 16:23:27 +01:00
Yohann D'ANELLO 0f53407b3d Use a larger example map 2020-11-11 16:00:40 +01:00
eichhornchen e3d28409f5 Repaired tthe display problem for settings menu 2020-11-11 14:56:00 +01:00
Yohann D'ANELLO c5e6459d37 Fight other entities while bumping them, without any weapon 2020-11-11 01:04:30 +01:00
Yohann D'ANELLO 9909b12501 Fight other entities 2020-11-11 00:50:47 +01:00
Yohann D'ANELLO 5addd42535 Only refresh entities if the player moved, ignore most events 2020-11-11 00:38:02 +01:00
Yohann D'ANELLO d26b66f337 Add possibility to define the background color of entities (black in ASCII, white in Unicode) 2020-11-10 22:34:12 +01:00
Yohann D'ANELLO 26196a7dca Move the camera with the player 2020-11-10 22:02:41 +01:00
Yohann D'ANELLO 3f374d2558 Spawn a random amount of squirrels on the map 2020-11-10 21:41:54 +01:00
Yohann D'ANELLO e9ac448854 Screen is resizable (but please be nice with it) 2020-11-10 21:20:11 +01:00
Yohann D'ANELLO 5c95bf11e7 Linting 2020-11-10 20:34:22 +01:00
Nicolas Margulies 1a1b906c8e Added main menu when launching the game, and fixed menus 2020-11-10 19:40:59 +01:00
Nicolas Margulies 17530f386c Reworked graphics to make it more modular 2020-11-10 18:08:06 +01:00
eichhornchen cb33d97cb7 Fixed game <-> display interaction (the game prints correctly \o/ ) 2020-11-10 10:57:27 +01:00
eichhornchen 002de68a0a Corrected bugs(some still remain) 2020-11-10 10:49:11 +01:00
eichhornchen a4876bb7af repaired display 2020-11-09 01:33:23 +01:00
Yohann D'ANELLO 65d89b7f9f Add some comments 2020-11-08 23:31:17 +01:00
Yohann D'ANELLO 259bde81a4 Back to menu by pressing space button 2020-11-08 23:26:54 +01:00
Yohann D'ANELLO 7e92086601 Start game button is working 2020-11-08 23:08:38 +01:00
Yohann D'ANELLO dc3f55cff3 MapDisplay extends Display 2020-11-08 23:03:59 +01:00
Yohann D'ANELLO 8ccf8c7b67 Display main menu by default 2020-11-08 22:59:11 +01:00
Yohann D'ANELLO b5b76fd07b Make the game start 2020-11-06 20:24:19 +01:00
Yohann D'ANELLO c97a9a2e6c Test some functions in the game 2020-11-06 19:12:56 +01:00
Yohann D'ANELLO dc0d478d1e init -> __init__ 2020-11-06 18:39:55 +01:00
Yohann D'ANELLO a1731dc9f7 Default coordinates are (1, 6) 2020-11-06 18:38:10 +01:00
ynerant 9c344790a1 Merge branch 'master' into 'game'
# Conflicts:
#   dungeonbattle/game.py
#   dungeonbattle/mapdisplay.py
2020-11-06 18:36:59 +01:00
Yohann D'ANELLO 60d6c7509a Bind Return key to menus 2020-11-06 18:25:02 +01:00
Yohann D'ANELLO 8d9b5166b7 Linting 2020-11-06 18:11:59 +01:00
Nicolas Margulies 43001f6ede Basic menu handling 2020-11-06 18:06:28 +01:00
Yohann D'ANELLO 54bb2d1416 Collisions are working 2020-11-06 17:59:19 +01:00
Yohann D'ANELLO 8641e7d13d User player entity instead of temporary Player class 2020-11-06 17:48:47 +01:00
Nicolas Margulies e3a1bf96c2 Used settings for keys 2020-11-06 17:24:20 +01:00
Nicolas Margulies 6e5cd9084b Finished cleaning conflicts 2020-11-06 17:02:59 +01:00
Nicolas Margulies 065f648118 Merged master into game 2020-11-06 16:49:39 +01:00
Yohann D'ANELLO 8ccb74ea54 Linting 2020-11-06 15:33:26 +01:00
Yohann D'ANELLO 5ca2827706 Write and load settings at the start of the game 2020-11-06 14:59:27 +01:00
Nicolas Margulies bbbcb1b10e Corrigé la merde de Charles 2020-11-06 14:23:12 +01:00
Charles Peyrat f3bc3101f0 Code refactoring in game.Game 2020-10-23 18:01:39 +02:00
Yohann D'ANELLO 8437482139 Clear screen before redrawing 2020-10-23 15:40:32 +02:00
Yohann D'ANELLO d264bb45cf Handle player position in game display 2020-10-23 15:14:19 +02:00
Yohann D'ANELLO eea9b45f6c Use map display 2020-10-23 15:00:59 +02:00