Compare commits
2
Commits
6d84b7a5fb
...
18e92fc75b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18e92fc75b | ||
|
|
c2fa387d3c |
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bu5wgerfu7cbc"
|
||||
path="res://.godot/imported/spike.png-707026916d5a11e2dd46d7a51989fda9.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/spike.png"
|
||||
dest_files=["res://.godot/imported/spike.png-707026916d5a11e2dd46d7a51989fda9.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,14 @@
|
||||
extends Node2D
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
func on_contact(body: Node2D) -> void:
|
||||
print(body)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uid://brlrpnqrsi2vn
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
[gd_scene format=3 uid="uid://c8m4d77hcr0pj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://brlrpnqrsi2vn" path="res://spike.gd" id="1_7k7bx"]
|
||||
[ext_resource type="Texture2D" uid="uid://bu5wgerfu7cbc" path="res://art/spike.png" id="2_7k7bx"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6qpsl"]
|
||||
radius = 7.0
|
||||
height = 20.0
|
||||
|
||||
[node name="Spike" type="Node2D" unique_id=1739014101]
|
||||
script = ExtResource("1_7k7bx")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=813041394]
|
||||
texture = ExtResource("2_7k7bx")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
|
||||
shape = SubResource("CapsuleShape2D_6qpsl")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
@@ -7,6 +7,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://dx4pfup3sbk0f" path="res://long_block.tscn" id="3_dwbse"]
|
||||
[ext_resource type="Script" uid="uid://dtomgfu8ib50f" path="res://coin_label.gd" id="3_wse8f"]
|
||||
[ext_resource type="PackedScene" uid="uid://byh115n12sgvt" path="res://teleporter.tscn" id="4_gbfbk"]
|
||||
[ext_resource type="Script" uid="uid://brlrpnqrsi2vn" path="res://spike.gd" id="4_ic0uy"]
|
||||
[ext_resource type="PackedScene" uid="uid://bos6oh7nwyeca" path="res://vertical_long_block.tscn" id="4_pkg7o"]
|
||||
[ext_resource type="PackedScene" uid="uid://biot4cuwgohvo" path="res://longer_block.tscn" id="6_dwbse"]
|
||||
[ext_resource type="PackedScene" uid="uid://kstmxoa4dx55" path="res://coin.tscn" id="8_ioo17"]
|
||||
@@ -52,6 +53,10 @@ bbcode_enabled = true
|
||||
text = "COINS:"
|
||||
script = ExtResource("3_wse8f")
|
||||
|
||||
[node name="Spike" type="Node2D" parent="CanvasLayer" unique_id=1867201762]
|
||||
position = Vector2(1031, 351)
|
||||
script = ExtResource("4_ic0uy")
|
||||
|
||||
[node name="Player2D" parent="." unique_id=889851478 instance=ExtResource("1_aqk2v")]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(55, 59)
|
||||
@@ -105,3 +110,7 @@ position = Vector2(880, 399)
|
||||
|
||||
[node name="LongBlock6" parent="." unique_id=1328813509 instance=ExtResource("6_dwbse")]
|
||||
position = Vector2(1368, 401)
|
||||
|
||||
[node name="Spike" type="Node2D" parent="." unique_id=1986853034]
|
||||
position = Vector2(1073, 396.81662)
|
||||
script = ExtResource("4_ic0uy")
|
||||
Reference in new issue
Block a user