ASCIIEditor

</> ursina.prefabs.ascii_editor
Inherits GridEditor

Initialization

ASCIIEditor(size=(61, 28), palette=(' ', '#', '|', 'A', '/', '\\..., font=Text.default_monospace_font, canvas_color=color.black, line_height=1.1)

Attributes

.text_entity

default: Text(parent=self.parent, text=text, x=-0.0, y=0.5,...


.scale

default: (self.text_entity.width, self.text_entity.height)


Methods

render()





input()

input(key=None)



Examples

Example