issues
search
ABCxFF
/
diepcustom
An open source diep.io custom private-server template
https://diepcustom.herokuapp.com/
GNU Affero General Public License v3.0
69
stars
60
forks
source link
Implement more serverside utility fields on tankdefinitions
#135
Closed
Nul-led
closed
1 year ago
Nul-led
commented
1 year ago
Why:
Fun?
Summarize what's being changed (include any screenshots, code, or other media if available):
added fields (and logic):
barrel/distance (y-offset aka distance of barrel from body)
barrel/color (color override)
tank/flags/displayAsStar
tank/flags/displayAsTrapezoid
tank/widthRatio (if the body is a rect, this can be used to modify the ratio of size to width)
tank/colorOverride (color override; rules: only applied on setTank, stores cached color)
tank/baseSizeOverride
Confirm the following:
[x] I have tested these changes (by compiling, running, and playing) and have seen no unintended differences in gameplay
Why:
Fun?
Summarize what's being changed (include any screenshots, code, or other media if available):
added fields (and logic):
Confirm the following: