{"id":23456367,"url":"https://github.com/cfrankb/esp32-s3-vga-cs3","last_synced_at":"2026-05-11T16:01:54.458Z","repository":{"id":269101064,"uuid":"906406400","full_name":"cfrankb/ESP32-S3-VGA-CS3","owner":"cfrankb","description":"Creepspread III (remake) for the  ESP32S3 VGA (2024). Originally written in assembly for MSDOS in 1993.","archived":false,"fork":false,"pushed_at":"2025-02-03T21:26:53.000Z","size":2452,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T06:42:46.714Z","etag":null,"topics":["esp32s3","game","maze-game","microcontroller","puzzle","puzzle-game","sidescroller","vga","vga-driver"],"latest_commit_sha":null,"homepage":"","language":"C++","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/cfrankb.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,"zenodo":null}},"created_at":"2024-12-20T20:49:03.000Z","updated_at":"2025-02-03T21:26:56.000Z","dependencies_parsed_at":"2024-12-20T23:23:10.829Z","dependency_job_id":"83423bdd-984b-44da-9ddc-6b4bfab72184","html_url":"https://github.com/cfrankb/ESP32-S3-VGA-CS3","commit_stats":null,"previous_names":["cfrankb/esp32-s3-vga-test","cfrankb/esp32-s3-vga-cs3"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cfrankb/ESP32-S3-VGA-CS3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfrankb%2FESP32-S3-VGA-CS3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfrankb%2FESP32-S3-VGA-CS3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfrankb%2FESP32-S3-VGA-CS3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfrankb%2FESP32-S3-VGA-CS3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfrankb","download_url":"https://codeload.github.com/cfrankb/ESP32-S3-VGA-CS3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfrankb%2FESP32-S3-VGA-CS3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264027818,"owners_count":23546141,"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":["esp32s3","game","maze-game","microcontroller","puzzle","puzzle-game","sidescroller","vga","vga-driver"],"created_at":"2024-12-24T04:28:34.441Z","updated_at":"2026-05-11T16:01:54.448Z","avatar_url":"https://github.com/cfrankb.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nTransitioning from 1993 x86 Assembly to modern C++ on ESP32-S3 involved re-implementing low-level memory buffers and interrupt-driven logic while maintaining the original game's timing and deterministic behavior.\n\n\nTo overcome SRAM limitations on the ESP32-S3, the game utilizes a Scanline Composition Engine. Instead of double-buffering the entire screen, sprites and tiles are composited into a single-row offload buffer before being committed to the display surface. This allows for complex transparency and layering without the 300KB+ memory overhead of a back-buffer.\n\nThis project serves as a bridge between low-level legacy architecture and modern embedded systems. It involved refactoring 16-bit Assembly logic into a structured, object-oriented C++ framework using the ESP-IDF, demonstrating long-term adaptability in software engineering.\n\nProject focus: High-performance 2D graphics and hardware interfacing. (Note: Utilizing community-standard VGA timing libraries to focus on custom drawing routines and hardware adaptor design).\n\n## Original MS-DOS\n\n![Image](techdocs/images/Screenshot_2022-10-19_21-01-20.png \"icon\")\n\n## ESP32-S3 VGA\n\n![Image](techdocs/images/20241221_100753-crop.jpg \"icon\")\n\nGameplay: https://www.youtube.com/watch?v=SPQwWkzFRpU\n\nI am also releasing the source code for the map editor:\nhttps://github.com/cfrankb/cs3-map-edit\n\nTry the online version of the game:\nhttps://cfrankb.itch.io/creepspread-iii\n\nCurrent status is alpha. 90% of the core mechanic has been implemented.\n\n# Software required\n\nesp-idf v5.3 or later.\n\n# Installation\n\nThis project is based in part on: https://github.com/spikepavel/ESP32-S3-VGA\n\n```Shell\ngit clone https://github.com/cfrankb/ESP32-S3-VGA-CS3.git\ncd ESP32-S3-VGA-CS3/\nidf.py set-target esp32s3\nidf.py menuconfig\nidf.py flash\n```\n\n# Hardware\n\n## VGA Adaptor\n\nAn adaptor is needed to communicate with the VGA Hardware.\n\n\n![Image](techdocs/images/20250202_211146-crop.jpg \"icon\")\n\n\nkicad / gerber: [cfrankb/ESP32-S3-VGA-ADAPTOR](https://github.com/cfrankb/ESP32-S3-VGA-ADAPTOR)\n\n\n## Gamepad\n\n![Image](techdocs/images/20241222_072413-crop.jpg \"icon\")\n\n\n\n| Aim   | GPIO Pin |\n| ----- | -------- |\n| UP    | 38       |\n| DOWN  | 35       |\n| LEFT  | 47       |\n| RIGHT | 48       |\n\n```\nCGameController gamepad(GPIO_NUM_38, GPIO_NUM_35, GPIO_NUM_47, GPIO_NUM_48);\nengine-\u003eattach(\u0026gamepad);\n```\n\nThe above configuration is for the ESP32S3. Pin out will vary per model.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfrankb%2Fesp32-s3-vga-cs3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfrankb%2Fesp32-s3-vga-cs3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfrankb%2Fesp32-s3-vga-cs3/lists"}