{"id":20745873,"url":"https://github.com/isc30/wasm-pong","last_synced_at":"2026-03-07T20:32:28.436Z","repository":{"id":92561485,"uuid":"186268377","full_name":"isc30/wasm-pong","owner":"isc30","description":"WASM (emscripten, C++14) + WebGL2 (3D) + SDL2 (2D)","archived":false,"fork":false,"pushed_at":"2019-05-31T22:07:54.000Z","size":5243,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T12:52:19.999Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/isc30.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":"2019-05-12T14:56:57.000Z","updated_at":"2019-05-31T22:07:56.000Z","dependencies_parsed_at":"2023-04-12T07:46:43.252Z","dependency_job_id":null,"html_url":"https://github.com/isc30/wasm-pong","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/isc30/wasm-pong","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc30%2Fwasm-pong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc30%2Fwasm-pong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc30%2Fwasm-pong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc30%2Fwasm-pong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isc30","download_url":"https://codeload.github.com/isc30/wasm-pong/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isc30%2Fwasm-pong/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30229744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"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":[],"created_at":"2024-11-17T07:23:13.191Z","updated_at":"2026-03-07T20:32:28.349Z","avatar_url":"https://github.com/isc30.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebAssembly Pong\n\nThis is a test project to show the capabilities of WASM + WebGL 2.0\n\n## Demo!\n\nThe demo can be found in: http://isc30.github.io/wasm-pong/demo/\n\n## Features\n\nThe project consists on multiple parts glued together:\n\n### Emscripten\n\n* C++14 compiler to WebAssembly\n\n* Virtual filesystem\n  * On-demand resource loading over the network\n  * File bundler (RAM)\n\n### WebGL 2.0\n\n* 3D renderer (hardware accelerated)\n* Wrapper for OpenGL ES 3.0\n\n### SDL2\n\n* 2D renderer (software)\n* IO (input, filesystem, etc)\n* Window (context) management\n* Resource loading (images, audio, etc)\n\n### Custom (own)\n\n* Step-based GameLoop\n  * Compatible with single-threaded concurrent environments (WASM)\n  * Precise DeltaTime between Ticks\n\n* SDL2 wrapper for modern C++\n  * Smart pointers\n    * Difficult to cause memory leaks\n    * Automatic memory/ownership management\n  * OOP wrappers\n  * Event queue\n\n* Debugging tools\n  * Profiles\n  * Native compilation target (visual studio) for easy debugging\n  \n* OpenGL wrapper for modern C++\n  * Smart pointers\n  * Binding guards (scope based bind/unbind using RAII)\n  * GLType to native type conversions\n  * Automatic GLError checking\n  * Context information (GPU, GL extensions, vendor, etc)\n  \n\u003e Some pieces were taken from [ImasiEngine](https://bitbucket.org/imasi/imasiengine/src/master/ImasiEngine) (my old 3D engine project)\n\n# How to Compile\n\n## Visual Studio\nThere is a Visual Studio 2017 solution inside `project/vs2017`. Use the target `Debug/x64`.\n\n## Manually\n\nUse any GNU-based terminal (cmder is recommended in windows) and run `make wasm`.\n\nThe output files will appear inside the folder `build\\wasm`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisc30%2Fwasm-pong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisc30%2Fwasm-pong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisc30%2Fwasm-pong/lists"}