Browse Source

Add fonts to menu

Added some display fonts to the main menu to improve the looks.
master
Abheek Dhawan 4 years ago
parent
commit
88f1b87b20
  1. BIN
      Fonts/FasterOne-Regular.ttf
  2. BIN
      Fonts/TurretRoad-Light.ttf
  3. BIN
      Fonts/TurretRoad-Medium.ttf
  4. 2
      Game Scenes/Game.tscn
  5. 24
      Game Scenes/MainMenu.tscn

BIN
Fonts/FasterOne-Regular.ttf

Binary file not shown.

BIN
Fonts/TurretRoad-Light.ttf

Binary file not shown.

BIN
Fonts/TurretRoad-Medium.ttf

Binary file not shown.

2
Game Scenes/Game.tscn

@ -79,7 +79,7 @@ __meta__ = {
position = Vector2( -8.0022, -34.2137 )
scale = Vector2( 0.401688, 0.401688 )
frames = SubResource( 6 )
frame = 2
frame = 1
playing = true
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]

24
Game Scenes/MainMenu.tscn

@ -1,8 +1,18 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Scripts/Text Container.gd" type="Script" id=1]
[ext_resource path="res://Objects/Rocket.tscn" type="PackedScene" id=2]
[ext_resource path="res://Images and Anims/In Game/background.png" type="Texture" id=3]
[ext_resource path="res://Fonts/FasterOne-Regular.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://Fonts/TurretRoad-Light.ttf" type="DynamicFontData" id=5]
[sub_resource type="DynamicFont" id=1]
size = 120
font_data = ExtResource( 4 )
[sub_resource type="DynamicFont" id=2]
size = 100
font_data = ExtResource( 5 )
[node name="MarginContainer" type="MarginContainer"]
anchor_right = 1.0
@ -24,11 +34,11 @@ position = Vector2( 414, 896 )
script = ExtResource( 1 )
[node name="AsteroidDodge" type="Label" parent="Text Container"]
margin_left = -321.63
margin_top = -826.827
margin_right = -257.63
margin_bottom = -778.827
rect_scale = Vector2( 10, 10 )
margin_left = -386.0
margin_top = -827.0
margin_right = 404.0
margin_bottom = -437.0
custom_fonts/font = SubResource( 1 )
text = "ASTEROID
DODGE
"
@ -43,7 +53,7 @@ margin_left = -264.901
margin_top = 682.457
margin_right = -191.901
margin_bottom = 696.457
rect_scale = Vector2( 7, 7 )
custom_fonts/font = SubResource( 2 )
text = "Tap to play!"
align = 1
valign = 1

Loading…
Cancel
Save