Having issue getting the sprite render to work.
I can get the texturerender to work, but not the sprite.
Been going thru the sample projects, and seem to have run out of things i may have missed.
In the studio, everything looks to be setup the same as jumpyjet sample.
Have an entity, spritegroup(with 4 items). the entity is ref the spritegroup.
The entity has a sprite component and transformation component.
In my LoadContent i have
agentEntity = Asset.Load<Entity>("my_entity"); agentGroup = Asset.Load<SpriteGroup>("my_spritegroup"); agentSpriteRegion = agentGroup.Images.First().Region;
Entities.Add(agentEntity); Script.Add(GameScript1);
I’ve tried all kinds of stuff with the TransformationCompoent and SpriteComponent, no success.
I really want to use the SpriteRenedering over the texture rendering, so i know i can do it the other way, if i have to.