Commit Graph

56 Commits

Author SHA1 Message Date
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
sam
0051d986b7 Merge branch 'main' of https://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61 2023-11-28 15:44:59 +01:00
sam
c31bd7f95b renamed variables 2023-11-28 15:44:55 +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
03e6d69de1 Merge branch 'main' of https://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61 2023-11-28 13:19:09 +01:00
sam
9c862e7b7b added code from game.js 2023-11-28 13:19:06 +01:00
sam
3b877fc3f8 Added bullet array 2023-11-28 13:18:59 +01:00
Mees Roelofsz
59c3c95f96 added reference.js 2023-11-28 13:07:08 +01:00
Mees Roelofsz
e47ec307b7 Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61 2023-11-27 21:03:21 +01:00
Mees Roelofsz
a6d4a75e15 added bouncing bullets 2023-11-27 21:03:18 +01:00
Sam
0e40ca4159 changed imported variables 2023-11-27 01:14:37 +01:00
Sam
13e2a665cd Added explanation for constructor 2023-11-27 00:42:25 +01:00
Sam
3d7abe5cd6 test if class works by drawing circle 2023-11-27 00:34:55 +01:00
Sam
90ce729fe4 Defined bullet class 2023-11-27 00:34:01 +01:00
Sam
5087896391 Added script 2023-11-26 23:53:09 +01:00
Sam
c13f5b8f1b Removed player reset on hit 2023-11-26 23:52:59 +01:00
Sam
374c9dd7de Class creation 2023-11-26 23:51:41 +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
69d55b2b2a name change 2023-11-26 00:52:31 +01:00
Sam
977be6bb73 Split the script and added eventlistener 2023-11-26 00:52:27 +01:00
Sam
02be6a4a3e changed script loading order 2023-11-26 00:50:51 +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
ea7c1ac278 disabled old serial script 2023-11-24 14:14:32 +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
sam
a0df8f1b95 Merge branch 'main' of https://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61 2023-11-24 10:21:12 +01:00
sam
bc33172053 Added documentation 2023-11-24 10:21:08 +01:00