Skip to content

Commit

Permalink
Improve demo, now have some scenery made with a gridmap and a basic g…
Browse files Browse the repository at this point in the history
…un implementation so you can shoot at stuff.
  • Loading branch information
BastiaanOlij committed Jan 24, 2020
1 parent 394680d commit e56ea40
Show file tree
Hide file tree
Showing 689 changed files with 14,917 additions and 75 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,12 @@ if interface:

License
-------
Note that the source in this repository is licensed by the MIT license model. This covers only the source code in this repository.
Note that the source in this repository is licensed by the MIT license model. This covers only the source code in this repository.

Both Godot and OpenVR have their own license requirements. See their respective git repositories for more details.

Finally you will find 3rd party assets in the assets subfolder, please check their individual licenses stored in the folders.

About this repository
---------------------
This repository was created by and is maintained by Bastiaan Olij a.k.a. Mux213
Expand Down
22 changes: 22 additions & 0 deletions demo/Main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,25 @@ func _process(delta):
elif (Input.is_key_pressed(KEY_SPACE)):
# Calling center_on_hmd will cause the ARVRServer to adjust all tracking data so the player is centered on the origin point looking forward
ARVRServer.center_on_hmd(true, true)

func _on_left_hand_picked_up(what):
# left hand picked up something, disable the teleporter
$OVRFirstPerson/Left_Hand/Function_Teleport.enabled = false

# and hide our controller mesh
$OVRFirstPerson/Left_Hand.show_controller_mesh = false

func _on_left_hand_dropped():
# enable it again
$OVRFirstPerson/Left_Hand/Function_Teleport.enabled = true

# and show our controller mesh
$OVRFirstPerson/Left_Hand.show_controller_mesh = true

func _on_Function_Pickup_has_picked_up(what):
# hide our controller mesh
$OVRFirstPerson/Right_Hand.show_controller_mesh = false

func _on_Function_Pickup_has_dropped():
# show our controller mesh
$OVRFirstPerson/Right_Hand.show_controller_mesh = true
132 changes: 95 additions & 37 deletions demo/Main.tscn
Original file line number Diff line number Diff line change
@@ -1,69 +1,127 @@
[gd_scene load_steps=13 format=2]
[gd_scene load_steps=15 format=2]

[ext_resource path="res://Main.gd" type="Script" id=1]
[ext_resource path="res://Milkyway.png" type="Texture" id=2]
[ext_resource path="res://environment.tres" type="Environment" id=2]
[ext_resource path="res://addons/vr-common/misc/VR_Common_Shader_Cache.tscn" type="PackedScene" id=3]
[ext_resource path="res://Table.tscn" type="PackedScene" id=4]
[ext_resource path="res://misc/Table.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/godot-openvr/scenes/ovr_first_person.tscn" type="PackedScene" id=5]
[ext_resource path="res://addons/vr-common/functions/Function_Direct_movement.tscn" type="PackedScene" id=6]
[ext_resource path="res://addons/vr-common/functions/Function_Teleport.tscn" type="PackedScene" id=7]

[sub_resource type="PanoramaSky" id=1]
panorama = ExtResource( 2 )

[sub_resource type="Environment" id=2]
background_mode = 2
background_sky = SubResource( 1 )
background_color = Color( 0, 0.53833, 0.703125, 1 )
ambient_light_color = Color( 0.328125, 0.328125, 0.328125, 1 )
ssao_blur = 1

[sub_resource type="SpatialMaterial" id=3]
params_diffuse_mode = 1
albedo_color = Color( 0.0342134, 0.992188, 0.116539, 1 )
roughness = 0.8

[sub_resource type="PlaneMesh" id=4]
material = SubResource( 3 )
[ext_resource path="res://addons/vr-common/functions/Function_Pickup.tscn" type="PackedScene" id=8]
[ext_resource path="res://assets/kenny.nl/kenney_natureKit/Godot/kenney_naturekit_tileset.meshlib" type="MeshLibrary" id=9]
[ext_resource path="res://assets/kenny.nl/kenney_natureKit/Godot/natureKit-leaves.material" type="Material" id=10]
[ext_resource path="res://misc/Uzi.tscn" type="PackedScene" id=11]
[ext_resource path="res://misc/UziMag.tscn" type="PackedScene" id=12]

