From 2dae8fdef4bd1079a163b1e8eb9293c865c0a837 Mon Sep 17 00:00:00 2001 From: Qendolin <32160662+Qendolin@users.noreply.github.com> Date: Wed, 20 Apr 2022 20:15:35 +0200 Subject: [PATCH] Use sprites instead of polygons (#6725) Lines.circle is quite expensive and used for some minor effects. This has been changed to use sprites in certain places. --- core/assets-raw/sprites/shapes/ring-item.png | Bin 0 -> 488 bytes core/assets/contributors | 1 + core/src/mindustry/content/Fx.java | 4 ++-- core/src/mindustry/type/UnitType.java | 13 ++++++++----- 4 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 core/assets-raw/sprites/shapes/ring-item.png diff --git a/core/assets-raw/sprites/shapes/ring-item.png b/core/assets-raw/sprites/shapes/ring-item.png new file mode 100644 index 0000000000000000000000000000000000000000..e895ebef8988bcb7aa036e56908597f179bcb1e2 GIT binary patch literal 488 zcmeAS@N?(olHy`uVBq!ia0y~yU~m9o4mJh`hEk44ofy`glX=O&z_`fM z#WAE}&fD3J(~c-`xRk!DPft(X-{aY@(CY9c|F%b9QqrZU(`r%Ky_ff0i`u&7Pv_#R zhUO0?quLHwyQy@pes;&h8E!UcERN^$&kj2mM$5KHitO3*zp%cS9w#-pr>t1Pt@9%=Er*70lfXbQZvJ8-e8hV@B!VyxxAll5(1 zo*a2#HYsp*Lg@D*)`}_}uPt|YKA3Itm{-*NMsSl6??S;M;Vm=xHt(5<@jpO=)N;CACr!Ja}Ew)<7;4R uR{r!x^JL}Ya&u)ZzkT>(zGt4pPu37YhTPxgAx#Vn3=E#GelF{r5}E*