{"id":23301959,"url":"https://github.com/caiofov/cg-webgl","last_synced_at":"2026-05-06T19:31:26.308Z","repository":{"id":264031725,"uuid":"658538848","full_name":"caiofov/CG-WebGL","owner":"caiofov","description":"A Subway Surfers-inspired game where players dodge trains and collect coins to increase their score.","archived":false,"fork":false,"pushed_at":"2024-11-21T21:15:06.000Z","size":2527,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T04:31:19.691Z","etag":null,"topics":["bootstrap","css","game","game-development","github-pages","html","subway-surfers","webgl"],"latest_commit_sha":null,"homepage":"https://caiofov.github.io/CG-WebGL/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caiofov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-26T02:25:52.000Z","updated_at":"2024-12-14T20:35:06.000Z","dependencies_parsed_at":"2024-11-21T16:42:08.923Z","dependency_job_id":"4afd98b0-447b-47c7-918f-31b010a61049","html_url":"https://github.com/caiofov/CG-WebGL","commit_stats":null,"previous_names":["caiofov/cg-webgl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiofov%2FCG-WebGL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiofov%2FCG-WebGL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiofov%2FCG-WebGL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiofov%2FCG-WebGL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caiofov","download_url":"https://codeload.github.com/caiofov/CG-WebGL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247558237,"owners_count":20958132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","css","game","game-development","github-pages","html","subway-surfers","webgl"],"created_at":"2024-12-20T10:18:11.482Z","updated_at":"2026-05-06T19:31:26.273Z","avatar_url":"https://github.com/caiofov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trabalho 2 - Computação Gráfica\n\n![thumb](img/thumb.png)\n\nSegundo trabalho da disciplina de **Computação Gráfica I** do semestre 2023.2\n\n- Caio de Freitas Oliveira - 501375\n- Matheus Ribeiro Alencar - 494711\n\n## Como rodar:\n\nBasta abrir o arquivo `index.html` em um servidor local.\n\n## Sobre o jogo:\n\nInspirado no famoso _Subway Surfers_, o jogador deverá desviar dos trens para alcançar sua melhor pontuação. Além disso, ele pode também coletar moedas, que adicionarão mais pontos ao seu total.\n\nCaso colida com um trem e queira recomeçar, será necessário recarregar a página.\n\n## Sobre requisitos\n\n- Câmera: A visão é em 3ª pessoa, podendo ser movida com as teclas `WASD`. O personagem do jogador também se move junto à câmera.\n- Iluminação: Utilizamos o modelo de reflexão de Phong com luzes ambiente, direcional e especular. A luz da moeda é pontual e se move.\n- Transformações: Foram realizadas translações para a moeda, jogador e trens. Além disso, a moeda também rotaciona.\n- Todos os objetos tem textura, com exceção do jogador e da moeda, que possuem cor sólida.\n- Utilizamos o **WebGL** como foi feito durante as aulas da disciplina. Além disso, também utilizamos a biblioteca **math.js** para realizar operações com matrizes.\n- O jogador e a moeda são objetos carregados de OBJ a partir de um leitor implementador por nós.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaiofov%2Fcg-webgl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaiofov%2Fcg-webgl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaiofov%2Fcg-webgl/lists"}