{"id":26584266,"url":"https://github.com/roymasad/3draycaster","last_synced_at":"2025-10-09T21:36:25.757Z","repository":{"id":234703354,"uuid":"789391903","full_name":"roymasad/3draycaster","owner":"roymasad","description":"Python retro basic 3d Wolfenstein textured walls raycaster game engine using DDA to optimize/reduce ray casting steps.","archived":false,"fork":false,"pushed_at":"2024-04-23T19:41:31.000Z","size":8166,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T09:36:54.885Z","etag":null,"topics":["3d","dda-algorithm","doom","engine","game","game-engine","gamedev","pygame","python","raycaster","raycasting","retro","retrogaming","wolfenstein-3d"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roymasad.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-04-20T12:18:50.000Z","updated_at":"2024-04-23T21:22:50.000Z","dependencies_parsed_at":"2024-04-23T16:48:17.457Z","dependency_job_id":"57937063-a12a-4e59-84bc-39231272ac48","html_url":"https://github.com/roymasad/3draycaster","commit_stats":null,"previous_names":["roymasad/3draycaster"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roymasad/3draycaster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roymasad%2F3draycaster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roymasad%2F3draycaster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roymasad%2F3draycaster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roymasad%2F3draycaster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roymasad","download_url":"https://codeload.github.com/roymasad/3draycaster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roymasad%2F3draycaster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002051,"owners_count":26083286,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["3d","dda-algorithm","doom","engine","game","game-engine","gamedev","pygame","python","raycaster","raycasting","retro","retrogaming","wolfenstein-3d"],"created_at":"2025-03-23T09:33:06.812Z","updated_at":"2025-10-09T21:36:25.742Z","avatar_url":"https://github.com/roymasad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"License: MIT\n\nCode: Roy Massaad\n\n# Python 3D DDA Raycaster \n\nPython retro basic 3d Wolfenstein textured walls raycaster using DDA to optimize/reduce ray casting steps.\n\n![](doc/screenshot0.png)\n![](doc/screenshot1.png)\n![](doc/screenshot2.png)\n\n# Requirements\n\n* Python 3.11\n* Pygame-ce (actually faster than pygame, still lacking tho in fps in blitting)\n* CPU faster than an intel 286 and more than 528k of conventional memory sadly ;(\n\n# Install\n\npython -m venv env\n\n-Windows\nenv\\Scripts\\activate\n\n-MacOs\nsource env/bin/activate\n\npip install -r requirements.txt\n\n# Update requirements before push\n\npip freeze \u003e requirements.txt\n\n# Features\n\n* Map/Top 2d view for debbuging and 3d view\n* Map wall grids editor in top view (left click to add a block, right click to remove)\n* Different log debugging levels\n* Textured and Untextured walls\n* Press and hold Shift to Run\n* Different types of walls\n* Wall collision\n* Sliding off walls support\n* Depth gradient for textured and untextured walls\n* Toggle Horizontal/Vertical/Auto DDA scans for debugging/learning \n* Pause/Unpause\n* FPS/Raycast Steps UI counters\n* Different Inline map levels\n* Adjustable Field of View\n* Mouse movement\n* Skybox\n* Weapons HUD, animation\n* Audio fx and background music\n* Basic animated sprites with state machine and wall occlusion\n* Using custom sprite/state system (draw, update, init, animation list..)\n\n# TODO\n\n* Switch from pygame to pyglet for faster/hardware sprite blitting\n* GUI with Score board\n* Textured Floor\n* Some floors with 'reflections'\n* Different ceiling/walls heights? (i know it was a BSP feature but maybe can be done in raycasting..)\n* Pickup Sprites (health, ammo, score)\n* Weapons attack logic\n* Better enemy Sprites, animation, state Machine, navigation with different sprite angles\n* Add pickups/Enemy spawns to level editor\n* Save/Load levels to/from external files\n* Network deathmatch using Firebase realtime DB\n\n# Asset Credits\n\nSkybox from mekworks \nhttps://mekworx.the-powerhouse.net/meks-box-o-skies/\n\nWall textures from original wolfenstein 3d\n\nWeapons and enemies from Brutal Doom pk3\n\nBackground music and fx original doom (mp3 versions)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froymasad%2F3draycaster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froymasad%2F3draycaster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froymasad%2F3draycaster/lists"}