Commit Graph

96 Commits

Author SHA1 Message Date
troido f2ad73c3c3 added flags to entities, and used this instead of solid 2017-10-29 23:00:47 +01:00
troido 2c2aa878ee monsters now stay near their spawner when idle (probably) 2017-10-29 16:50:09 +01:00
troido 0462e13426 Merge branch 'master' into package 2017-10-27 23:51:27 +02:00
troido ac87067042 Merge branch 'package' of tilde.town:/home/wangofett/programming/asciifarm into package 2017-10-27 23:46:23 +02:00
Wango Fett 4bd76c2b8c Added a __main__ script
Now you can run via `python3 -m asciifarm`, `python asciifarm`, or
install it via pip. Can probably run the sdist zip file too, if you
were into that sort of thing.
2017-10-27 21:35:45 +00:00
troido 8c112692dc ground objects are now send sorted, and bugs are fixed. also, client doesn't crash anymore when resizing the window 2017-10-27 22:51:42 +02:00
troido 1d3fd972b2 merged master changes from today into package branch 2017-10-27 22:18:51 +02:00
troido e931db6abd objects on ground are now sorted by height. Also changed healthbar 2017-10-27 22:10:17 +02:00
troido 319fa45ed7 world now loads hand-created json. updated maps. changed floor sprite 2017-10-27 20:38:35 +02:00
troido fdfee4d0d9 one keypress can now send multiple commands 2017-10-27 16:43:15 +02:00
troido 51ff49d591 added comment in readme in the hope it updates the screenshot 2017-10-27 12:24:55 +02:00
troido 04665000e2 set more colours. healtbar can be set now too 2017-10-27 12:15:49 +02:00
Wango Fett ac01332de0 Added install/development instructions 2017-10-26 17:24:56 +00:00
troido c8e9f1065d started colour support and better panels 2017-10-25 15:50:24 +02:00
troido d2d6448793 fullwidth characters work now too 2017-10-24 16:33:17 +02:00
troido 31d9ac0778 world is now loaded from json file(s) 2017-10-24 16:12:33 +02:00
troido 92d50b6b91 put tcommunicate in both client and server folder to simplify loading 2017-10-23 19:13:20 +02:00
troido a6ba125c38 changed readme 2017-10-23 16:57:08 +02:00
troido 539bf6f6ab changed name to AsciiFarm and updated description 2017-10-23 16:55:16 +02:00
troido bb62bda698 changed sownseed name and README 2017-10-23 16:24:42 +02:00
troido 7b1bebce30 fixed wrong keys shown in instructions 2017-10-23 14:54:38 +02:00
troido 33e51d8e65 made buildable destructible walls and added some more docs 2017-10-23 13:36:26 +02:00
troido c50e91d32d game now supports inet sockets too. Also command line setting for abstract sockets to automatically prepend null byte 2017-10-22 22:37:45 +02:00
troido bcf7c1aaaf made keybindings player configurable and changed default keybindings again 2017-10-22 19:58:22 +02:00
troido 9080c09a67 added Troll as boss and changed worldmap 2017-10-22 19:04:20 +02:00
troido d76fe3b946 harvesting works. Added object interactions. Food now heals. Changed keybindings 2017-10-22 16:28:45 +02:00
troido 051e1bfae5 separated Entity creation and connection to room; improved loot system; improved inventory item stuff; added plantable seeds as loot 2017-10-22 14:22:45 +02:00
troido 7c65706fc7 items can now be used to place other entities on the map. (stones can build walls) 2017-10-22 00:20:51 +02:00
troido 7f398ebe12 made RoomData for data between entities. made Alignment separate class, holding a Faction. used this for more efficient enemy detection in AI 2017-10-21 20:45:44 +02:00
troido c31b46e752 server now only sends whole room the first time the player sees the room 2017-10-21 18:24:39 +02:00
troido f6df86087a now entities can grow into other entities (eg seed -> plant) 2017-10-21 13:47:02 +02:00
troido e91a509892 spawner keeps track of timeouts; entity factories now added to dict directly after definition 2017-10-21 12:51:51 +02:00
troido 5caf97d4ca made spawners 2017-10-21 00:32:41 +02:00
troido 74ac40cd9f made autohealing component. Players now slowly heal 2017-10-20 23:23:49 +02:00
troido 5032a1f4e2 made health persistent and improved documentation 2017-10-20 21:50:09 +02:00
troido 86150362e4 documented server-client communication. Also added setters for basic values in Entity 2017-10-20 20:55:02 +02:00
troido 3bd8f291da made server more robust. (also updated readme and simplified controllers) 2017-10-20 16:30:57 +02:00
troido e745cdba1e improved fighting system (cooldown etc) and made enemy 2017-10-20 13:42:26 +02:00
troido a03e3c8c88 added factions 2017-10-19 23:41:31 +02:00
troido 65fc087049 components now all have their own file. added fighter component. added dummy and sprikes to test it. 2017-10-19 22:14:28 +02:00
jmdejong a3ceb46190 update vision and todo in readme 2017-10-18 17:33:20 +02:00
troido 68b36d742e action messages are now more than one item 2017-10-18 16:03:13 +02:00
troido e5c6ab2451 made a better system for interactions 2017-10-17 22:26:57 +02:00
troido d65c2c9b3c updated readme and did cleanup 2017-10-16 21:33:36 +02:00
troido 8ebdfb44e7 updated readme and renamed host script to avoid confusion with adventurer 2017-10-16 20:17:58 +02:00
jmdejong fecaec5cf1 Create README.md 2017-10-15 23:40:39 +02:00