Improved powerups font
This commit is contained in:
@@ -81,7 +81,7 @@ var opened: bool = false
|
||||
func _process(delta : float) -> void:
|
||||
|
||||
if OS.has_feature("editor"):
|
||||
if Input.is_action_just_pressed("cheat"):
|
||||
if Input.is_action_pressed("cheat"):
|
||||
fire_bullet()
|
||||
|
||||
if PaddleNode.is_laser():
|
||||
|
||||
@@ -43,13 +43,13 @@ distance = -432.0
|
||||
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_48dqy"]
|
||||
distance = -360.0
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_p2a4d"]
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_mnwco"]
|
||||
shader = ExtResource("12_ljnes")
|
||||
shader_parameter/rect_global_position = Vector2(0, 77)
|
||||
shader_parameter/rect_global_position = Vector2(0, 0.226471)
|
||||
shader_parameter/rect_size = Vector2(448, 25)
|
||||
shader_parameter/ColourTexture = ExtResource("13_u52d1")
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_vti8i"]
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_xsw3b"]
|
||||
shader = ExtResource("12_ljnes")
|
||||
shader_parameter/rect_global_position = Vector2(0, 0)
|
||||
shader_parameter/rect_size = Vector2(89, 25)
|
||||
@@ -323,7 +323,7 @@ theme_type_variation = &"RoundStart"
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title" type="Label" parent="Start/VBoxContainer/PanelContainer/VBoxContainer"]
|
||||
material = SubResource("ShaderMaterial_p2a4d")
|
||||
material = SubResource("ShaderMaterial_mnwco")
|
||||
layout_mode = 2
|
||||
theme = ExtResource("8_wcf7g")
|
||||
theme_type_variation = &"Arkanoid"
|
||||
@@ -371,7 +371,7 @@ size_flags_vertical = 3
|
||||
theme = ExtResource("8_wcf7g")
|
||||
|
||||
[node name="Label" type="Label" parent="Paused/VBoxContainer"]
|
||||
material = SubResource("ShaderMaterial_vti8i")
|
||||
material = SubResource("ShaderMaterial_xsw3b")
|
||||
layout_mode = 2
|
||||
theme = ExtResource("8_wcf7g")
|
||||
theme_type_variation = &"Arkanoid"
|
||||
|
||||
BIN
Fonts/5x7.png
Normal file
BIN
Fonts/5x7.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
22
Fonts/5x7.png.import
Normal file
22
Fonts/5x7.png.import
Normal file
@@ -0,0 +1,22 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_image"
|
||||
type="FontFile"
|
||||
uid="uid://5a5w0lptxg83"
|
||||
path="res://.godot/imported/5x7.png-a5ebb16077e924352bb6b8f78b00553d.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Fonts/5x7.png"
|
||||
dest_files=["res://.godot/imported/5x7.png-a5ebb16077e924352bb6b8f78b00553d.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
character_ranges=PackedStringArray("\' \'-\'~\'")
|
||||
columns=16
|
||||
rows=6
|
||||
image_margin=Rect2i(0, 0, 0, 0)
|
||||
character_margin=Rect2i(0, 0, 0, 0)
|
||||
fallbacks=[]
|
||||
compress=true
|
||||
scaling_mode=2
|
||||
BIN
Fonts/Chunky.png
Normal file
BIN
Fonts/Chunky.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
22
Fonts/Chunky.png.import
Normal file
22
Fonts/Chunky.png.import
Normal file
@@ -0,0 +1,22 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_image"
|
||||
type="FontFile"
|
||||
uid="uid://bfue7ekap54wi"
|
||||
path="res://.godot/imported/Chunky.png-c0832c9d756abcfb8e32384224778b58.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Fonts/Chunky.png"
|
||||
dest_files=["res://.godot/imported/Chunky.png-c0832c9d756abcfb8e32384224778b58.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
character_ranges=PackedStringArray("\' \'-\'}\'")
|
||||
columns=20
|
||||
rows=5
|
||||
image_margin=Rect2i(0, 0, 0, 0)
|
||||
character_margin=Rect2i(0, 0, 0, 0)
|
||||
fallbacks=[]
|
||||
compress=true
|
||||
scaling_mode=0
|
||||
12
Intro.tscn
12
Intro.tscn
@@ -20,15 +20,15 @@ point_count = 2
|
||||
[sub_resource type="Gradient" id="Gradient_431mb"]
|
||||
colors = PackedColorArray(0, 0, 0, 0, 1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_6od3v"]
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_6jl2f"]
|
||||
shader = ExtResource("3_eo4f3")
|
||||
shader_parameter/rect_global_position = Vector2(122.5, 27.5)
|
||||
shader_parameter/rect_global_position = Vector2(0, 0)
|
||||
shader_parameter/rect_size = Vector2(150, 25)
|
||||
shader_parameter/ColourTexture = ExtResource("4_v8i0c")
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ipjaf"]
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_1smc2"]
|
||||
shader = ExtResource("3_eo4f3")
|
||||
shader_parameter/rect_global_position = Vector2(99.5, 42)
|
||||
shader_parameter/rect_global_position = Vector2(0, 0)
|
||||
shader_parameter/rect_size = Vector2(242, 25)
|
||||
shader_parameter/ColourTexture = ExtResource("4_v8i0c")
|
||||
|
||||
@@ -70,7 +70,7 @@ size_flags_horizontal = 3
|
||||
theme = ExtResource("3_8d2ix")
|
||||
|
||||
[node name="ArkaLabel" type="Label" parent="VBoxContainer/HBoxContainer"]
|
||||
material = SubResource("ShaderMaterial_6od3v")
|
||||
material = SubResource("ShaderMaterial_6jl2f")
|
||||
layout_mode = 2
|
||||
theme = ExtResource("3_8d2ix")
|
||||
theme_type_variation = &"Arkanoid"
|
||||
@@ -91,7 +91,7 @@ size_flags_horizontal = 3
|
||||
theme = ExtResource("3_8d2ix")
|
||||
|
||||
[node name="Revenge" type="Label" parent="VBoxContainer/HBoxContainer2"]
|
||||
material = SubResource("ShaderMaterial_ipjaf")
|
||||
material = SubResource("ShaderMaterial_1smc2")
|
||||
layout_mode = 2
|
||||
theme = ExtResource("3_8d2ix")
|
||||
theme_type_variation = &"Arkanoid"
|
||||
|
||||
1
Level.gd
1
Level.gd
@@ -55,7 +55,6 @@ func load_level(level_name : String) -> void:
|
||||
push_warning("Level %s unknown" % level_name)
|
||||
|
||||
func load_from_file(filename : String) -> void:
|
||||
print("Loading %s" % filename)
|
||||
var data = JSON.parse_string(FileAccess.get_file_as_string(filename))
|
||||
if data != null:
|
||||
load_from_data(data)
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
[gd_resource type="Theme" load_steps=18 format=3 uid="uid://cfvww0geatnnk"]
|
||||
[gd_resource type="Theme" load_steps=19 format=3 uid="uid://cfvww0geatnnk"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://dfkm2dibf0c3b" path="res://Fonts/fonts-DSEG_v046/DSEG7-Classic-MINI/DSEG7ClassicMini-Italic.ttf" id="1_17to7"]
|
||||
[ext_resource type="FontFile" uid="uid://bx41ej4o03nbx" path="res://Fonts/arkanoid/Arka_solid.ttf" id="1_s07ae"]
|
||||
[ext_resource type="FontFile" uid="uid://c3gxkerjb3w7q" path="res://Fonts/charmap-oldschool_white.png" id="2_04xve"]
|
||||
[ext_resource type="FontFile" uid="uid://0a8bjrb4tfqn" path="res://Fonts/charmap-oldschool_white_glow.png" id="3_fjg1d"]
|
||||
[ext_resource type="FontFile" uid="uid://bfue7ekap54wi" path="res://Fonts/Chunky.png" id="5_dx8ei"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_naqov"]
|
||||
|
||||
@@ -138,8 +139,8 @@ TextEdit/font_sizes/font_size = 9
|
||||
TextEdit/fonts/font = ExtResource("2_04xve")
|
||||
Upgrade/base_type = &"Label"
|
||||
Upgrade/colors/font_color = Color(0, 0, 0, 1)
|
||||
Upgrade/font_sizes/font_size = 9
|
||||
Upgrade/fonts/font = ExtResource("2_04xve")
|
||||
Upgrade/font_sizes/font_size = 8
|
||||
Upgrade/fonts/font = ExtResource("5_dx8ei")
|
||||
UpgradeContainer/base_type = &"PanelContainer"
|
||||
UpgradeContainer/styles/panel = SubResource("StyleBoxEmpty_6g8gs")
|
||||
UpgradePanel/base_type = &"VBoxContainer"
|
||||
|
||||
@@ -8,7 +8,7 @@ colors = PackedColorArray(1, 1, 0, 1, 1, 1, 0, 0)
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_slgxc"]
|
||||
radius = 6.0
|
||||
height = 24.0
|
||||
height = 22.0
|
||||
|
||||
[node name="Upgrade" type="RigidBody2D"]
|
||||
collision_layer = 0
|
||||
@@ -25,8 +25,8 @@ emission_shape = 3
|
||||
emission_rect_extents = Vector2(10, 1)
|
||||
direction = Vector2(0, -1)
|
||||
gravity = Vector2(0, 0)
|
||||
initial_velocity_min = 5.0
|
||||
initial_velocity_max = 5.0
|
||||
initial_velocity_min = 2.0
|
||||
initial_velocity_max = 2.0
|
||||
color = Color(1, 1, 0, 1)
|
||||
color_ramp = SubResource("Gradient_ll6dt")
|
||||
hue_variation_min = 1.0
|
||||
@@ -39,11 +39,11 @@ shape = SubResource("CapsuleShape2D_slgxc")
|
||||
[node name="Shadow" type="Polygon2D" parent="."]
|
||||
position = Vector2(2, 4)
|
||||
color = Color(0, 0, 0, 0.247059)
|
||||
polygon = PackedVector2Array(-6, -6, 6, -6, 9, -5, 11, -3, 12, 0, 11, 3, 9, 5, 6, 6, -6, 6, -9, 5, -11, 3, -12, 0, -11, -3, -9, -5)
|
||||
polygon = PackedVector2Array(-5, -6, 5, -6, 8, -5, 10, -3, 11, 0, 10, 3, 8, 5, 5, 6, -5, 6, -8, 5, -10, 3, -11, 0, -10, -3, -8, -5)
|
||||
|
||||
[node name="Polygon2D" type="Polygon2D" parent="."]
|
||||
color = Color(0, 0.258824, 1, 1)
|
||||
polygon = PackedVector2Array(-6, -6, 6, -6, 9, -5, 11, -3, 12, 0, 11, 3, 9, 5, 6, 6, -6, 6, -9, 5, -11, 3, -12, 0, -11, -3, -9, -5)
|
||||
polygon = PackedVector2Array(-5, -6, 5, -6, 8, -5, 10, -3, 11, 0, 10, 3, 8, 5, 5, 6, -5, 6, -8, 5, -10, 3, -11, 0, -10, -3, -8, -5)
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
texture_filter = 1
|
||||
@@ -52,15 +52,15 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -12.0
|
||||
offset_top = -7.0
|
||||
offset_right = 12.0
|
||||
offset_bottom = 10.0
|
||||
offset_left = -4.0
|
||||
offset_top = -4.0
|
||||
offset_right = 4.0
|
||||
offset_bottom = 4.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme = ExtResource("2_iabep")
|
||||
theme_type_variation = &"Upgrade"
|
||||
text = "C"
|
||||
text = "W"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@ point_count = 2
|
||||
[sub_resource type="Gradient" id="Gradient_ucorl"]
|
||||
colors = PackedColorArray(0, 0, 0, 0, 1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_llrvb"]
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_v7t7t"]
|
||||
shader = ExtResource("4_waenw")
|
||||
shader_parameter/rect_global_position = Vector2(8, 25)
|
||||
shader_parameter/rect_size = Vector2(608, 25)
|
||||
shader_parameter/rect_global_position = Vector2(8, 8)
|
||||
shader_parameter/rect_size = Vector2(127, 25)
|
||||
shader_parameter/ColourTexture = ExtResource("5_y0x1p")
|
||||
|
||||
[node name="Upgrades" type="Node2D"]
|
||||
@@ -76,7 +76,7 @@ autoplay = "default"
|
||||
centered = false
|
||||
|
||||
[node name="ArkaLabel" type="Label" parent="VBoxContainer"]
|
||||
material = SubResource("ShaderMaterial_llrvb")
|
||||
material = SubResource("ShaderMaterial_v7t7t")
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 6
|
||||
theme = ExtResource("1_rv7oa")
|
||||
|
||||
@@ -11,7 +11,7 @@ config_version=5
|
||||
[application]
|
||||
|
||||
config/name="Dunkanoid"
|
||||
config/version="0.9.3"
|
||||
config/version="0.9.4"
|
||||
run/main_scene="res://Intro.tscn"
|
||||
config/features=PackedStringArray("4.2", "Forward Plus")
|
||||
run/max_fps=30
|
||||
|
||||
Reference in New Issue
Block a user