Commit Graph

433 Commits

Author SHA1 Message Date
troido be262acc3d fixed spawning location cavebridge 2018-05-22 20:54:10 +02:00
troido 0fc0dafba2 client doesn't crash anymore when screen too small 2018-05-22 20:31:45 +02:00
troido 5e457d37bd created tutorial room 2018-05-22 19:19:24 +02:00
troido bba47d0049 made empty letters and made spiketrap damage settable by argument 2018-05-22 19:11:15 +02:00
troido 7e685068e4 client raises exceptions outside main curses wrapper 2018-05-22 19:09:47 +02:00
troido 94aff1d0dd raise exception on nonexisting position 2018-05-22 19:04:58 +02:00
troido 968a69daf3 created support for writable objects 2018-05-22 16:45:09 +02:00
troido d74617146f moved much of the todo list to github issues 2018-05-22 15:30:15 +02:00
troido 6fc167fc3f moved todo list to is own file 2018-05-22 12:15:39 +02:00
troido 37f5431eb6 client doesn't crash anymore when typing long lines 2018-04-19 16:34:17 +02:00
troido 15cc67f86e removed random tests from git 2018-04-19 10:56:37 +02:00
troido e0341c0759 reduced delay for excape key 2018-04-19 10:51:21 +02:00
troido 015509e5eb fixed relative import error 2018-04-19 00:14:13 +02:00
troido b88cf4a164 tab now returns to game keeping entered string; / starts string with text / 2018-04-19 00:10:47 +02:00
troido 9841580244 client can now read strings from chat input 2018-04-18 23:59:40 +02:00
troido b1a107919a improved input handling
renamed InputHandler to CommandHandler.
made InputHandler for input code that used to be in gameclient
also started my own getstr() replacement.
2018-04-18 23:27:34 +02:00
troido dcf01c8867 client is now threadsafe; closing can now show messages 2018-04-18 12:43:19 +02:00
troido 5f74a2bc98 player owned rooms are now on player name rather than player avatar name 2018-04-16 11:19:09 +02:00
troido 31a855f79f added azerty keybindings 2018-04-16 10:18:12 +02:00
troido 4d3d9e4f06 player now *actually* spawn on correct position when leaving home 2018-04-15 22:36:01 +02:00
troido b7120ac302 player now spawn on correct position when leaving home 2018-04-15 22:32:33 +02:00
troido 1249acbf4c respawning portals that do not set location now teleport to the room spawn 2018-04-15 22:07:29 +02:00
troido 9cb6242c6b PIVATE ROOMS! 2018-04-15 21:57:48 +02:00
troido 55c949480b chat scrolling works again 2018-04-15 14:14:46 +02:00
troido 8436d61c97 show restart message again when player is dead 2018-04-15 12:39:53 +02:00
troido 574d5501b6 health now shows as 0/0 when dead 2018-04-15 12:32:59 +02:00
troido c6695817cf stopped dying from crashing client 2018-04-15 12:29:37 +02:00
troido 2df887c1a7 beginroom doesn't crash the game anymore 2018-04-15 11:41:34 +02:00
troido 1b184cb88f implemented autofight/autoretaliate; improved checking if object is attackable before attacking 2018-04-15 11:30:35 +02:00
troido 9b7fd6e147 made inRange function to check if something can be attacked at the current position 2018-04-15 00:12:49 +02:00
troido 479468ca88 plants grow even when room is unloaded 2018-04-14 23:36:01 +02:00
troido 7c28a503b9 removed references to hy from the docs 2018-04-14 18:21:16 +02:00
troido b085112ee3 Stopped using hy for keybindings
keybindings are now a JSON format.
Somehow hy errored for me, and the cleanest solution seemed not to use hy at all
Thinking about it, the client was basically loading a new interpreter to optimize something that didn't need optimizing.
It didn't make it more readable/writable either, and it always was a lot of hassle.
2018-04-14 18:13:19 +02:00
troido a16b42399c spawner now uses stamp instead of duration 2018-04-14 12:49:34 +02:00
troido c663a90df3 passed stamps on roomJoin 2018-02-12 11:54:19 +01:00
troido acbdf3ffb7 timeout last cleanup 2018-02-08 17:56:10 +01:00
troido 9782609fd6 replaced timeout with alarms in spawner and volatile 2018-02-08 17:54:04 +01:00
troido e8f74988e2 move component now uses alarms too 2018-02-08 17:32:49 +01:00
troido dc203436db fighter now uses timeout too. implemented tiebreaker for two stamps of the same time 2018-02-08 15:54:15 +01:00
troido e87603a115 stamps and alarms are now used in 'grow' too 2018-02-08 15:35:09 +01:00
troido f758a4336d started using stamps and alarms to replace time differences 2018-02-06 15:28:15 +01:00
troido 915ba4e9c6 started saving stepstamps 2018-02-03 00:09:11 +01:00
troido e1a71fc75f don't keep inactive players in memory anymore 2018-02-02 22:28:24 +01:00
troido d692e1eb6a player serialization is now part of the model too 2018-02-02 21:17:19 +01:00
troido 691c1ec692 room serialization is now part of the model. Rooms are loaded individually 2018-02-02 14:01:56 +01:00
troido 6e4025df31 Merge branch 'master' of https://github.com/jmdejong/rooms 2018-01-24 13:27:41 +00:00
troido 47bb9fafa3 bug fixes on previous change 2018-01-24 14:27:30 +01:00
troido a0970cbe4c serialized more entities and disabled builtdoors 2018-01-24 14:22:57 +01:00
troido 43ec47c992 updated and improved maps 2018-01-24 13:35:57 +01:00
troido b2fa295d02 updated maps 2018-01-24 11:06:55 +01:00