mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 01:25:55 +00:00
Isometric implementation
This commit is contained in:
parent
1434f7aa6d
commit
ed656f00bb
92 changed files with 2834 additions and 223 deletions
|
|
@ -185,7 +185,7 @@ public partial class Bullet : Area2D
|
|||
{
|
||||
if (_gameManager.Player != null)
|
||||
{
|
||||
_direction = (_gameManager.Player.GlobalPosition - this.GlobalPosition).Normalized();
|
||||
_direction = (_gameManager.PlayerPosition.Value - this.GlobalPosition).Normalized();
|
||||
RotateBullet(0); // quick hack to rotate lasers
|
||||
//LookAt(player.GlobalPosition);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue