Compare commits
3 commits
7047899f35
...
7878e4bd14
| Author | SHA1 | Date | |
|---|---|---|---|
| 7878e4bd14 | |||
| af28d94448 | |||
| 69ee1ad197 |
7 changed files with 27 additions and 4 deletions
|
|
@ -4,8 +4,8 @@
|
|||
[ext_resource type="Texture2D" uid="uid://c6a62gvw7218s" path="res://scenes/hit/assets/hit.png" id="1_rmj1p"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_fxeki"]
|
||||
radius = 11.0
|
||||
height = 24.0
|
||||
radius = 15.0
|
||||
height = 34.0
|
||||
|
||||
[node name="SmallHit2D" type="Area2D" groups=["hit"]]
|
||||
collision_layer = 64
|
||||
|
|
@ -15,8 +15,7 @@ metadata/_custom_type_script = "uid://b440ri3521uio"
|
|||
metadata/power_hit = false
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(4, 1)
|
||||
rotation = 1.5707964
|
||||
position = Vector2(1, 6)
|
||||
shape = SubResource("CapsuleShape2D_fxeki")
|
||||
debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)
|
||||
|
||||
|
|
|
|||
4
scenes/markers/ball_spawn_point.gd
Normal file
4
scenes/markers/ball_spawn_point.gd
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
extends Marker2D
|
||||
|
||||
|
||||
@onready var ball_scene: PackedScene = preload("res://scenes/ball/ball.tscn")
|
||||
1
scenes/markers/ball_spawn_point.gd.uid
Normal file
1
scenes/markers/ball_spawn_point.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://bemuqfgi28ffn
|
||||
6
scenes/markers/ball_spawn_point.tscn
Normal file
6
scenes/markers/ball_spawn_point.tscn
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://c6p40lasv2m2k"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bemuqfgi28ffn" path="res://scenes/markers/ball_spawn_point.gd" id="1_tu1hv"]
|
||||
|
||||
[node name="BallSpawnPoint" type="Marker2D"]
|
||||
script = ExtResource("1_tu1hv")
|
||||
5
scenes/markers/player_spawn_point.gd
Normal file
5
scenes/markers/player_spawn_point.gd
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
extends Marker2D
|
||||
|
||||
|
||||
@export_range(1,2) var player_id: int
|
||||
@onready var player_scene: PackedScene = preload("res://scenes/player/player.tscn")
|
||||
1
scenes/markers/player_spawn_point.gd.uid
Normal file
1
scenes/markers/player_spawn_point.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://bvokstchph1vk
|
||||
7
scenes/markers/player_spawn_point.tscn
Normal file
7
scenes/markers/player_spawn_point.tscn
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://b2pq6fwt4ge21"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bvokstchph1vk" path="res://scenes/markers/player_spawn_point.gd" id="1_qvk6i"]
|
||||
|
||||
[node name="PlayerSpawnPoint" type="Marker2D"]
|
||||
gizmo_extents = 18.6
|
||||
script = ExtResource("1_qvk6i")
|
||||
Loading…
Add table
Reference in a new issue