MonoGame / MonoGame.Dependencies

The MonoGame binary dependencies submodule.
38 stars 51 forks source link

Added JSIL dll file #63

Closed harry-cpp closed 9 years ago

harry-cpp commented 9 years ago

Build from source code using: https://github.com/sq/JSIL/tree/eb73ec10fe0a85b7b3ed7d027c3d61311719d19a

tomspilman commented 9 years ago

I know what JSIL is... but remind me what this DLL is used for? Is this used for JavaScript generation?

harry-cpp commented 9 years ago

Is this used for JavaScript generation?

Kind of.

It's used to call javascript from c# when compiled with JSIL. ie: https://github.com/cra0zy/MonoGame/blob/webstuff/MonoGame.Framework/Web/WebGameWindow.cs#L7 https://github.com/cra0zy/MonoGame/blob/webstuff/MonoGame.Framework/Web/WebGameWindow.cs#L34

tomspilman commented 9 years ago

It's used to call javascript from c# when compiled with JSIL. ie:

Right... now I remember. So we build a "web" platform version of MonoGame and stuff. It internally uses this assembly to generate/call JS features. However this C# assembly is never actually run... it is instead used by the JSIL tools for generating the actual JS version of MonoGame.

harry-cpp commented 9 years ago

Right... now I remember. So we build a "web" platform version of MonoGame and stuff. It internally uses this assembly to generate/call JS features. However this C# assembly is never actually run... it is instead used by the JSIL tools for generating the actual JS version of MonoGame.

Yup