mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Nametags
This commit is contained in:
parent
196de9056e
commit
556040b210
3 changed files with 9 additions and 9 deletions
|
@ -2,20 +2,20 @@ from pandac.PandaModules import *
|
|||
|
||||
|
||||
class ChatBalloon(NodePath):
|
||||
TEXT_X_OFFSET = -0.05
|
||||
TEXT_X_OFFSET = -0.04
|
||||
TEXT_Y_OFFSET = -0.05
|
||||
|
||||
# Proportion of the Z offset based on the default line height, and the new
|
||||
# line height:
|
||||
TEXT_Z_OFFSET = -(4.0/33.0)
|
||||
|
||||
TEXT_MIN_WIDTH = 1.75
|
||||
TEXT_MIN_HEIGHT = 1
|
||||
TEXT_GLYPH_SCALE = 1.05
|
||||
TEXT_MIN_WIDTH = 1.55
|
||||
TEXT_MIN_HEIGHT = 1.1
|
||||
TEXT_GLYPH_SCALE = 0.95
|
||||
TEXT_GLYPH_SHIFT = -0.05
|
||||
|
||||
BALLOON_X_PADDING = 0.65
|
||||
BALLOON_Z_PADDING = 0.65
|
||||
BALLOON_X_PADDING = 0.525
|
||||
BALLOON_Z_PADDING = 0.5
|
||||
|
||||
BUTTON_SCALE = 6
|
||||
BUTTON_SHIFT = (0, 0, 0.6)
|
||||
|
|
|
@ -6,7 +6,7 @@ from toontown.nametag import NametagGlobals
|
|||
|
||||
|
||||
class Nametag:
|
||||
TEXT_WORD_WRAP = 8
|
||||
TEXT_WORD_WRAP = 7
|
||||
TEXT_Y_OFFSET = -0.05
|
||||
|
||||
CHAT_TEXT_WORD_WRAP = 12
|
||||
|
|
|
@ -35,8 +35,8 @@ class NametagGroup:
|
|||
self.chatColor = NametagGlobals.ChatColors[NametagGlobals.CCNormal]
|
||||
self.speedChatColor = VBase4(1, 1, 1, 1)
|
||||
|
||||
self.wordWrap = 8
|
||||
self.chatWordWrap = 12
|
||||
self.wordWrap = 7
|
||||
self.chatWordWrap = 10
|
||||
|
||||
self.text = ''
|
||||
|
||||
|
|
Loading…
Reference in a new issue