Space Engineers

Space Engineers

Text HUD API
Space text shadow and immediate draw call
Space text doesn't have a shadow option, would be nice to have one :}

Also, I'm drawing some lines along with the text in Draw() and the text lags behind the lines, most likely because your Draw() executes before my mod's.
I tried setting priority in the session component to 0, 1, 9999 and zero difference.
Maybe add a manual Draw() call for text objects to invoke ourselves in Draw().
< >
Näytetään 1-4 / 4 kommentista
DraygoKorvan  [kehittäjä] 5.3.2019 klo 21.13 
Manual draw was added.
Digi 5.3.2019 klo 21.58 
Nice.
However, calling it yields an error:

[07:50:56] ERROR: System.Exception: ModMessageBase-GetMember: MemberEnum out of enumerable range 7 at UIFun.Messagesv2.ModMessageBase.GetMember(Int32 MemberEnum) at UIFun.Messagesv2.ModSpaceMessage.GetMember(Int32 MemberEnum) at UIFun.FontTexture.GetMember(Object arg2, Int32 arg3) at Draygo.API.HudAPIv2.MessageGet(Object BackingObject, Int32 Member) at Draygo.API.HudAPIv2.MessageBase.Draw() at Digi.BuildInfo.Features.BlockInfoAdditions.UpdateDraw()
That is in my local branch so you can't replicate it with my public mod, but it's simply a SpaceMessage to which I call Draw() inside my session's Draw().
Viimeisin muokkaaja on Digi; 5.3.2019 klo 21.58
DraygoKorvan  [kehittäjä] 5.3.2019 klo 21.59 
hrm, wonder if i missed something ill take a look.
DraygoKorvan  [kehittäjä] 5.3.2019 klo 22.06 
Fixed, or it should be working now ;)
< >
Näytetään 1-4 / 4 kommentista
Sivua kohden: 1530 50