Skip to content

updated VSCode project to match latest WASM practices#2296

Merged
raysan5 merged 1 commit intoraysan5:masterfrom
phil-shenk:master
Jan 21, 2022
Merged

updated VSCode project to match latest WASM practices#2296
raysan5 merged 1 commit intoraysan5:masterfrom
phil-shenk:master

Conversation

@phil-shenk
Copy link
Contributor

When compiling for PLATFORM_WEB, the ./projects/VSCode sample relied on libraylib.bc, which is no longer generated by the latest raylib makefile.

I also updated the EMSDK path formatting to match raylib-game-template, and updated the versions to those in the latest EMSDK.

I refactored the VSCode example's main.c to use emscripten_set_main_loop() on PLATFORM_WEB, and added the resources/LICENSE file to match the game template.

This PR should allow those following the Working For Web guide to make use of the VSCode project sample.

@raysan5 raysan5 merged commit dfac74f into raysan5:master Jan 21, 2022
@raysan5
Copy link
Owner

raysan5 commented Jan 21, 2022

@phil-shenk thanks for the review! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants