Commit Graph

761 Commits

Author SHA1 Message Date
Yohann D'ANELLO
8afa082708 Add Python 3.6 and 3.10 support, fixes #53 2020-12-20 18:02:39 +01:00
Yohann D'ANELLO
0b9606cbfe Update entities documentation 2020-12-20 17:52:44 +01:00
Yohann D'ANELLO
32072ade42 Fix some documentation issues 2020-12-19 13:37:28 +01:00
Yohann D'ANELLO
ed6457e94d Test credits menu 2020-12-18 23:39:56 +01:00
Yohann D'ANELLO
4b174f26e4 Better colors 2020-12-18 23:36:08 +01:00
Yohann D'ANELLO
411744bf10 Add credits menu, see #42 2020-12-18 22:24:41 +01:00
eichhornchen
ea5f5c1428 Added an original text art to serve as the project's logo. 2020-12-18 21:30:16 +01:00
Nicolas Margulies
762bed888a Working visibility (at least relatively good), but a few lines untested 2020-12-18 21:21:00 +01:00
Charles Peyrat
f5e5e365d4 Starting the implementation of the new map generator 2020-12-18 20:02:37 +01:00
Yohann D'ANELLO
c01307202a Add shields to be more protected, see #48 2020-12-18 20:01:52 +01:00
Yohann D'ANELLO
b876dab156 Register Trumpet as savable entity 2020-12-18 18:13:39 +01:00
Charles Peyrat
ba3d979f9c Fix syntax error 2020-12-18 18:10:52 +01:00
Yohann D'ANELLO
9aa684fb77 Use directly equipped items outside the inventory 2020-12-18 17:57:42 +01:00
Yohann D'ANELLO
9475725228 Save equipped item and armor 2020-12-18 17:50:26 +01:00
Yohann D'ANELLO
0394c5d15d Linting 2020-12-18 17:46:38 +01:00
Yohann D'ANELLO
e1918ab066 tick function takes the player as argument 2020-12-18 17:40:52 +01:00
Yohann D'ANELLO
1b4612afd0 Swords add strength 2020-12-18 17:39:11 +01:00
Yohann D'ANELLO
fe769c4488 We can equip items 2020-12-18 17:30:03 +01:00
eichhornchen
dadafc84eb Added a familiar class that follows the player around and hits monsters when it sees one. Added a trumpet, an instance of familiar. Closes #46. 2020-12-18 17:29:59 +01:00
Charles Peyrat
5fbb918132 Add walls even to map borders 2020-12-18 17:05:50 +01:00
Nicolas Margulies
86628fdea6 Working visibility and displaying it, still need to hide things that aren't visible 2020-12-18 17:04:45 +01:00
ynerant
330d78702a Merge branch 'capitalism' into 'master'
Sell items

Closes #50, #49 et #47

See merge request ynerant/squirrel-battle!51
2020-12-18 16:44:55 +01:00
Yohann D'ANELLO
77f52b6276 Screen is refreshed only when pads are all refreshed, fixes #50 2020-12-18 16:40:52 +01:00
Yohann D'ANELLO
5ae49e71ff Display the amount of hazels in the store menu, closes #49 2020-12-18 15:36:25 +01:00
eichhornchen
8ecbf13eae Being able to calculate paths is now a property of fighting entities. 2020-12-18 15:31:23 +01:00
Yohann D'ANELLO
46ce7c33bf Merchant menu is updated through its update function, and does not access globally to the Game instance 2020-12-18 15:15:47 +01:00
Yohann D'ANELLO
85870494a0 More generic display update 2020-12-18 15:07:09 +01:00
Yohann D'ANELLO
b8d32b29c8 Test selling items 2020-12-18 02:17:06 +01:00
Yohann D'ANELLO
c55a7451e7 Display more precisely where we are in the store menu 2020-12-18 01:50:11 +01:00
Yohann D'ANELLO
9a556ba669 We can now buy items to merchants, closes #47 2020-12-18 01:05:50 +01:00
Yohann D'ANELLO
a5890a341d Display inventory menu next to the merchant menu 2020-12-17 23:46:20 +01:00
Nicolas Margulies
62ce2b5c71 Merge remote-tracking branch 'origin/master' into lighting 2020-12-17 21:24:32 +01:00
Yohann D'ANELLO
a3e059a97b Some required code mysteriously disappeared 2020-12-15 17:37:23 +01:00
eichhornchen
646e0063be Fixed grammar, unified the docstring's format and added documentation to some classes that did not have any. Closes #32. 2020-12-13 21:29:25 +01:00
ynerant
3f62fbaa2b Merge branch 'erase-pads' into 'master'
Erase pad before resizing

Closes #45

See merge request ynerant/squirrel-battle!50
2020-12-12 21:20:45 +01:00
Yohann D'ANELLO
599f75b676 Erase pad before resizing, fixes #45 2020-12-12 21:19:55 +01:00
ynerant
cd5b7086f2 Merge branch 'wait' into 'master'
Add waiting key, fixes #16

Closes #16

See merge request ynerant/squirrel-battle!49
2020-12-12 18:16:31 +01:00
Yohann D'ANELLO
7971a1f70e Add waiting key, fixes #16 2020-12-12 18:12:37 +01:00
ynerant
5eefe1937a Merge branch 'pretty_boxes' into 'master'
Pretty boxes

Closes #44 et #28

See merge request ynerant/squirrel-battle!48
2020-12-12 17:42:38 +01:00
Yohann D'ANELLO
288a6ac2c9 Some translations were missing concerning sunflowers, fixes #44 2020-12-12 17:39:12 +01:00
Yohann D'ANELLO
73e1fac89a Add title to boxes to have pretty boxes, fixes #28 2020-12-12 17:15:08 +01:00
ynerant
158338637a Merge branch 'exploding_bomb' into 'master'
Add a small bomb exploding animation

Closes #31

See merge request ynerant/squirrel-battle!47
2020-12-12 16:53:26 +01:00
Yohann D'ANELLO
8608ce346f Add a small bomb exploding animation, fixes #31 2020-12-12 16:50:01 +01:00
ynerant
1986630da1 Merge branch 'change_image_color' into 'master'
Better color support

Closes #43

See merge request ynerant/squirrel-battle!46
2020-12-12 13:53:04 +01:00
Yohann D'ANELLO
04ae56e451 Higher abstraction level on addmsg, fixes #43 2020-12-12 13:46:45 +01:00
Yohann D'ANELLO
48318a91fe Give more hazels to the player when testing the interaction with merchants 2020-12-11 21:19:25 +01:00
Yohann D'ANELLO
777668848e Clicking on the main image changes its color 2020-12-11 21:17:21 +01:00
Yohann D'ANELLO
fb926f8c84 Always use predefined map in game unit tests 2020-12-11 19:27:57 +01:00
Nicolas Margulies
1cf5e7bd8b First implementation of visibility, not tested, nor used for now 2020-12-11 19:23:21 +01:00
Yohann D'ANELLO
209bde5b5c Fix sunflowers and merchants since the position of the player is no longer fixed 2020-12-11 19:21:02 +01:00