added a speed ball and buttons to add them to the level
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
radius = 25.0
|
||||
|
||||
[node name="Ball" instance=ExtResource("1_ffml1")]
|
||||
speed = 4.0
|
||||
strength = 4
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="0"]
|
||||
shape = SubResource("CircleShape2D_gj21y")
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ooytugcohlx0"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://d2r0ip6xy3a2" path="res://balls/ball.tscn" id="1_fsuj1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dsqcbd2cffw6e" path="res://balls/speed/speed.webp" id="2_ttcr2"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_gj21y"]
|
||||
radius = 20.0
|
||||
|
||||
[node name="Ball" instance=ExtResource("1_fsuj1")]
|
||||
speed = 8.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="0"]
|
||||
shape = SubResource("CircleShape2D_gj21y")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." index="1"]
|
||||
texture = ExtResource("2_ttcr2")
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 922 B |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dsqcbd2cffw6e"
|
||||
path="res://.godot/imported/speed.webp-ff30c0e30f233aee3c861d7147dba221.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://balls/speed/speed.webp"
|
||||
dest_files=["res://.godot/imported/speed.webp-ff30c0e30f233aee3c861d7147dba221.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
Reference in New Issue
Block a user