Commit Graph

226 Commits

Author SHA1 Message Date
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
77ba652a69 Added comments 2023-11-29 14:40:40 +01:00
Sam
efbe8b3358 added return variables from class 2023-11-29 14:39:10 +01:00
Sam
6273854a3d The bullet flies towards player using a class 2023-11-29 14:22:06 +01:00
sam
ee7f031775 put bullet direction into update 2023-11-28 16:00:01 +01:00
sam
b8ddc4dc05 added update class function 2023-11-28 15:59:46 +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
1e3e3caf58 Merge branch 'main' of ssh://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61 2023-11-28 15:40:41 +01:00
Mees Roelofsz
6348d1a001 added direction to my life 2023-11-28 15:40:31 +01:00
sam
fa41b78969 Can draw green dot with bullet class 🤬 2023-11-28 15:39:15 +01:00
sam
3ab02ab083 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 14:45:26 +01:00
sam
3a9674ff46 test if class works 2023-11-28 14:45:14 +01:00
Mees Roelofsz
ddc4a992fb changed game.js back to classless 2023-11-28 13:48:42 +01:00
sam
308c2a4008 fixed radius 2023-11-28 13:36:31 +01:00
sam
f4535ba7f8 Variable update 2023-11-28 13:26:59 +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
sam
b0610e2b87 Bas classes uitleg 2023-11-28 13:18:48 +01:00
sam
8a8353b645 Updated webdev 2023-11-28 13:18:36 +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
aebc811f29 Merge branch 'main' of https://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61 2023-11-27 00:34:57 +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
Mees Roelofsz
5f9fbb2827 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 00:30:03 +01:00
Mees Roelofsz
8054a5b44b added bullet ideas 2023-11-27 00:10:54 +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
Mees Roelofsz
308d4e60ce added to-do list 2023-11-26 14:12:08 +01:00
7d7b29ebbe Merge branch 'revert-8afd36ba' into 'main'
Revert "added former and current position"

See merge request propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-2/cuujooceevii61!1
2023-11-26 01:02:23 +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