Commit Graph

63 Commits

Author SHA1 Message Date
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
e5c53fa7a0 fix the enum mapping, fully implement the animations mapping, lower run updates per frame, fix hyperspeed animations 2020-04-20 03:35:51 -05:00
Xevion
8145c62090 change statements to use Enums with dictionary mapping 2020-04-20 03:19:16 -05:00
Xevion
fd64fc83c2 remove all commented out code 2020-04-20 03:10:19 -05:00
Xevion
a5fb8347ee switch to AnimationSet implementation for texture loading 2020-04-20 03:09:53 -05:00
Xevion
424892cc25 use modulus for animations in mobs.py, beginning to implement PlayerAnimations class, add more docstrings to PlayerAnimations, remove cycle 2020-04-20 03:03:38 -05:00
Xevion
1e8f5b507c add new knight sprite path, change folder "character" to "characters" 2020-04-20 02:53:29 -05:00
Xevion
f457ad0643 fix simple whitespace issues 2020-04-20 02:41:08 -05:00
Xevion
0d0a8f8b6a add infinite cycle iter and arcade texture object loading, fix docstrings 2020-04-20 02:35:58 -05:00
Xevion
b2a953c0e5 implement getAnimations, correct regex patterns with capturing groups 2020-04-20 02:30:21 -05:00
Xevion
3378d916e5 create new sprites file for managing animations and static 2020-04-20 02:19:19 -05:00
Xevion
35513dce16 implement new enums into animations file 2020-04-20 02:03:15 -05:00
Xevion
1b2f8dc431 delete fix.py 2020-04-20 02:02:54 -05:00
Xevion
d5cd8e8a66 rename all knight animation files 2020-04-20 02:02:25 -05:00
Xevion
3d9a6d3eb4 create new enums class, move out constants from mobs.py 2020-04-20 01:44:21 -05:00
Xevion
290942aa0d fixed last two check misses, added second line before Config class declaration, fixed extra space at end of comment 2020-04-20 01:36:06 -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
6b26ac5f0d just access the public sprite instead 2020-04-19 23:48:56 -05:00
Cameron Smart
c533661c05 removed duplicate code. 2020-04-19 21:48:40 -07:00
Xevion
54bf86f2c7 remove print, remove add_level and get_lists function, fix comment 2020-04-19 23:48:04 -05:00
Xevion
7d9efa4da1 create new sprites class for holding sprite paths 2020-04-19 23:45:01 -05:00
Xevion
d4b5a1b799 optimize imports and change to extend instead of double append in main.py 2020-04-19 23:35:22 -05:00
Cameron Smart
d1665d59dd 4 directional character movement animation. 2020-04-19 20:51:31 -07: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
61a2796129 Merge branch 'monster-generation' of https://github.com/n0remac/game-jam-2020 into monster-generation 2020-04-19 01:19:06 -07:00
Cameron Smart
9c81afa345 Added new monster sprites. 2020-04-19 01:10:30 -07:00
Cameron Smart
3b81bcfc65 Mobs now takes an x, y location and places the sprite there. 2020-04-19 01:07:53 -07:00
Cameron Smart
b4fb33f369 Added new monster sprites. 2020-04-19 00:14:21 -07:00
Lief9100
78e265401b removed player list & replaced with singular sprite 2020-04-18 23:56:20 -07:00
Cameron Smart
46c9270c19 Mobs now takes an x, y location and places the sprite there. 2020-04-18 22:47:27 -07:00
Lief9100
73b19aa14d moved player setup from main to mobs 2020-04-18 22:33:49 -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
4cad1d5091 add networkx to Pipfile 2020-04-18 06:26:31 -05:00
Xevion
370d611550 add elements map to level save structure 2020-04-18 03:00:02 -05:00
Xevion
a28dac4a46 add level/dungeon rendering methods, start planning out how positions are placed 2020-04-18 02:58:55 -05:00
Xevion
0e05870d9b move file structure around, create basic example level file 2020-04-18 02:46:48 -05:00
Xevion
e5f19bcd8a add file docstring, minor reformat, levels attribute 2020-04-18 02:39:17 -05:00
Xevion
3961414279 basic reformatting work for PEP8 guidelines 2020-04-18 01:36:13 -05:00