mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 07:50:22 +01:00
This makes demos render correctly on hiDPI displays, while also demonstrating how to handle multiple resolutions. The 3D in 2D demo now uses "3D No-Effects" for the 3D viewport, which is faster to render. Thanks to this, 4× MSAA is now enabled for a better result. The background loading demo now uses mipmaps for better-looking images. The material testers demo now samples mouse input in a resolution-independent manner when panning. Default clear colors were also changed in some projects for visual consistency with the project's theme.
21 lines
544 B
Plaintext
21 lines
544 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://troll.gd" type="Script" id=1]
|
|
[ext_resource path="res://troll.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
radius = 16.0
|
|
|
|
[node name="troll" type="KinematicBody2D"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 2 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 3.24216, 19.453 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
current = true
|