{"id":47783570,"url":"https://github.com/lostjared/AcidDrop","last_synced_at":"2026-04-18T18:01:45.683Z","repository":{"id":336846478,"uuid":"1151367209","full_name":"lostjared/AcidDrop","owner":"lostjared","description":"Remake of classic Atari 2600 game \"Acid Drop\"","archived":false,"fork":false,"pushed_at":"2026-04-05T05:25:35.000Z","size":9760,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-05T07:41:56.990Z","etag":null,"topics":["atari","classic","cplusplus","puzzle-game","remake","sdl2","vulkan"],"latest_commit_sha":null,"homepage":"https://lostsidedead.biz/drop/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lostjared.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-06T11:28:52.000Z","updated_at":"2026-04-05T05:25:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/lostjared/AcidDrop","commit_stats":null,"previous_names":["lostjared/aciddrop"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/lostjared/AcidDrop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostjared%2FAcidDrop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostjared%2FAcidDrop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostjared%2FAcidDrop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostjared%2FAcidDrop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lostjared","download_url":"https://codeload.github.com/lostjared/AcidDrop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostjared%2FAcidDrop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31978808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["atari","classic","cplusplus","puzzle-game","remake","sdl2","vulkan"],"created_at":"2026-04-03T14:00:39.531Z","updated_at":"2026-04-18T18:01:45.668Z","avatar_url":"https://github.com/lostjared.png","language":"C++","funding_links":[],"categories":["Arcade"],"sub_categories":[],"readme":"#  Liquid Acid Drop\n\n**A Vulkan-powered puzzle game inspired by the Atari 2600 classic *Acid Drop*, built with the MX2 Engine.**\n\n\u003cimg width=\"1280\" height=\"720\" alt=\"Gameplay Screenshot\" src=\"https://github.com/user-attachments/assets/f36c37d8-5ba1-4a9f-9fac-ea73d1474042\" /\u003e\n\u003cimg width=\"1280\" height=\"720\" alt=\"Menu Screenshot\" src=\"https://github.com/user-attachments/assets/a5719b1c-ee37-4444-917d-0f4c5735ca7b\" /\u003e\n\n## Overview\n\nTo compile this you will need to compile in Vulkan support to libmx2\n\n```bash\ngit clone https://github.com/lostjared/libmx2.git\ncd libmx2/libmx\nmkdir buildvk\ncd buildvk\ncmake .. -DEXAMPLES=OFF -DVULKAN=ON -DOPENGL=OFF -DCMAKE_INSTALL_PREFIX=/usr/local/mxvk\ncd buildvk\nmake -j$(nproc)\nsudo make install\n```\n\nThen compile AcidDrop\n\n```bash\ngit clone https://github.com/lostjared/AcidDrop.git\ncd AcidDrop\nmkdir ac\ncd ac\ncmake .. -DCMAKE_PREFIX_PATH=/usr/local/mxvk -DCMAKE_INSTALL_PREFIX=/usr/local/mxvk\nmake -j$(nproc)\n./AcidDrop -p ..\n```\n\nLiquid Acid Drop is a color-matching puzzle game where players guide falling tri-colored blocks into an 818 grid. Match **3 or more** blocks of the same color horizontally, vertically, or diagonally to clear them and score points. The game features GPU-accelerated fragment shader visual effects, persistent high scores, and progressively increasing difficulty.\n\nBuilt entirely with **Vulkan** for rendering and **SDL2** for windowing/input, this game serves as both a playable title and a showcase for the [libmx2](https://github.com/lostjared/libmx2) engine's 2D sprite and text rendering capabilities.\n\n## Features\n\n- **Vulkan Rendering Pipeline**  All graphics are rendered via Vulkan, including sprite batching, text rendering with SDL_ttf, and custom SPIR-V fragment shaders\n- **Shader-Driven Visual Effects**  Backgrounds use kaleidoscope, bubble, and time-warp fragment shaders for psychedelic animated visuals\n- **Color-Match Puzzle Mechanics**  Match 3+ blocks horizontally, vertically, or diagonally to clear; cascading gravity triggers chain reactions for bonus points\n- **Block Rotation \u0026 Color Shifting**  Rotate blocks between vertical and horizontal orientation, and cycle the color order within a piece\n- **Animated Match Flashing**  Matched blocks flash before clearing, providing clear visual feedback\n- **Progressive Difficulty**  Game speed increases every 10 line clears, with three starting difficulty levels (Easy, Normal, Hard)\n- **Persistent High Scores**  Top 10 scores are saved to disk and restored between sessions\n- **Resizable Window**  Dynamic font scaling and layout adapts to any window size\n- **Fullscreen Support**  Launch in fullscreen mode via command-line flag\n- **Cross-Platform**  Builds on Linux, macOS (via MoltenVK), and Windows\n\n## How to Play\n\n### Controls\n\n| Key | Action |\n|---|---|\n| ** ** | Move block left/right |\n| **** | Soft drop (move block down faster) |\n| **** | Shift colors within the block (forward) |\n| **Z** | Shift colors within the block (reverse) |\n| **Space** | Rotate block (vertical  horizontal) |\n| **P** | Pause / Resume |\n| **Escape** | Return to main menu / Quit |\n| **Enter** | Confirm menu selection |\n\n### Gameplay\n\n1. **Falling Blocks**  A piece made of 3 colored segments falls from the top of the grid\n2. **Position \u0026 Rotate**  Move the piece left/right, rotate it between vertical and horizontal, and shift the color order to set up matches\n3. **Match to Clear**  When 3 or more same-colored blocks align horizontally, vertically, or diagonally, they flash and are cleared from the grid\n4. **Gravity \u0026 Chains**  After blocks are cleared, remaining blocks fall due to gravity, potentially triggering chain reactions for bonus points\n5. **Score Bonuses**  Matching 4 blocks awards +25 bonus points; matching 5+ awards +50 (diagonal matches give +35/+75)\n6. **Speed Up**  Every 10 line clears, the drop speed increases\n7. **Game Over**  The game ends when blocks stack up to the top of the grid\n\n### Scoring\n\n| Event | Points |\n|---|---|\n| Each block cleared | +6 |\n| 4-block horizontal/vertical match | +25 bonus |\n| 5+ block horizontal/vertical match | +50 bonus |\n| 4-block diagonal match | +35 bonus |\n| 5+ block diagonal match | +75 bonus |\n\n## Building\n\n### Prerequisites\n\n- **C++20** compatible compiler (GCC 10+, Clang 10+, MSVC 2019+)\n- **Vulkan SDK** (or MoltenVK on macOS)\n- **SDL2**, **SDL2_ttf**\n- **GLM** (OpenGL Mathematics)\n- **libpng**, **zlib**\n- **CMake** 3.10+\n- The **libmx2** library (parent project)\n\n\nThe game binary `AcidDrop` will be produced in the build directory.\n\n### Running\n\n```bash\n# Run with default settings (1280x720 windowed)\n./AcidDrop -p ..\n\n# Custom resolution\n./AcidDrop -p .. -r 1280x720\n\n# Fullscreen\n./AcidDrop -p .. -f\n```\n\nThe `-p` flag specifies the path to the game's resource directory (where the `data/` folder and `font.ttf` reside).\n\n## Project Structure\n\n```\nAcidDrop/\n skeleton.cpp          # Game logic, screens, input handling, and main()\n vk.hpp                # Vulkan engine header (VKWindow, VKSprite, VKText)\n vk.cpp                # Vulkan engine implementation\n CMakeLists.txt        # Build configuration\n font.ttf              # Default game font\n data/\n    *.png             # Sprite assets (blocks, backgrounds, UI screens)\n    *_vertex.vert     # GLSL vertex shaders\n    *_fragment.frag   # GLSL fragment shaders (kaleidoscope, bubble, warp, etc.)\n    *.spv             # Pre-compiled SPIR-V shader binaries\n scores.dat            # Persistent high score data (generated at runtime)\n```\n\n## Technical Details\n\n### Architecture\n\nThe game is built on the **MX2 Vulkan framework** (`mx::VKWindow`), which provides:\n\n- **Swap chain management** with automatic recreation on window resize\n- **2D Sprite system** (`mx::VKSprite`)  texture loading, batched draw calls, per-sprite custom fragment shaders with uniform parameters\n- **Text rendering** (`mx::VKText`)  SDL_ttf font rasterization uploaded as Vulkan textures with dedicated descriptor sets\n- **Depth buffering** and proper Vulkan synchronization primitives\n\n### Game Screens\n\n| Screen | Description |\n|---|---|\n| **Intro** | Splash screen with animated bubble shader; auto-advances after 3 seconds |\n| **Start Menu** | Main menu with New Game, High Scores, Options, Credits, and Quit |\n| **Game** | Active gameplay with the puzzle grid, score display, and next-piece preview |\n| **Game Over** | Displays final score and line count |\n| **High Scores** | Top 10 leaderboard with name entry for qualifying scores |\n| **Options** | Difficulty selection (Easy / Normal / Hard) |\n| **Credits** | Attribution screen |\n\n### Block Colors\n\nThe game features **9 distinct block colors**: Yellow, Orange, Light Blue, Dark Blue, Purple, Pink, Gray, Red, and Green  each with its own sprite texture.\n\n## Credits\n\n- **Engine \u0026 Game**  [Jared Bruni](https://github.com/lostjared)\n- **Framework**  [libmx2 / MX2 Engine](https://github.com/lostjared/libmx2)\n- **Inspired by**  *Acid Drop* (Atari 2600, 1992) and *Columns* (Sega, 1990)\n\n## License\n\nThis project is part of [libmx2](https://github.com/lostjared/libmx2). See the [LICENSE](../../LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostjared%2FAcidDrop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flostjared%2FAcidDrop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostjared%2FAcidDrop/lists"}