Commit Graph

98 Commits

Author SHA1 Message Date
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
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
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
1338d24edf Merge pull request #24 from n0remac/refactor
General Refactoring PR
2020-04-20 01:03:25 -05:00
Xevion
0fb15c7698 undo static method - will resolve into proper static method later 2020-04-20 01:01:30 -05:00
75031bfc0c Merge pull request #23 from n0remac/pep8-workflow
new python pep8 linting workflow
2020-04-20 00:57:00 -05:00
6d57520dc7 Merge branch 'master' into refactor 2020-04-20 00:54:20 -05:00
ba59176cb6 remove pyflakes linting on main.yml
replaced by pep8.yml action
2020-04-20 00:35:59 -05:00
6b5a3b213e do push action only 2020-04-20 00:34:52 -05:00
3a3aeee1af change to python 3.7
I swore to myself that I added it in.
2020-04-20 00:33:01 -05:00
31f0ec6160 cd to directory and wildcard specifier 2020-04-20 00:31:11 -05:00
c885ed6946 lock before sync 2020-04-20 00:29:46 -05:00
7dd42e355a new python pep8 linting workflow 2020-04-20 00:26:47 -05:00
cf06b7cad6 Merge pull request #22 from n0remac/character-animation
Character animation
2020-04-20 00:14:31 -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
Lief9100
6146ee0fa2 Merge pull request #18 from n0remac/level-stitching
Levels can be combined together in dungeon
2020-04-19 16:39:49 -07:00