lmangall / Raycaster-Game-Engine

3 stars 1 forks source link

Porting Cub3D to the Web with WebAssembly #176

Open 552020 opened 7 months ago

552020 commented 7 months ago

Note to myself. It was nice to have the project on the web, and I never tried WebAssembly.

https://robaboukhalil.medium.com/porting-games-to-the-web-with-webassembly-70d598e1a3ec

Resources:

lmangall commented 7 months ago

The asteroid game is so cool, and the code actually has a function called draw_pixel (and not render_pixel so related to one of our conversation topics "draw" might be the proper term)

Will this be useful for Transcendance ? The guy who wrote the medium article has a pong in C actually in his repo : https://github.com/flightcrank/pong

552020 commented 7 months ago

This would not be useful for transcendence I guess besides for the fact that you need to learn a little bit of WebDevelopment. In transcendence you code (the frontend) in Javascript, no WebAssembly. But I was always triggered by the idea to make available the stuff we do into the web, like the program itself. But this ha no priority, it's like after the bonus, more like as a note to myself.