Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated VSCode project to match latest WASM practices #2296

Merged
merged 1 commit into from
Jan 21, 2022

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.

None yet

2 participants