Disable antialiasing on the font in the 2D platformer demo

Pixel fonts look best when antialiasing is disabled.
This commit is contained in:
Hugo Locurcio
2020-07-02 15:21:39 +02:00
parent ba44700ebe
commit aa390d1b30
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
[gd_resource type="DynamicFontData" format=2]
[resource]
antialiased = false
font_path = "res://assets/theme/fonts/kenney_mini_square.ttf"

View File

@@ -1,6 +1,6 @@
[gd_resource type="Theme" load_steps=8 format=2]
[ext_resource path="res://assets/theme/fonts/kenney_mini_square.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://assets/theme/fonts/kenney_mini_square.tres" type="DynamicFontData" id=1]
[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 6.0