0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 15:53:42 +00:00

77 Commits

Author SHA1 Message Date
a8e046ce07 #58 added exception for missing game implementation 2024-06-24 18:27:04 +02:00
3d639b89d0 #58 Replaced map based game factory with simpler implementation 2024-06-24 16:03:46 +02:00
58e2bb0d30 Merge branch 'ref/nicole' into separation-refactor 2024-06-14 00:46:19 +02:00
8c5c5c7215 removed define marco 2024-06-13 23:22:21 +02:00
5182312887 implemented GameFactory to instance an implementation of game 2024-05-29 10:02:14 +02:00
68a3e48131 rename Game->GameInternal 2024-05-29 09:07:54 +02:00
Sara Varga
5dfe42195f Merge branch 'ref/sara' into separation-refactor 2024-05-27 18:31:25 +02:00
Sara Varga
aa83280b6a #32 KeyboardController: movement working
projectiles need adjustments
2024-05-26 22:54:50 +02:00
31d7f42a31 ref(Animations, ECS impl):
dehardcoded Animations and moved ECS implementation + moved select screen function to chickengame
2024-05-20 21:05:20 +02:00
1f27d24de3 ref(Healthcomp, Stateffects) 2024-05-02 23:50:28 +02:00
737fd70851 ref(addTile): adding tiles for the tilemap is now on the dev side 2024-05-02 21:50:22 +02:00
Sara Varga
2e7a1b45cf refactor: removed Components.h file
consisted of includes of all components -> components included when not necessary
TODO: had to add 3 component includes in Entity.h because of template function; move if possible
2024-05-01 13:47:42 +02:00
Sara Varga
5dc61e6230 refactor: moved input polling from KeyboardController to input class 2024-05-01 13:07:48 +02:00
e3852379e4 ref(Powerups): move powerup adding functionality to gamedev side 2024-04-30 01:20:40 +02:00
cffe1bdc31 ref(TransformComponent): extracted entity move collision function 2024-04-29 23:46:25 +02:00
1b571a6a46 MOVE: Game::update 2024-04-13 17:14:04 +02:00
b6854c79ec Added interface for game functions 2024-04-11 15:23:19 +02:00
efd8cc6616 Removed all instances of static data in Game class
see Issue #27
2024-04-10 11:15:23 +02:00
d10afe1e07 refactored labels to be within Entity class 2024-02-02 22:20:08 +01:00
3e9d81b2a5 Merged duplicate Direction enums 2024-02-02 15:11:10 +01:00
097889004d Merge into 'main' 2024-01-30 19:58:09 +01:00
037a7f7611 fixed uint->int conversion issues and buff duration 2024-01-30 19:49:54 +01:00
93bbd83d37 Merge pull request #25 from Nimca0/menu 2024-01-30 19:42:31 +01:00
325da0eb4c Merge branch 'powerups' 2024-01-30 16:09:25 +01:00
c79ba00b20 minor balancing to powerups and shooting speed 2024-01-30 15:40:53 +01:00
b814fa3298 powerups work + sprites for each powerup added 2024-01-30 15:29:02 +01:00
ae54dd3158 Removed debug print, added TODO comment 2024-01-30 15:22:23 +01:00
6a2e8289f6 fixed memory leaks
managers are no singletons anymore
2024-01-30 15:17:58 +01:00
807ff4b0d0 Fixed a memory leak 2024-01-30 14:19:51 +01:00
8735edb3ad Rewrote map loader 2024-01-30 14:10:26 +01:00
c49ce18ed0 Implemented powerups 2024-01-30 05:05:42 +01:00
Markus
1dfdc2ed20 code cleanup after peer2peer 2024-01-29 20:55:50 -06:00
e979b4aa88 Cleanup of legacy code booleans 2024-01-30 03:27:11 +01:00
9a01a19385 Merge branch 'collision-manager' 2024-01-30 00:36:39 +01:00
fee39adebc Hotfix proper SDL_mixer include 2024-01-30 00:21:45 +01:00
a9f9931101 Merge branch 'collision-manager' into powerups 2024-01-30 00:02:39 +01:00
fa4586f1db Rewrote collision detection 2024-01-29 23:49:58 +01:00
Markus
0a1747d651 replayability added,
popup window for victory added,
png files for new skins and popups added
2024-01-29 15:04:44 -06:00
ineslelin
06a603b9d5 throwing projectile makes sound 2024-01-29 20:53:35 +01:00
ineslelin
d155753840 added ability to load in sound 2024-01-28 20:14:12 +01:00
dfa6768a96 added SDL_mixer 2024-01-28 19:10:19 +01:00
28af8c9389 minor improvements 2024-01-28 18:18:27 +01:00
ines
0a25cab6e8
Merge pull request #18 from Nimac0/Collision
Sliding along collision boxes
2024-01-28 17:55:46 +01:00
fce7ded0e3 Merge branch 'collision-manager' into powerups 2024-01-28 17:12:01 +01:00
9f2df7c6c5 fixed sliding 2024-01-28 16:59:59 +01:00
ineslelin
c2cb8f9fc6 fixed collision interaction with player 2024-01-28 16:49:08 +01:00
8ff81ace72 Rewrite player collisions 2024-01-28 14:59:41 +01:00
fcf14b20c4 framework for randomly spawning items
not collectable yet, dont get destroyed either, WIP
2024-01-28 14:56:09 +01:00
ezveee
93b7262db7 Updated character selection screen
Added a backdrop, and changed the selection from being inline to 2 chickens per row.
+ fine tweaking the positions so they align with the background
2024-01-28 14:08:37 +01:00
ezveee
a9ae4f087e Character selection working
After enter gets pressed on the start screen, a character selection screen gets displayed.
P1 can choose a character via 'a' and 'd' - P2 via 'arrow left' and 'arrow right'.
Selections get locked in upon pressing enter.

Code is currently working, but in need of improvements.
2024-01-28 10:14:10 +01:00