[sub_resource type="PlaneMesh" id=1]
material = ExtResource( 10 )
size = Vector2( 10, 10 )
subdivide_width = 10
subdivide_depth = 10

[sub_resource type="BoxShape" id=5]
extents = Vector3( 20, 0.1, 20 )
[sub_resource type="BoxShape" id=2]
extents = Vector3( 100, 0.1, 100 )

[node name="Main" type="Spatial"]
script = ExtResource( 1 )

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 2 )
environment = ExtResource( 2 )

[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.623013, -0.733525, 0.271654, 0.321394, 0.55667, 0.766044, -0.713134, -0.389948, 0.582563, 0, 100, 0 )
transform = Transform( 0.819152, 0.0996005, -0.564862, 0, 0.984808, 0.173648, 0.573576, -0.142244, 0.806707, 0, 100, 0 )
light_energy = 2.0
shadow_enabled = true

[node name="StaticBody" type="StaticBody" parent="."]
[node name="Ground" type="StaticBody" parent="."]
collision_layer = 2
collision_mask = 0

[node name="Ground" type="MeshInstance" parent="StaticBody"]
transform = Transform( 100, 0, 0, 0, 100, 0, 0, 0, 100, -0.251513, -1.19209e-07, -0.137402 )
mesh = SubResource( 4 )
[node name="Mesh" type="MeshInstance" parent="Ground"]
transform = Transform( 100, 0, 0, 0, 100, 0, 0, 0, 100, 0, 0, 0 )
mesh = SubResource( 1 )
material/0 = null

[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0 )
shape = SubResource( 5 )

[node name="Table" parent="." instance=ExtResource( 4 )]

[node name="Test" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.63647, -1.15364 )
[node name="CollisionShape" type="CollisionShape" parent="Ground"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, 0 )
shape = SubResource( 2 )

