Commit Graph

152 Commits

Author SHA1 Message Date
Mees Roelofsz
9b8a58549b temp deleted patern 3 2023-12-01 06:54:09 +01:00
Mees Roelofsz
0d7f47c058 format 2023-11-30 23:31:54 +01:00
Mees Roelofsz
6543d6fdc9 use all paterns + fixes 2023-11-30 22:50:33 +01:00
Sam
8cd0a056db Merge branch 'main' of https://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61 2023-11-30 22:38:27 +01:00
Sam
78c95b29f7 Removed off screen bullets that was causing lag 2023-11-30 22:38:17 +01:00
Mees Roelofsz
6882528baf removed lag 2023-11-30 22:29:35 +01:00
Mees Roelofsz
77272afdc9 added bulletcircle (laggy) 2023-11-30 22:26:39 +01:00
Mees Roelofsz
e98ce2415d heb angle toegevoegd aan basicbullets+ raar patern 2023-11-30 21:49:56 +01:00
Mees Roelofsz
68d9ecba9e added different way of angling bullets(no succes) 2023-11-30 21:37:06 +01:00
Mees Roelofsz
f81bdf9ef4 Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61 2023-11-30 21:10:59 +01:00
Mees Roelofsz
8aa5b6a4a2 added third patern (multiple bullets at once) 2023-11-30 21:10:57 +01:00
Sam
c41e3f7dde fixed respawn 2023-11-30 19:14:02 +01:00
Sam
4a2c3dabac removed life counter 2023-11-30 17:08:22 +01:00
Sam
2b14931319 changed max HP 2023-11-30 17:07:38 +01:00
Sam
559621835f fixed timer, cleanup junk and improved bullets 2023-11-30 15:02:24 +01:00
Sam
d703a82a7f added timer and better hit registration 2023-11-30 13:27:04 +01:00
Sam
931824c1c7 Bullets dont pass trough you anymore 2023-11-30 12:17:30 +01:00
Sam
be8c373561 Put bullets into Array and made 4 spawn each wave 2023-11-29 16:09:08 +01:00
Sam
2e9c22dee2 Intergrated bullet class into game.js 2023-11-29 15:46:04 +01:00
Mees Roelofsz
6348d1a001 added direction to my life 2023-11-28 15:40:31 +01:00
Mees Roelofsz
ddc4a992fb changed game.js back to classless 2023-11-28 13:48:42 +01:00
sam
3b877fc3f8 Added bullet array 2023-11-28 13:18:59 +01:00
Mees Roelofsz
a6d4a75e15 added bouncing bullets 2023-11-27 21:03:18 +01:00
Sam
90ce729fe4 Defined bullet class 2023-11-27 00:34:01 +01:00
Sam
c13f5b8f1b Removed player reset on hit 2023-11-26 23:52:59 +01:00
Mees Roelofsz
587454784b added off screen attacks from more sides 2023-11-26 19:33:01 +01:00
Mees Roelofsz
406a044585 adde secodn attack (off screen) not random choice 2023-11-26 19:07:12 +01:00
Mees Roelofsz
b65d21dca1 fixed text 2023-11-26 16:48:40 +01:00
Mees Roelofsz
328f494da0 added life system + basic game over screen 2023-11-26 16:44:18 +01:00
Mees Roelofsz
e0cb5c2417 deleted square 2023-11-26 16:31:37 +01:00
Mees Roelofsz
a6554afe5f added border and player collision to projectiles 2023-11-26 16:24:29 +01:00
Mees Roelofsz
e4354f78f0 added continueing movement if not hit (no border) 2023-11-26 16:15:25 +01:00
Mees Roelofsz
cd675fe834 trying to add projectiles into list 2023-11-26 15:11:18 +01:00
0dd3c4098b Revert "added former and current position"
This reverts commit 8afd36ba77
2023-11-26 01:01:40 +01:00
Sam
977be6bb73 Split the script and added eventlistener 2023-11-26 00:52:27 +01:00
Mees Roelofsz
8afd36ba77 added former and current position 2023-11-25 20:07:16 +01:00
Sam
6fb6bc6aaf Removed homing bullets 2023-11-25 19:41:53 +01:00
Mees Roelofsz
f8fa2747c7 bullets now respawn (bit jittery) 2023-11-25 18:59:29 +01:00
Mees Roelofsz
3352ed4dc5 projectile dissapears after hit (doesn't return) 2023-11-25 17:41:25 +01:00
Mees Roelofsz
844a82057b temporarily commented object collision 2023-11-25 17:32:31 +01:00
Mees Roelofsz
4307ccab81 added chasing projectile 2023-11-25 17:28:56 +01:00
Mees Roelofsz
51ec7f09bb trying to shoot out projectiles (not working) 2023-11-25 17:05:49 +01:00
Mees Roelofsz
9d33b5b855 changed player variables 2023-11-25 16:33:52 +01:00
sam
70bc9f14d5 fixed Y variable 2023-11-24 14:19:29 +01:00
sam
9ad8cadc7f Fixed controller variables 2023-11-24 14:17:25 +01:00
sam
0c5a5142e7 Combined controller support with serial connection 2023-11-24 14:13:04 +01:00
Mees Roelofsz
eb0466083b added collision between circle and square 2023-11-24 13:30:10 +01:00
Mees Roelofsz
cf7bfe4910 added border collision and more variables 2023-11-24 12:23:08 +01:00
Mees Roelofsz
08b0dc4d8d added movable object with directional keys 2023-11-24 12:01:59 +01:00
Mees Roelofsz
f9d04567e3 changed size of screen 2023-11-24 09:57:11 +01:00