Code-only sample?


#1

Hello, is there a sample that shows how to use Xenko without the Editor? I have some experience with MonoGame, and I’m wondering if there’s a way to use Xenko in a similar way.

Mainly, how to:

  • Load textures to use with SpriteBatch (with some sort of ContentManager class)
  • Serialize and deserialize game data
  • Build game content (e.g. texture compression), is there a tool (command-line or GUI) to do that?

Thanks!


#2

a friend of mine made a basic example of starting a xenko game only by code. i’t very simple, but might be a good place to start:


#3

Just so you know, this will soon be much easier once https://github.com/xenko3d/xenko/issues/58 and then https://github.com/xenko3d/xenko/issues/12 are done (each Xenko assembly will be distributed as a separate NuGet package).