{"id":23176835,"url":"https://github.com/ryanlarge13/altos-odyssey-clone","last_synced_at":"2025-04-05T01:24:52.641Z","repository":{"id":241041826,"uuid":"802651929","full_name":"RyanLarge13/Altos-Odyssey-Clone","owner":"RyanLarge13","description":"Building a clone of the popular Alto's Odyssey mobile game for android but instead for the web","archived":false,"fork":false,"pushed_at":"2024-10-19T13:11:34.000Z","size":1368,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T09:41:38.974Z","etag":null,"topics":["canvas","game-development","javascript","oop"],"latest_commit_sha":null,"homepage":"https://ryanlarge13.github.io/Altos-Odyssey-Clone/","language":"JavaScript","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/RyanLarge13.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":"2024-05-18T22:08:08.000Z","updated_at":"2024-10-19T13:11:37.000Z","dependencies_parsed_at":"2024-06-06T22:07:58.521Z","dependency_job_id":"0cebb4fa-ff87-4790-a1ec-51807dd84523","html_url":"https://github.com/RyanLarge13/Altos-Odyssey-Clone","commit_stats":null,"previous_names":["ryanlarge13/altos-odyssey-clone"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanLarge13%2FAltos-Odyssey-Clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanLarge13%2FAltos-Odyssey-Clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanLarge13%2FAltos-Odyssey-Clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanLarge13%2FAltos-Odyssey-Clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RyanLarge13","download_url":"https://codeload.github.com/RyanLarge13/Altos-Odyssey-Clone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247273534,"owners_count":20911946,"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":["canvas","game-development","javascript","oop"],"created_at":"2024-12-18T06:19:44.762Z","updated_at":"2025-04-05T01:24:52.621Z","avatar_url":"https://github.com/RyanLarge13.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Altos Odyssey Clone-ish\n\nEndless Dunes is a 2D side-scrolling game inspired by the popular **Alto's Odyssey** for Android, built entirely with **vanilla JavaScript** and **HTML5 Canvas**. This project features dynamically generated sand dunes, smooth animations, and hand-drawn artwork created using **Inkscape**.\n\nThis game is still in progress as me and my oldest son try to work problems out together\n\n## Table of contents\n\n- [Features](#features)\n- [Game Art and Animations](#game-art-and-animation)\n- [How It Works](#how-it-works)\n- [Tools And Tech](#tools--technologies)\n- [Getting Started](#getting-started)\n- [Contributing](#contributing)\n- [License](#license)\n\n\u003cimg src=\"/assets/Altos-Odyssey-Game.png\" alt=\"game-play\" /\u003e\n\n## Features\n\n- **Dynamic Sand Dunes Generation:**\n\n  - The sand dunes are generated at runtime using a custom height map generator.\n  - A cubic Bezier curve function transforms the heightmap into smooth, continuous dunes that smoothly change in amplitude and frequency randomly as the game progresses.\n  - The current dune is 50,000 points long, with new dunes generated seamlessly as the player approaches the edge of the screen.\n  - Dunes are spliced and combined to optimize performance as they move out of the viewport.\n\n- **Hand-drawn Game Art:**\n  - All images, characters, and animations were created by hand using **Inkscape**.\n- **Custom Game Mechanics:**\n  - The gameplay is focused on smooth scrolling and a relaxing environment akin to Alto's Odyssey.\n  - Dynamic sand dunes give the illusion of infinite terrain while maintaining performance.\n\n## Game Art and Animation\n\n- Every sprite, background, and animation frame was designed using **Inkscape**, an open-source vector graphics editor. Inkscape allowed for precise, scalable artwork that gives the game its unique visual style.\n\n[Check out Inkscape](https://inkscape.org/)\n\n## How It Works\n\n1. **Height Map Generator:**\n\n   - The height map function produces random values that define the shape and structure of the sand dunes.\n\n2. **Bezier Curve Generation:**\n\n   - Using cubic Bezier curves, the game transforms heightmap data into smooth, flowing dunes.\n   - This curve ensures the dunes are smooth and visually appealing.\n\n3. **Seamless Dune Transition:**\n   - As the player progresses, new dunes are generated on the right side of the screen and are combined with the existing dunes.\n   - Once the dunes leave the screen on the left, their points are spliced to free memory and improve performance.\n\n[Quick Video Of GamePlay](/assets/Game-Play.webm)\n\n## Tools \u0026 Technologies\n\n- **JavaScript**: No external libraries, entirely built with vanilla JavaScript.\n- **HTML5 Canvas**: Used for rendering the dynamic dunes and character animations.\n- **Inkscape**: The design tool of choice for all game assets and animations.\n\n## Getting Started\n\nTo run the game locally:\n\n1. Clone the repository:\n\n   ```\n   git clone https://github.com/RyanLarge13/Altos-Odyssey-Clone.git\n   cd Altos-Odyssey-Clone\n   ```\n\n2. Open `index.html` in your browser:\n\n   ```\n   open index.html\n   ```\n\n## Contributing\n\nFeel free to contribute by submitting issues, pull requests, or suggestions to improve the game!\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanlarge13%2Faltos-odyssey-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanlarge13%2Faltos-odyssey-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanlarge13%2Faltos-odyssey-clone/lists"}