Player gun, bullet and its collisiions. Refactor.
This commit is contained in:
parent
0dd3f24030
commit
ffb7c8bf99
28 changed files with 562 additions and 131 deletions
15
metroidvania/Scenes/Player/PlayerGun.tscn
Normal file
15
metroidvania/Scenes/Player/PlayerGun.tscn
Normal file
|
@ -0,0 +1,15 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://Scenes/Player/PlayerGun.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Assets/Player/PlayerGun.png" type="Texture" id=2]
|
||||
|
||||
[node name="PlayerGun" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( -2, -2 )
|
||||
texture = ExtResource( 2 )
|
||||
centered = false
|
||||
|
||||
[node name="Muzzle" type="Position2D" parent="Sprite"]
|
||||
position = Vector2( 13, 2 )
|
Loading…
Add table
Add a link
Reference in a new issue