147 Commits

Author SHA1 Message Date
Xevion
c6a8142358 fix sprite file finding and loading, prepare level loading test function 2020-04-21 00:05:11 -05:00
Xevion
9bace25b93 add pytest cache folder to .gitignore 2020-04-20 23:57:23 -05:00
Xevion
6c5c1e735c fix sprites fixture with simpler nested for loops 2020-04-20 23:53:39 -05:00
Xevion
a73b858474 add more typing, fix patterns and docstring, simplify patterns fixture, work on secondary/primary folders chain 2020-04-20 23:49:53 -05:00
Xevion
f53c977432 new sprite testing functions including regex based schema tests and sprite loading 2020-04-20 23:33:36 -05:00
Xevion
8bac3a50d2 fix class names for pytest, add simple Game test 2020-04-20 22:47:13 -05:00
Xevion
b1795d3dac add pytest to Pipfile and Pipfile.lock 2020-04-20 22:46:56 -05:00
Xevion
1a96b55e12 simplify docstrings, add misc test class 2020-04-20 22:17:03 -05:00
Xevion
0ebb4ee59d Merge branch 'master' of github.com:n0remac/game-jam-2020 into tests 2020-04-20 22:15:21 -05:00
Xevion
1c3a537ad1 basic class skeleton for tests file 2020-04-20 22:14:24 -05:00
Xevion
a6003aaf9e send size 8 dungeon instead (64 levels) 2020-04-20 22:10:36 -05:00
Xevion
48e48d4ae4 use Arial font for draw_text functions 2020-04-20 22:06:47 -05:00
d1dfd908b7 Merge branch 'master' into perf 2020-04-20 21:54:16 -05:00
Xevion
2feb1d98b3 add new debug config, create and implement FPSCounter class 2020-04-20 21:43:07 -05:00
Xevion
625fe85527 make all wall and floor spritelists static, fix docstrinng 2020-04-20 20:53:18 -05:00
294c86010b Merge branch 'master' into positions-fix 2020-04-20 19:03:12 -05:00
Lief9100
26fe091a10 Merge pull request #30 from n0remac/projectiles
Projectiles
2020-04-20 16:24:54 -07: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
b74b8f87c1 fix text rendering, get rid of unused wall and floor spriteLists 2020-04-20 16:18:51 -05:00
Xevion
a074706cd2 more attempts at fixing player placement 2020-04-20 16:15:53 -05:00
Cameron Smart
03d4cd7743 Fix formatting on condition main:212 2020-04-20 14:03:59 -07:00
Cameron Smart
6b74629a57 changed bullet speed and size, final format check 2020-04-20 13:50:05 -07:00
Cameron Smart
dff882770d removed whitespace and other formatting. 2020-04-20 13:45:49 -07:00
Lief9100
c051414870 remove config excess, add projectiles folder and temp classes 2020-04-20 12:59:41 -07:00
Lief9100
b06fcaf0f8 screen-projectile deletion fix, comment updates to note TEMP features 2020-04-20 12:57:23 -07:00
Lief9100
3034d96ab7 main.py busy edit, works but simplistic 2020-04-20 12:57:23 -07:00
Lief9100
cc83bab11c indentation and positioning correction in config for constants 2020-04-20 12:52:01 -07:00
Lief9100
6769cceed4 add constants to config 2020-04-20 12:52:01 -07:00
Cameron Smart
882ce349d8 got rid of last bit of whitespace 2020-04-20 03:59:15 -07:00
Cameron Smart
ba8459797c Removed tabs and training white space. 2020-04-20 03:59:15 -07:00
Cameron Smart
6561469351 route function takes start, stop, and matrixs, returns path 2020-04-20 03:59:15 -07:00
Cameron Smart
de72eed2c7 removed tabs 2020-04-20 03:59:15 -07:00
Cameron Smart
3f4f186324 Added Pathfinding dependency, started on path.py 2020-04-20 03:59:15 -07: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
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