Yohann D'ANELLO
|
887a190f11
|
Less complexity on the handle key function
|
2021-01-06 17:00:43 +01:00 |
Yohann D'ANELLO
|
a48e6325fe
|
Add log message when the player switches floor
|
2021-01-06 15:55:44 +01:00 |
Yohann D'ANELLO
|
4cd4bc9005
|
Display the current floor in the StatsDisplay
|
2021-01-06 15:17:02 +01:00 |
Yohann D'ANELLO
|
d06a405120
|
Use a key to use ladders
|
2021-01-06 14:55:16 +01:00 |
Yohann D'ANELLO
|
663fc0eecd
|
Better teleport
|
2020-12-26 21:13:17 +01:00 |
Yohann D'ANELLO
|
9a56b4d7e9
|
Navigate through different maps while climbing ladders
|
2020-12-26 01:08:43 +01:00 |
Yohann D'ANELLO
|
ad5ae22e5f
|
Manage multiple maps in one game
|
2020-12-26 00:45:17 +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
|
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
|
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
|
7971a1f70e
|
Add waiting key, fixes #16
|
2020-12-12 18:12:37 +01:00 |
ynerant
|
53d090a9c8
|
Merge branch 'master' into 'mouse_interaction'
# Conflicts:
# squirrelbattle/display/display_manager.py
# squirrelbattle/display/menudisplay.py
# squirrelbattle/entities/items.py
|
2020-12-11 18:38:13 +01:00 |
Yohann D'ANELLO
|
d9912cacad
|
Listen to mouse clicks in the main loop
|
2020-12-11 18:17:59 +01:00 |
Yohann D'ANELLO
|
99352bc1d5
|
Test buying an item when we don't have enough of money
|
2020-12-11 17:28:16 +01:00 |
Yohann D'ANELLO
|
98b5dd64a8
|
Linting
|
2020-12-11 17:06:30 +01:00 |
Yohann D'ANELLO
|
bbe37eab97
|
Listen for clicks, detect which display was clicked
|
2020-12-11 16:56:22 +01:00 |
eichhornchen
|
b9b776b7ad
|
Player now pays for what he buys and buying a heart does not put it in the inventory. Solves #38 and #36
|
2020-12-11 16:49:17 +01:00 |
Yohann D'ANELLO
|
4dbd4f7912
|
Don't buy hearts, use them instant instead. Fixes #38
|
2020-12-09 16:57:46 +01:00 |
Yohann D'ANELLO
|
405ee895d8
|
When an item is bought, remove it from the merchant inventory. Fixes #37
|
2020-12-09 15:35:53 +01:00 |
Yohann D'ANELLO
|
19b82ff71a
|
Test merchants
|
2020-12-09 15:32:37 +01:00 |
Yohann D'ANELLO
|
099508d4c0
|
Don't call screen.getkey() at a wrong place
|
2020-12-07 21:29:57 +01:00 |
Yohann D'ANELLO
|
57fab7db51
|
Linting
|
2020-12-07 21:22:06 +01:00 |
Yohann D'ANELLO
|
b24cc1877f
|
Merchant inventory is working!
|
2020-12-07 21:13:55 +01:00 |
eichhornchen
|
8540a8f354
|
Work in progress on printing a store menu. Its buggy though
|
2020-12-07 20:54:53 +01:00 |
eichhornchen
|
d39427f978
|
Merge branch 'master' into village
|
2020-12-06 11:50:11 +01:00 |
eichhornchen
|
866af98fe4
|
Merging master into village, conflicts were solved
|
2020-12-06 11:43:48 +01:00 |
eichhornchen
|
ba68e68584
|
Added a Gamemode for selling interfaces, as well as the base of the player/merchant interaction, related to issue #18
|
2020-12-05 21:43:13 +01:00 |
Yohann D'ANELLO
|
ea672272f5
|
Add body snatch potion
|
2020-12-05 14:20:58 +01:00 |
Yohann D'ANELLO
|
fb8b2aff01
|
The player must be alive to interact with the inventory
|
2020-12-05 13:20:52 +01:00 |
Yohann D'ANELLO
|
91a4514649
|
'D' is not an intelligent key to drop an item
|
2020-12-04 17:19:06 +01:00 |
Yohann D'ANELLO
|
056ca5cca8
|
Ensure that the inventory is not empty before interacting with an item
|
2020-12-04 17:01:00 +01:00 |
Yohann D'ANELLO
|
c7545e53f7
|
Items can be dropped/equipped/used
|
2020-12-04 16:53:27 +01:00 |
Yohann D'ANELLO
|
0da7486750
|
Navigate through inventory menu
|
2020-12-04 16:31:15 +01:00 |
Yohann D'ANELLO
|
a68b3a6d08
|
Display full inventory
|
2020-12-04 16:28:37 +01:00 |
Yohann D'ANELLO
|
cdd527a7fd
|
Close the inventory using the same key
|
2020-12-04 14:57:53 +01:00 |
Yohann D'ANELLO
|
39af791012
|
We can open an empty inventory!
|
2020-12-04 14:45:18 +01:00 |
eichhornchen
|
3886bee1ba
|
Friendly entities are now a subclass of fighting entities, and can die. The T key is now used to talk to friendly entities
|
2020-12-04 00:27:25 +01:00 |
Yohann D'ANELLO
|
7d02604407
|
Clean the translation module
|
2020-11-28 02:00:09 +01:00 |
Yohann D'ANELLO
|
8f85093eb8
|
One string was missing
|
2020-11-27 22:21:52 +01:00 |
Yohann D'ANELLO
|
d2d74c97a4
|
Settings menu was not translated
|
2020-11-27 22:19:41 +01:00 |
Yohann D'ANELLO
|
31b7ece449
|
Main menu width must be updated when the language got changed
|
2020-11-27 21:51:54 +01:00 |
Yohann D'ANELLO
|
4287b4f045
|
Add possibility to change the language
|
2020-11-27 20:53:24 +01:00 |
Yohann D'ANELLO
|
2498fd2a61
|
Translate strings
|
2020-11-27 20:42:19 +01:00 |
Yohann D'ANELLO
|
b0e352444b
|
Test loading wrong saves
|
2020-11-27 18:16:54 +01:00 |
Yohann D'ANELLO
|
5faebfe556
|
Test message display
|
2020-11-27 18:12:27 +01:00 |
Yohann D'ANELLO
|
25ba94b9ac
|
Game displays an error message when a save file could not be loaded.
|
2020-11-27 18:09:08 +01:00 |
Yohann D'ANELLO
|
b7f61d9485
|
Close popup if there is a message
|
2020-11-27 17:35:51 +01:00 |
Yohann D'ANELLO
|
5cdb12e8a8
|
Display a message on a popup
|
2020-11-27 17:32:26 +01:00 |
Yohann D'ANELLO
|
0d3e33d960
|
Declare the license, we use GNU GPL
|
2020-11-27 16:33:17 +01:00 |