Space Engineers

Space Engineers

Text HUD API
Digi 2018 年 2 月 25 日 下午 7:03
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().
< >
目前顯示第 1-4 則留言,共 4
DraygoKorvan  [開發人員] 2019 年 3 月 5 日 下午 9:13 
Manual draw was added.
Digi 2019 年 3 月 5 日 下午 9: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().
最後修改者:Digi; 2019 年 3 月 5 日 下午 9:58
DraygoKorvan  [開發人員] 2019 年 3 月 5 日 下午 9:59 
hrm, wonder if i missed something ill take a look.
DraygoKorvan  [開發人員] 2019 年 3 月 5 日 下午 10:06 
Fixed, or it should be working now ;)
< >
目前顯示第 1-4 則留言,共 4
每頁顯示: 1530 50