Commit Graph

137 Commits

Author SHA1 Message Date
Xevion
3201e7c376 fix using primary instead of secondary for primary sprite holding folders, fix pattern string without comma breaking pattern list, smarter pytest fail statement 2020-04-21 00:38:51 -05:00
Xevion
07c9126ae7 cleanup imports, improve typehints in sprites.py 2020-04-21 00:19:06 -05:00
Xevion
c5944dbb16 cleanup Game init 2020-04-21 00:13:55 -05:00
Xevion
fa50a28411 fix debug messages not under a DEBUG mode check 2020-04-21 00:11:38 -05:00
Xevion
5744076dad create levels fixture for class; move out of level load test func 2020-04-21 00:09:47 -05:00
Xevion
59c67f1d57 finish level loading function 2020-04-21 00:07:11 -05:00
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
Cameron
1451260dce Merge pull request #32 from n0remac/perf
Performance Fixes
2020-04-20 20:13:33 -07: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
Cameron
c729ba9167 Merge pull request #31 from n0remac/positions-fix
Player Initial Position
2020-04-20 17:11:14 -07: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
Lief9100
214f99cb8b Merge pull request #29 from n0remac/pathing-rebase
Pathing rebase
2020-04-20 16:22:30 -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
f3429594b9 Merge pull request #25 from n0remac/cleanup
Animations and Map Refactor
2020-04-20 05:49:10 -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
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