mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-25 04:32:33 -06:00
Ancient question of nametag scaling solved.
This commit is contained in:
parent
556040b210
commit
aa17733adf
1 changed files with 3 additions and 2 deletions
|
@ -10,9 +10,10 @@ from toontown.toontowngui.Clickable3d import Clickable3d
|
||||||
|
|
||||||
|
|
||||||
class Nametag3d(Nametag, Clickable3d):
|
class Nametag3d(Nametag, Clickable3d):
|
||||||
SCALING_MIN_DISTANCE = 1
|
MAX_SCALE = 2.5
|
||||||
SCALING_MAX_DISTANCE = 50
|
|
||||||
SCALING_FACTOR = 0.065
|
SCALING_FACTOR = 0.065
|
||||||
|
SCALING_MIN_DISTANCE = 1
|
||||||
|
SCALING_MAX_DISTANCE = math.pow(MAX_SCALE / SCALING_FACTOR, 2)
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
Nametag.__init__(self)
|
Nametag.__init__(self)
|
||||||
|
|
Loading…
Reference in a new issue