0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 12:33:43 +00:00

137 Commits

Author SHA1 Message Date
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
ineslelin
6373afe3a2 working volume control 2024-05-27 12:40:51 +02:00
ineslelin
70c4d3c030 added ability to play music 2024-05-27 12:04:09 +02:00
ineslelin
db44d4d619 updated SoundManager
- created constexpr for the options to play a sound once or loop it infinitely
- removed SoundTypes enum, changed playSound() to accept a string and a bool => allows for playSound() to be used more universally
2024-05-27 11:36:02 +02:00
Sara Varga
aa83280b6a #32 KeyboardController: movement working
projectiles need adjustments
2024-05-26 22:54:50 +02:00
ineslelin
cb01c54968 updated SoundManager
- loading music from sound file now possible
- looping sound effects is possible now
2024-05-26 19:06:52 +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
162645ed1c added documentation for manager 2024-02-03 17:30:33 +01:00
63644b4759 Amend: depricated note for Entity:ENEMIES 2024-02-03 16:55:52 +01:00
75189645d0 Documented entity
see todos
2024-02-03 16:53:40 +01:00
fcb79bc2a3 fixed redundant references 2024-02-02 22:30:09 +01:00
705fe069cf fixes to enums 2024-02-02 22:29:28 +01:00
d10afe1e07 refactored labels to be within Entity class 2024-02-02 22:20:08 +01:00
57a0bead6a refactored labels to be within Entity class 2024-02-02 22:17:21 +01:00
cebe343e4c extended collision handler docs 2024-02-02 15:12:51 +01:00
3e9d81b2a5 Merged duplicate Direction enums 2024-02-02 15:11:10 +01:00
680f66270f Merged duplicate Direction enums 2024-02-02 15:10:38 +01:00
b2a001e24d first draft collision handler get any 2024-01-31 02:32:21 +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