About
This project is from the BabylonJS Guided Learning Create a Game Tutorial Series, the different is that this project is built on top of Blazor Wasm using EventHorizon.Blazor.TypeScript.Interop.Generator to generate a C# proxy layer to the talk with the BabylonJS Framework.
This show cases Blazor Wasm being used with a relativity complicated JavaScript Framework to create a functional Game.
EventHorizon.Blazor.TypeScript.Interop.Generator
This is a project I, Cody Merritt Anhorn, personally created to help with the generation of the .NET/C# proxy layer. This proxy layer creates an interop layer to the underlying JavaScript having an almost exact API that would be used if the game was built in JavaScript/TypeScript.
Commands
# Setup .NET Http SSL
dotnet dev-certs https --trust
# Install EHZ Generator Tool
dotnet tool install -g EventHorizon.Blazor.TypeScript.Interop.Tool
# Update EHZ Generator Tool
dotnet tool update -g EventHorizon.Blazor.TypeScript.Interop.Tool
# Generated BabylonJS project interop with multiple sources.
ehz-generate -c Scene -c Engine -c DebugLayer -c HemisphericLight -c PointLight -c ArcRotateCamera -c UniversalCamera -c PBRMetallicRoughnessMaterial -c MeshBuilder -c SceneLoader -c StandardMaterial -c ExecuteCodeAction -c AdvancedDynamicTexture -c Button -c StackPanel -c Sound -c CubeTexture -c GlowLayer -a Blazor.BabylonJS.WASM -s https://cdn.jsdelivr.net/gh/BabylonJS/Babylon.js@4.2.0/dist/babylon.d.ts -s https://cdn.jsdelivr.net/gh/BabylonJS/Babylon.js@4.2.0/dist/gui/babylon.gui.d.ts
Licensing
Art Assets
This work is licensed under a Creative Commons Attribution 4.0 International License.
Art by Bianca Guerrero (capucat)
Music
"copycat" by syncopika is licensed under CC-BY 3.0
"Snowland Town" by Matthew Pablo is licensed under CC-BY 3.0
http://www.matthewpablo.com
"Jump2" by LloydEvans09 is licensed under CC-BY 3.0
Other Assets
Unless specified, all other assets are licensed under CC0