[node name="Terrain" type="GridMap" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.2, 0 )
mesh_library = ExtResource( 9 )
cell_size = Vector3( 10, 2.5, 10 )
collision_layer = 2
collision_mask = 0
data = {
"cells": PoolIntArray( 0, 0, -535822288, 1, 0, -535822290, 2, 0, -535822287, 3, 0, -536870874, 4, 0, -536215547, 5, 0, -536215547, 6, 0, -536870907, 65532, 0, -535822331, 65533, 0, -536870874, 65534, 0, -536215504, 65535, 0, -535429077, 65539, 0, -535822322, 65540, 0, -536870909, 65541, 0, -536215549, 131069, 0, -535429094, 393213, 0, -535429090, 0, 1, -535429074, 1, 1, -535429072, 2, 1, -536870863, 3, 1, -536870874, 4, 1, -536215547, 5, 1, -536215547, 6, 1, -536870907, 65532, 1, -535822331, 65533, 1, -536870874, 65534, 1, -535429071, 65535, 1, -535429072, 65539, 1, -535822322, 65540, 1, -536870909, 65541, 1, -536215549, 131069, 1, -536870903, 0, 2, -535822292, 1, 2, -535822331, 2, 2, -536870874, 3, 2, -536870874, 4, 2, -536215547, 5, 2, -536215547, 6, 2, -536870907, 65532, 2, -535822331, 65533, 2, -536870874, 65534, 2, -536870907, 65535, 2, -535429082, 65536, 2, -536870894, 65537, 2, -536870910, 65538, 2, -536870910, 65539, 2, -535822321, 65540, 2, -536870909, 65541, 2, -536215549, 131069, 2, -536870905, 131070, 2, -536870910, 131071, 2, -536870910, 327680, 2, -536870893, 327681, 2, -536870895, 327682, 2, -536870895, 327683, 2, -536870903, 393213, 2, -535822327, 393214, 2, -536870895, 393215, 2, -536870895, 0, 3, -536870866, 1, 3, -536215547, 2, 3, -536215547, 3, 3, -536215547, 4, 3, -536215547, 5, 3, -536215547, 6, 3, -536870907, 65532, 3, -535822331, 65533, 3, -536215547, 65534, 3, -536215547, 65535, 3, -536215547, 65536, 3, -536870909, 65537, 3, -536870909, 65538, 3, -536870909, 65539, 3, -536870909, 65540, 3, -536870909, 65541, 3, -536215549, 131069, 3, -536870909, 131070, 3, -536870909, 131071, 3, -536870909, 327683, 3, -536870905, 393213, 3, -535822329, 524288, 3, -536870873, 524289, 3, -536870907, 524290, 3, -536870907, 589822, 3, -536870907, 589823, 3, -536870907, 0, 4, -535822331, 1, 4, -535822331, 2, 4, -535822331, 3, 4, -535822331, 4, 4, -535822331, 5, 4, -535822332, 6, 4, -536870907, 65532, 4, -535822331, 65533, 4, -535822331, 65534, 4, -535822331, 65535, 4, -535822331, 65536, 4, -535822333, 65537, 4, -535822333, 65538, 4, -535822333, 65539, 4, -535822333, 65540, 4, -535822333, 65541, 4, -535822333, 131069, 4, -535822333, 131070, 4, -535822333, 131071, 4, -535822333, 327680, 4, -535822333, 327681, 4, -535822333, 327682, 4, -535822333, 327683, 4, -535822333, 327684, 4, -536870905, 327685, 4, -536870903, 393213, 4, -535822333, 393214, 4, -535822333, 393215, 4, -535822333, 0, 65529, -536870907, 1, 65529, -536870907, 2, 65529, -536870907, 3, 65529, -536870907, 4, 65529, -536870907, 5, 65529, -536870907, 6, 65529, -536870907, 65532, 65529, -536870907, 65533, 65529, -536870907, 65534, 65529, -536870907, 65535, 65529, -536870907, 0, 65530, -536215547, 1, 65530, -536215547, 2, 65530, -536215547, 3, 65530, -536215547, 4, 65530, -536215547, 5, 65530, -536215547, 6, 65530, -536870907, 65532, 65530, -535822331, 65533, 65530, -536215547, 65534, 65530, -536215547, 65535, 65530, -536215547, 65536, 65530, -535429095, 65539, 65530, -535822301, 65540, 65530, -536215531, 65541, 65530, -536215531, 131069, 65530, -536215531, 131070, 65530, -536215531, 131071, 65530, -536215531, 393213, 65530, -536215529, 393214, 65530, -535429091, 458749, 65530, -536215529, 0, 65531, -536215547, 1, 65531, -536215547, 2, 65531, -536215547, 3, 65531, -536215547, 4, 65531, -536215547, 5, 65531, -536215547, 6, 65531, -536870907, 65532, 65531, -535822331, 65533, 65531, -536215547, 65534, 65531, -536215547, 65535, 65531, -536215547, 65536, 65531, -535429093, 65539, 65531, -536215525, 65540, 65531, -536215527, 65541, 65531, -536215531, 131069, 65531, -536215531, 131070, 65531, -536215531, 131071, 65531, -535429095, 393213, 65531, -536215523, 393214, 65531, -535429090, 0, 65532, -536215514, 1, 65532, -536215507, 2, 65532, -536215514, 3, 65532, -536215514, 4, 65532, -536215547, 5, 65532, -536215547, 6, 65532, -536870907, 65532, 65532, -535822331, 65533, 65532, -536215514, 65534, 65532, -536215514, 65535, 65532, -536215514, 65540, 65532, -536215525, 65541, 65532, -536215517, 131069, 65532, -536215531, 131070, 65532, -535429095, 131071, 65532, -535429093, 0, 65533, -536215514, 1, 65533, -536870873, 2, 65533, -536870874, 3, 65533, -536870874, 4, 65533, -536215547, 5, 65533, -536215547, 6, 65533, -536870907, 65532, 65533, -535822331, 65533, 65533, -536215514, 65534, 65533, -536215514, 65535, 65533, -536215514, 65540, 65533, -535822328, 65541, 65533, -536870910, 131069, 65533, -535429095, 131070, 65533, -535429093, 327684, 65533, -535822324, 327685, 65533, -536870901, 393213, 65533, -536870882, 0, 65534, -536870874, 1, 65534, -536870865, 2, 65534, -536870874, 3, 65534, -536870874, 4, 65534, -536215547, 5, 65534, -536215547, 6, 65534, -536870907, 65532, 65534, -535822331, 65533, 65534, -536870874, 65534, 65534, -536870874, 65535, 65534, -536870874, 65540, 65534, -536870909, 131069, 65534, -535429100, 327684, 65534, -535822325, 393213, 65534, -535429091, 393221, 65534, -536215547, 0, 65535, -535822298, 1, 65535, -536870872, 2, 65535, -536870874, 3, 65535, -536870874, 4, 65535, -536215547, 5, 65535, -536870907, 6, 65535, -536870907, 65532, 65535, -535822285, 65533, 65535, -536870874, 65534, 65535, -536215503, 65535, 65535, -535822287, 65539, 65535, -535822320, 65540, 65535, -536870909, 65541, 65535, -536215549, 131069, 65535, -535429092, 327684, 65535, -536215540, 327685, 65535, -536215541, 393213, 65535, -535429091 )
}
__meta__ = {
"_editor_clip_": 0,
"_editor_floor_": Vector3( 0, 1, 0 )
}

