mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:05:34 +00:00
Reisen
This commit is contained in:
parent
6fbbe7ee4c
commit
6d49455b3e
9 changed files with 118 additions and 7 deletions
|
|
@ -42,6 +42,7 @@ public partial class PlayerMovement : CharacterBody2D
|
|||
{
|
||||
if (Input.IsActionJustPressed("shoot"))
|
||||
{
|
||||
Debug.WriteLine("Shoot");
|
||||
Bullet bullet = BulletScene.Instantiate<Bullet>();
|
||||
Owner.AddChild(bullet);
|
||||
bullet.Transform = Muzzle.GlobalTransform;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue