Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modificações em todo o game #30

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
95071b0
:sparkles: feat: Trocando sprites do personagem principal e arrumando…
Dev-JoseRonaldo Jun 18, 2022
7535436
:sparkles: feat: Atualizei toda a arte do projeto, fiz e configurei o…
Dev-JoseRonaldo Jun 19, 2022
f1b80c7
:sparkles: feat: Sistema de pontuação e melhor pontuação
Dev-JoseRonaldo Jun 19, 2022
cbca91b
:sparkles: feat: Tela de Game Over e sistema de restart
Dev-JoseRonaldo Jun 20, 2022
c6f288a
:sparkles: feat: Adicionando recorde no localStorage
Dev-JoseRonaldo Jun 20, 2022
7249bd3
:sparkles: feat: Sistema de troca de cenas (main menu, game e select …
Dev-JoseRonaldo Jun 20, 2022
cd01026
:sparkles: feat: estrutura e estilização basica da tela select person
Dev-JoseRonaldo Jun 20, 2022
f65a0f4
:sparkles: feat: Sistema de escolha de personagem
Dev-JoseRonaldo Jun 21, 2022
2741962
:sparkles: feat: Adicionando todos os personagens e deixando selecion…
Dev-JoseRonaldo Jun 21, 2022
f3d3045
:sparkles: feat: Sistema de desbloquear personagem por pontuação alca…
Dev-JoseRonaldo Jun 22, 2022
dc8afcd
:bug: fix: Resolvendo bug que, ao morrer, iniciava a animação de mort…
Dev-JoseRonaldo Jun 22, 2022
c9f421b
:sparkles: feat: Adicionando som ao game
Dev-JoseRonaldo Jun 23, 2022
cb4d83a
:sparkles: feat: Adicionando som ao game
Dev-JoseRonaldo Jun 23, 2022
32c9519
:bug: fix: Resolvido bug de não consguir selecionar personagem ao lib…
Dev-JoseRonaldo Jun 23, 2022
f7a0a82
:recycle: refactor: Mudando o cenário principal do game
Dev-JoseRonaldo Jun 23, 2022
4880717
:lipstick: feat: Estilizaçao CSS do menu
Dev-JoseRonaldo Jun 24, 2022
8f91a9d
:lipstick: feat: Estilizaçao CSS da tela de seleção de personagem
Dev-JoseRonaldo Jun 24, 2022
2cbfbbe
:lipstick: feat: Sistema de troca de cena para seleção de cenário e e…
Dev-JoseRonaldo Jun 24, 2022
bcc3605
:sparkles: feat: Implementeu toda funcionalidade e estilização (html,…
Dev-JoseRonaldo Jun 25, 2022
5bdc091
:sparkles: feat: Sistema de hover do mouse na tela de seleção de cená…
Dev-JoseRonaldo Jun 25, 2022
6560c2f
:sparkles: feat: Todo o sistema da cena de abertura do game, e ajuste…
Dev-JoseRonaldo Jun 25, 2022
2442f37
:sparkles: feat: Html css e troca de cena da cena de créditos
Dev-JoseRonaldo Jun 27, 2022
58dad8d
:lipstick: feat: Melhorando estilização da cena de game over e do menu
Dev-JoseRonaldo Jun 27, 2022
b2a8ec2
:sparkles: feat: Estilização da tela de pause e primeira parte do seu…
Dev-JoseRonaldo Jun 28, 2022
40761f9
:boom: fix: retirando sistema de pause do game
Dev-JoseRonaldo Jun 29, 2022
c00dfd8
:sparkles: feat: Trocando tema do jogo (Paralax,backgrounds e sons) d…
Dev-JoseRonaldo Jun 30, 2022
cba6cc5
:sparkles: feat: Trocando tema do jogo (fontes e cores de variaveis d…
Dev-JoseRonaldo Jun 30, 2022
39d5310
:sparkles: feat: Adicionando o paralax do mapa de campo
Dev-JoseRonaldo Jun 30, 2022
758c70e
:sparkles: feat: Adicionando o paralax do mapa de deserto
Dev-JoseRonaldo Jun 30, 2022
6b8ca60
:sparkles: feat: Adicionando o paralax do mapa industrial
Dev-JoseRonaldo Jul 1, 2022
c7d6ccf
:sparkles: feat: Colocando seleção de cenário no local storage e pers…
Dev-JoseRonaldo Jul 2, 2022
e1f6b25
:sparkles: feat: Ajustando fontes, cores, e novas keys no objeto de c…
Dev-JoseRonaldo Jul 2, 2022
5649826
:sparkles: feat: Salvando personagem selecionado no local storage
Dev-JoseRonaldo Jul 2, 2022
2b1e313
:sparkles: feat: Adicionando e configurando todos os audios do game
Dev-JoseRonaldo Jul 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Images/background/bg_cyberpunk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/background/bg_cyberpunk_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/background/bg_desert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/background/bg_desert_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/background/bg_farm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/background/bg_farm_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/background/bg_florest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/background/bg_florest_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/background/bg_halloween.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/background/bg_halloween_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/background/bg_industry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/background/bg_industry_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/characters/christmas/christmas_dead.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/characters/christmas/christmas_jump.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/characters/christmas/christmas_run.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/characters/cowboy_man/cowboy_man_dead.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/characters/cowboy_man/cowboy_man_jump.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/characters/cowboy_man/cowboy_man_run.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/characters/dino/dino_dead.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/characters/dino/dino_idle_70.gif
Binary file added Images/characters/dino/dino_jump.gif
Binary file added Images/characters/dino/dino_run.gif
Binary file added Images/characters/halloween/halloween_dead.gif
Binary file added Images/characters/halloween/halloween_jump.gif
Binary file added Images/characters/halloween/halloween_run.gif
Binary file added Images/characters/ninja_girl/ninja_girl_dead.gif
Binary file added Images/characters/ninja_girl/ninja_girl_jump.gif
Binary file added Images/characters/ninja_girl/ninja_girl_run.gif
Binary file added Images/characters/ninja_man/ninja_man_dead.gif
Binary file added Images/characters/ninja_man/ninja_man_jump.gif
Binary file added Images/characters/ninja_man/ninja_man_run.gif
Binary file added Images/characters/robot/robot_dead.gif
Binary file added Images/characters/robot/robot_idle_70.gif
Binary file added Images/characters/robot/robot_jump.gif
Binary file added Images/characters/robot/robot_run.gif
Binary file added Images/enemy_1.gif
Binary file added Images/enemy_idle.gif
Binary file added Images/menu.png
Binary file added Images/scenes/cyberpunk/layer_1.png
Binary file added Images/scenes/cyberpunk/layer_2.png
Binary file added Images/scenes/cyberpunk/layer_3.png
Binary file added Images/scenes/desert/layer_1.png
Binary file added Images/scenes/desert/layer_2.png
Binary file added Images/scenes/desert/layer_3.png
Binary file added Images/scenes/desert/layer_4.png
Binary file added Images/scenes/desert/layer_5.png
Binary file added Images/scenes/desert/layer_6.png
Binary file added Images/scenes/farm/layer_1.png
Binary file added Images/scenes/farm/layer_2.png
Binary file added Images/scenes/farm/layer_3.png
Binary file added Images/scenes/florest/Layer_0004_Lights.png
Binary file added Images/scenes/florest/Layer_0007_Lights.png
Binary file added Images/scenes/florest/layer_1.png
Binary file added Images/scenes/florest/layer_2.png
Binary file added Images/scenes/florest/layer_3.png
Binary file added Images/scenes/florest/layer_4.png
Binary file added Images/scenes/florest/layer_5.png
Binary file added Images/scenes/florest/layer_6.png
Binary file added Images/scenes/florest/layer_7.png
Binary file added Images/scenes/florest/layer_8.png
Binary file added Images/scenes/florest/layer_9.png
Binary file added Images/scenes/industry/layer_1.png
Binary file added Images/scenes/industry/layer_2.png
Binary file added Images/scenes/industry/layer_3.png
Binary file added Images/scenes/industry/layer_4.png
Binary file added Images/scenes/industry/layer_5.png
134 changes: 134 additions & 0 deletions css/layouts/background.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
.background {
position: absolute;
bottom: 0;
left: 0;
width: 1750px;
}

.background__img {
position: absolute;
bottom: 94px;
left: 0;
width: 100%;
height: auto;
}

.background__img--florest {
position: absolute;
bottom: 0px;
left: 0;
width: auto;
height: 100%;
}

/*
.background__img--1 {
animation: bg-animation 0s infinite linear;
}
*/

.background__img--2 {
animation: bg-animation 11s infinite linear;
}

.background__img--3 {
animation: bg-animation 10s infinite linear;
}

.background__img--4 {
animation: light-animation 18s infinite linear;
}

.background__img--5 {
animation: bg-animation 8s infinite linear;
}

.background__img--6 {
animation: bg-animation 7s infinite linear;
}
.background__img--7 {
animation: light-animation 12s infinite linear;
}

.background__img--8 {
animation: bg-animation 5s infinite linear;
}

.background__img--9 {
animation: bg-animation 4s infinite linear;
}
.background__img--10 {
animation: bg-animation 1s infinite linear;
}

.background__terrain {
width: auto;
height: 100%;
position: absolute;
bottom: 0;
left: 0;
animation: terrain-animation 1s infinite linear;
}

@keyframes bg-animation {
from {
left: -6px;
}
to {
left: -928px;
}
}

@keyframes light-animation {
from {
left: 900px;
}
to {
left: -900px;
}
}

@keyframes terrain-animation {
from {
left: -6px;
}
to {
left: -928px;
}
}

@keyframes bg-cyberpunk-animation {
from {
left: -6px;
}
to {
left: -1100px;
}
}

@keyframes bg-farm-animation {
from {
left: -6px;
}
to {
left: -1024.6px;
}
}

@keyframes bg-desert-animation {
from {
left: -6px;
}
to {
left: -1200px;
}
}

@keyframes bg-industry-animation {
from {
left: -6px;
}
to {
left: -1088px;
}
}
46 changes: 46 additions & 0 deletions css/layouts/buttons.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
.button {
font-size: 1rem;
font-weight: 500;

padding: 12px 20px;
background-color: transparent;
border: 1px solid var(--color-btn);
border-radius: 20px;
color: var(--color-btn);
text-transform: uppercase;
cursor: pointer;
font-family: var(--font-secundary);
}

.button--small {
font-size: 0.7rem;
padding: 7.5px 13.5px;
border-radius: 15px;
z-index: 100;
}

.select-person__back-menu--locked {
cursor: default;
z-index: 150;
font-weight: 700;
}

.button--menu,
.game-over__btn {
font-family: var(--font-ui);
color: var(--color-btn);
background: var(--linear-btn);
font-size: 1.25rem;
border: none;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.49);
transition: all 0.2s ease;
}

.button--menu:hover,
.game-over__btn:hover {
background: var(--btn-hover);
}

.button--ui {
font-family: var(--font-ui);
}
47 changes: 47 additions & 0 deletions css/layouts/card-person.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
.select-person__person {
max-width: 150px;
display: flex;
flex-direction: column;
gap: 30px;
align-items: center;
justify-content: center;
text-align: center;
text-transform: uppercase;
font-size: 0.8rem;
font-weight: 700;
font-family: var(--font-ui);
color: var(--color-btn);

margin: 0 auto;
padding: 0;
background-color: var(--color-game-title);

background: var(--linear-btn);
border: 1px solid black;
border-radius: 30px;
position: relative;
}

.select-person__person--locked::after {
position: absolute;
content: '';
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: black;
opacity: 0.5;
border-radius: 30px;
}
.select-person__person-box {
width: 70%;
height: 80%;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(178px, 4fr));
gap: 1rem;
}

.person__img {
width: 50%;
margin-bottom: 5px;
}
135 changes: 135 additions & 0 deletions css/layouts/card-scene.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
.select-scene__scene {
position: relative;
width: 227px;
height: 138px;

display: flex;
align-items: center;
justify-content: center;

margin: auto;
padding: 0;
background-color: var(--color-game-title);

background: linear-gradient(90deg, #0d4b17 0%, #349e46 100%);
}

.select-scene__scene--locked::after {
position: absolute;
content: '';
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: black;
opacity: 0.4;
border-radius: 30px;
}
.select-scene__scene-box {
width: 70%;
height: 60%;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 4fr));
gap: 1rem;
}