[node name="Objects" type="GridMap" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.3, 0 )
mesh_library = ExtResource( 9 )
cell_size = Vector3( 10, 2.5, 10 )
collision_layer = 2
data = {
"cells": PoolIntArray( 1, 65530, -536215495, 2, 65531, -536215492, 3, 65531, -536215497, 3, 65532, -535822283, 3, 65533, -535822283, 1, 65534, -536870912 )
}
__meta__ = {
"_editor_clip_": 0
}

[node name="OVRFirstPerson" parent="." instance=ExtResource( 5 )]
transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 2.5, -13.5 )

[node name="vr_common_shader_cache" parent="OVRFirstPerson/ARVRCamera/shader_cache" index="5" instance=ExtResource( 3 )]

[node name="Function_Teleport" parent="OVRFirstPerson/Left_Hand" index="1" instance=ExtResource( 7 )]
collision_mask = 1048574
camera = NodePath("../../ARVRCamera")

[node name="Function_Pickup" parent="OVRFirstPerson/Left_Hand" index="2" instance=ExtResource( 8 )]
transform = Transform( 1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, 0 )
collision_mask = 4

[node name="Function_Direct_movement" parent="OVRFirstPerson/Right_Hand" index="1" instance=ExtResource( 6 )]
camera = NodePath("../../ARVRCamera")
canFly = false

[node name="KinematicBody" parent="OVRFirstPerson/Right_Hand/Function_Direct_movement" index="0"]
collision_mask = 30

[node name="Function_Pickup" parent="OVRFirstPerson/Right_Hand" index="2" instance=ExtResource( 8 )]
transform = Transform( 1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, 0 )
collision_mask = 4

[node name="Stuff" type="Spatial" parent="."]

[node name="Uzi" parent="Stuff" instance=ExtResource( 11 )]
transform = Transform( 0.317106, 0.94839, 0, -0.94839, 0.317106, 0, 0, 0, 1, 0, 3.70127, -8.92388 )

