18 lines
		
	
	
		
			612 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
		
			612 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								[gd_scene load_steps=3 format=3 uid="uid://b5n0lwes8qpu5"]
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[ext_resource type="Script" uid="uid://cev3cg5mdn3it" path="res://scripts/grenade.gd" id="1_cvyik"]
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[sub_resource type="CircleShape2D" id="CircleShape2D_1xt3t"]
							 | 
						||
| 
								 | 
							
								radius = 3.0
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[node name="Grenade" type="RigidBody2D"]
							 | 
						||
| 
								 | 
							
								contact_monitor = true
							 | 
						||
| 
								 | 
							
								max_contacts_reported = 2
							 | 
						||
| 
								 | 
							
								script = ExtResource("1_cvyik")
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
							 | 
						||
| 
								 | 
							
								shape = SubResource("CircleShape2D_1xt3t")
							 | 
						||
| 
								 | 
							
								debug_color = Color(0.6279718, 0.5294392, 0.11152003, 0.41960785)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[connection signal="body_entered" from="." to="." method="_on_body_entered"]
							 |