.select-scene__scene {
cursor: pointer;
}

.select-scene__scene:nth-child(1):hover ~ .select-scene_background {
animation: bg-scene-in 0.5s ease-in forwards;
background-image: url('/Images/background/bg_florest.png');
}

.select-scene__scene:nth-child(2):hover ~ .select-scene_background {
animation: bg-scene-in 0.5s ease-in forwards;
background-image: url('/Images/background/bg_cyberpunk.png');
}

.select-scene__scene:nth-child(3):hover ~ .select-scene_background {
animation: bg-scene-in 0.5s ease-in forwards;
background-image: url('/Images/background/bg_farm.png');
}

.select-scene__scene:nth-child(4):hover ~ .select-scene_background {
animation: bg-scene-in 0.5s ease-in forwards;
background-image: url('/Images/background/bg_desert.png');
}

.select-scene__scene:nth-child(5):hover ~ .select-scene_background {
animation: bg-scene-in 0.5s ease-in forwards;
background-image: url('/Images/background/bg_industry.png');
}

.select-scene__scene:nth-child(6):hover ~ .select-scene_background {
animation: bg-scene-in 0.5s ease-in forwards;
background-image: url('/Images/background/bg_halloween.png');
}

.select-scene__scene:hover {
background: #4de466;
}

.select-scene__scene:hover .scene__locked {
display: flex;
}

.scene__info {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.scene__img {
width: 97%;
height: 95%;
object-fit: cover;
}

.scene__locked {
display: none;
position: absolute;
background-color: black;
opacity: 0.8;
width: 98%;
height: 95%;
align-items: center;
justify-content: center;
}

.locked__text {
text-transform: uppercase;
font-family: var(--font-primary);
color: #4de466;
opacity: 1;
z-index: 200;
}

@keyframes card-hover {
0% {
opacity: 1;
}
100% {
opacity: 0.1;
}
}

@keyframes card-hover-out {
0% {
opacity: 0.1;
}
100% {
opacity: 1;
}
}

@keyframes bg-scene-in {
0% {
opacity: 0.6;
}
100% {
opacity: 1;
}
}
Loading