[node name="Table" parent="Stuff" instance=ExtResource( 4 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, -9 )

[node name="UziMag01" parent="Stuff" instance=ExtResource( 12 )]
transform = Transform( 0.298741, 0.954334, 0, -0.954334, 0.298741, 0, 0, 0, 1, -0.723825, 3.79188, -9.13482 )

[node name="UziMag02" parent="Stuff" instance=ExtResource( 12 )]
transform = Transform( 0.298741, 0.954334, 0, -0.954334, 0.298741, 0, 0, 0, 1, -0.723825, 3.79188, -9.32293 )

[node name="UziMag03" parent="Stuff" instance=ExtResource( 12 )]
transform = Transform( 0.298741, 0.954334, 0, -0.954334, 0.298741, 0, 0, 0, 1, -0.723825, 3.79188, -9.53826 )

[node name="UziMag04" parent="Stuff" instance=ExtResource( 12 )]
transform = Transform( 0.298741, 0.954334, 0, -0.954334, 0.298741, 0, 0, 0, 1, -0.723825, 3.79188, -8.94163 )

[node name="Spawns" type="Spatial" parent="."]
[connection signal="has_dropped" from="OVRFirstPerson/Left_Hand/Function_Pickup" to="." method="_on_left_hand_dropped"]
[connection signal="has_picked_up" from="OVRFirstPerson/Left_Hand/Function_Pickup" to="." method="_on_left_hand_picked_up"]
[connection signal="has_dropped" from="OVRFirstPerson/Right_Hand/Function_Pickup" to="." method="_on_Function_Pickup_has_dropped"]
[connection signal="has_picked_up" from="OVRFirstPerson/Right_Hand/Function_Pickup" to="." method="_on_Function_Pickup_has_picked_up"]

[editable path="OVRFirstPerson"]

[editable path="OVRFirstPerson/Right_Hand/Function_Direct_movement"]
Binary file removed demo/Milkyway.png
Binary file not shown.
Binary file modified demo/addons/godot-openvr/bin/win64/libgodot_openvr.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion demo/addons/vr-common/objects/Object_pickable.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ extends RigidBody

# Set hold mode
export (bool) var press_to_hold = true
export (int, FLAGS, "layer_1", "layer_2", "layer_3", "layer_4", "layer_5") var picked_up_layer = 0
export (int, FLAGS, "layer_1", "layer_2", "layer_3", "layer_4", "layer_5", "layer_6") var picked_up_layer = 0

# Remember some state so we can return to it when the user drops the object
onready var original_parent = get_parent()
Expand Down
3 changes: 3 additions & 0 deletions demo/addons/vr-common/objects/Viewport_2D_in_3D.gd
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ func set_scene(new_scene: PackedScene):
func get_scene():
return scene

func get_scene_instance():
return scene_node

# Called when the node enters the scene tree for the first time.
func _ready():
# apply properties
Expand Down
2 changes: 2 additions & 0 deletions demo/addons/vr-common/objects/Viewport_2D_in_3D.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ mesh = SubResource( 1 )
material/0 = SubResource( 3 )

[node name="StaticBody" type="StaticBody" parent="."]
collision_layer = 15
collision_mask = 0
script = ExtResource( 2 )
viewport = NodePath("../Viewport")
viewport_size = Vector2( 300, 200 )

[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
shape = SubResource( 4 )
Expand Down
94 changes: 94 additions & 0 deletions demo/assets/fonts/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
Copyright (c) 2010, ParaType Ltd. (http://www.paratype.com/public),
with Reserved Font Names "PT Sans" and "ParaType".

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file added demo/assets/fonts/PT_Sans-Web-Bold.ttf
Binary file not shown.
4 changes: 4 additions & 0 deletions demo/assets/fonts/pt_sans.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[gd_resource type="DynamicFontData" format=2]

[resource]
font_path = "res://assets/fonts/PT_Sans-Web-Bold.ttf"
9 changes: 9 additions & 0 deletions demo/assets/fonts/pt_sans_24pt.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[gd_resource type="DynamicFont" load_steps=2 format=2]

[ext_resource path="res://assets/fonts/pt_sans.tres" type="DynamicFontData" id=1]

[resource]
size = 24
outline_size = 1
outline_color = Color( 0.529412, 0.529412, 0.529412, 1 )
font_data = ExtResource( 1 )
Loading

0 comments on commit e56ea40

Please sign in to comment.