Giter Club home page Giter Club logo

cub3d's Introduction

cub3d

This project is inspired by the world-famous Wolfenstein 3D game, which was the first FPS ever.

Project made by Gabriela Freitas and Diogo Calado

cub3d's People

Contributors

gabriela-freitas avatar dmbcalado avatar

Stargazers

mohamad hani janaty avatar

Watchers

 avatar

Forkers

dmbcalado

cub3d's Issues

Math added -> time to get images to put on the window

Added the math directory with the 2 files that calculate the rays of the ray casting.
I think is working just fine however some mlx implementations need to be added now, alongside importing the images to test if this is working fine.
Changed the name of map_size to map_height you were right, it does seam more straight forward, and fixed the calc going weird sometimes by looping it after creation of the map.
I'm back on C++ for now tell me if you need anything! ๐Ÿ˜ƒ ๐Ÿš€
Screenshot from 2023-02-14 00-21-08

Segfault on Testmaps?

Gabi nao sei porque da segfault nos mapas. Verifica isso pff nao consigo tirar screenshot que o pc da escola que estou a usar ta bugado mas e so testares com o test_map4.cub. Vou acabar agora o teste do mapa, assim fica tudo completo e so precisamos de lidar com este problema.

Edge case in map checking

O Mario sugeriu que checassemos para cada '0', se ele estiver rodeado ou por espacos ou por caracteres nao existentes, entao ja vai abaixo. Diz-me o que achas disso.

Screenshot from 2023-02-19 16-02-53

Map checker

โ—ฆ The map must be closed/surrounded by walls, if not the program must return
an error.
โ—ฆ Except for the map content, each type of element can be separated by one or
more empty line(s).
โ—ฆ Except for the map content which always has to be the last, each type of
element can be set in any order in the file.
โ—ฆ Except for the map, each type of information from an element can be separated
by one or more space(s).
โ—ฆ The map must be parsed as it looks in the file. Spaces are a valid part of the
map and are up to you to handle. You must be able to parse any kind of map,
as long as it respects the rules of the map.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.