Avorion is really missing 2D functions like "UIRenderer():renderCircle()" and "drawCircle()".
Example from an actual mod: I need to draw bosses encounter areas on the galaxy map. They're circular. But Avorion API doesn't have a way to draw circles. So I draw a pseudo-circle using lots and lots of lines. It works, as you see, but the FPS drops from 60 to 40, because of that.
Suggestion
Rinart73
Avorion is really missing 2D functions like "UIRenderer():renderCircle()" and "drawCircle()".
Example from an actual mod: I need to draw bosses encounter areas on the galaxy map. They're circular. But Avorion API doesn't have a way to draw circles. So I draw a pseudo-circle using lots and lots of lines. It works, as you see, but the FPS drops from 60 to 40, because of that.
Link to comment
Share on other sites
0 answers to this suggestion
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now