Monogame Content Importer
Monogame Content Importer
As anyone written a content importer and processor for monogame? Loading in the JSON takes too long.
Re: Monogame Content Importer
Hello,
You can consider using the FlatBuffer bytes file instead ( this is the binary representation of the Creature animated character):
https://github.com/kestrelm/Creature_Mo ... le.cs#L204
In the Unity version, users use this to speed up loading by quite a bit.
Thanks
You can consider using the FlatBuffer bytes file instead ( this is the binary representation of the Creature animated character):
https://github.com/kestrelm/Creature_Mo ... le.cs#L204
In the Unity version, users use this to speed up loading by quite a bit.
Thanks
Re: Monogame Content Importer
or what would be the best way of creating one for creature?
Re: Monogame Content Importer
Please consider trying to load the FlatBuffers binary format first. When you export your Creature character for Game Engines, there will be a .bytes file in it. That is the flatbuffers representation of the character. The load times for loading the binary character should be faster.
Re: Monogame Content Importer
Doing that helped decrease my load time by half but its still not fast enough lol.chong wrote: ↑Fri Feb 22, 2019 10:14 pmHello,
You can consider using the FlatBuffer bytes file instead ( this is the binary representation of the Creature animated character):
https://github.com/kestrelm/Creature_Mo ... le.cs#L204
In the Unity version, users use this to speed up loading by quite a bit.
Thanks
Re: Monogame Content Importer
Faster load times will require CreaturePack, might look into porting that over sometime.
CreaturePack is actually quite simple, you can consider porting it yourself to Monogame if you want:
https://github.com/kestrelm/Creature_Un ... eaturePack
Take a look here at the implementation:
https://github.com/kestrelm/Creature_Un ... ack/Distro
Also, there are things you can do to reduce your load times. Please look at your export options like Gap Step Compression and mesh resolution reduction.
Cheers
CreaturePack is actually quite simple, you can consider porting it yourself to Monogame if you want:
https://github.com/kestrelm/Creature_Un ... eaturePack
Take a look here at the implementation:
https://github.com/kestrelm/Creature_Un ... ack/Distro
Also, there are things you can do to reduce your load times. Please look at your export options like Gap Step Compression and mesh resolution reduction.
Cheers