mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 06:09:46 +03:00
Disable antialiasing on the font in the 2D platformer demo
Pixel fonts look best when antialiasing is disabled.
This commit is contained in:
5
2d/platformer/assets/theme/fonts/kenney_mini_square.tres
Normal file
5
2d/platformer/assets/theme/fonts/kenney_mini_square.tres
Normal file
@@ -0,0 +1,5 @@
|
||||
[gd_resource type="DynamicFontData" format=2]
|
||||
|
||||
[resource]
|
||||
antialiased = false
|
||||
font_path = "res://assets/theme/fonts/kenney_mini_square.ttf"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user