Commit Graph

29 Commits

Author SHA1 Message Date
Cameron Smart
dd45c32283 Monsters on screen move randomly when not active. 2020-04-24 01:36:44 -07:00
Xevion
02a650d72b add grid cleanup so pathing works more than once, fix matrix reverse obstacle/clear 2020-04-21 18:06:53 -05:00
Xevion
50f56e4190 get path work and printing 2020-04-21 17:53:00 -05:00
Xevion
1d88c6b985 create dungeon matrix for pathfinding 2020-04-21 13:32:15 -05:00
Xevion
963a06d227 organize imports, less of a clusterfuck 2020-04-21 00:51:07 -05:00
Xevion
625fe85527 make all wall and floor spritelists static, fix docstrinng 2020-04-20 20:53:18 -05:00
Xevion
a6d24d1690 change to bottomLeft helper method 2020-04-20 16:55:36 -05:00
Xevion
b41ef318d6 fixed player placement 2020-04-20 16:53:49 -05:00
Xevion
a074706cd2 more attempts at fixing player placement 2020-04-20 16:15:53 -05:00
Xevion
a5fee04bdc attempt to fix position text, minor docstring corrections 2020-04-20 04:52:07 -05:00
Xevion
6f1161ab75 place character randomly in one of the Dungeon levels, remove player_list and just use player, add Dungeon.levelList property function, add in generated level loading 2020-04-20 04:46:50 -05:00
Xevion
5cf2f5e7f7 add LEVEL_SIZE enum to Config, add position debug, add wall sprite list gatherer, add and use level position method, 2020-04-20 04:36:32 -05:00
Xevion
9dcf6cf054 make level rendering and dungeon rendering independent, remove complicated spritelist passing 2020-04-20 04:14:53 -05:00
Xevion
02812902ae refactor load_file to load and create sprites copying render method 2020-04-20 04:05:23 -05:00
Xevion
396fa7775d remove useless functions, basic reformat command, add dumb docstring 2020-04-20 01:33:01 -05:00
Xevion
abf80c1b0f general refactor/cleanup to get closer to PEP8 standards 2020-04-20 01:31:08 -05:00
Xevion
0fb15c7698 undo static method - will resolve into proper static method later 2020-04-20 01:01:30 -05:00
6d57520dc7 Merge branch 'master' into refactor 2020-04-20 00:54:20 -05:00
Cameron Smart
1a28a3074e Removed more duplicate code. 2020-04-19 22:08:20 -07:00
Xevion
a25f160e1a general refactoring in map.py, fixing PEP8 conventions 2020-04-20 00:01:35 -05:00
Xevion
ce53b0be2b use modulus to skip extra rotations, use _ for repeated code 2020-04-19 23:52:51 -05:00
Xevion
592bb8249e forgot to remove get_lists function 2020-04-19 23:50:28 -05:00
Xevion
54bf86f2c7 remove print, remove add_level and get_lists function, fix comment 2020-04-19 23:48:04 -05:00
Cameron Smart
154a959e8a basic player idle animation. 2020-04-19 19:14:04 -07:00
Cameron Smart
f3c9e22102 Levels can be combined together in dungeon 2020-04-19 15:59:52 -07:00
Cameron Smart
fcad1beff8 load_file in map.py sets the tiles based on a json file 2020-04-18 18:12:16 -07:00
Xevion
a28dac4a46 add level/dungeon rendering methods, start planning out how positions are placed 2020-04-18 02:58:55 -05:00
Xevion
e5f19bcd8a add file docstring, minor reformat, levels attribute 2020-04-18 02:39:17 -05:00
Xevion
24d77714a5 create basic Dungeon and Level skeleton classes 2020-04-18 01:09:48 -05:00