diff --git a/src/assets/Design/CAVEBOSSFIGHT.png b/src/assets/Design/CAVEBOSSFIGHT.png new file mode 100644 index 0000000..2492424 Binary files /dev/null and b/src/assets/Design/CAVEBOSSFIGHT.png differ diff --git a/src/css/game.css b/src/css/game.css index 7de68cf..d652429 100644 --- a/src/css/game.css +++ b/src/css/game.css @@ -46,6 +46,12 @@ background-size: cover; } +.container-first { + background-image: url(/src/assets/Design/CAVEBOSSFIGHT.png); + background-repeat: no-repeat; + background-size: cover; + image-rendering: pixelated; +} .container-first .content .boss { width: 100%; diff --git a/src/css/style.css b/src/css/style.css index f87a6fe..c651d26 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -178,47 +178,4 @@ border: 1px solid; height: 40px; align-content: center; -} - -.container-onboard { - display: flex; - width: 100%; - height: 100dvh; - flex-direction: column; - justify-content: center; - align-items: center; - /* background-image: url(/src/assets/Design/wayland.png); - background-repeat: no-repeat; - background-size: cover; */ -} - -.container-onboard h1{ - font-size: 150px; - color: yellow; - font-weight: 400; - margin-bottom: 50px; -} - -.container-onboard .menu { - display: flex; - flex-direction: column; - text-align: center; -} - -.container-onboard .menu a { - padding: 10px 80px; - background-color: #87871b23; - margin: 8px; - border-radius: 5px; - font-size: 30px; - color: yellow; - border: 1px solid #8170029f; - text-decoration: none; -} - -.container-onboard .menu a:hover { - transition: 0.4s ease-out; - color: #dd85fa; - border: 1px solid #dd85fa; - background-color: #871b8323; } \ No newline at end of file diff --git a/src/game/firstperson.html b/src/game/firstperson.html index 2d9b8fe..900d476 100644 --- a/src/game/firstperson.html +++ b/src/game/firstperson.html @@ -16,10 +16,10 @@

selamat datang di python games _____

-

a. panteks

-

b. anjas

-

c. hell nah

-

d. my kisah

+

a. panteks

+

b. anjas

+

c. hell nah

+

d. my kisah

diff --git a/src/index.php b/src/index.php index 6a4752f..3407299 100644 --- a/src/index.php +++ b/src/index.php @@ -1,13 +1,15 @@ showNotif(" . json_encode($msg) . ");"; }else{ $sql = "SELECT * FROM users WHERE username =?"; $stmt = $db -> prepare($sql); @@ -21,13 +23,15 @@ if(isset($_POST['login'])){ $_SESSION['loggedin']='true'; $_SESSION['username']=$user['username']; $_SESSION['id']=$user['id']; - header("location:onboard.html"); + header("location:onboard.php"); exit(); }else{ - echo "password salah"; + $msg = "Password Salah !"; + echo ""; } }else{ - echo "username salah"; + $msg = "Username tidak ditemukan !"; + echo ""; } $stmt->close(); } @@ -56,6 +60,7 @@ $db->close();

don't have account yet? register now!

+
diff --git a/src/onboard.php b/src/onboard.php new file mode 100644 index 0000000..8019bd3 --- /dev/null +++ b/src/onboard.php @@ -0,0 +1,39 @@ + + + + + + + + onboard + + + + + + +
+ + showNotif(" . json_encode($_SESSION['flash']) . ");"; + unset($_SESSION['flash']); + } + ?> +

👾 codebeater 👾

+ +
+ + + + + \ No newline at end of file