mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 13:25:54 +00:00
Added camera
This commit is contained in:
parent
d5d3b7310a
commit
861bcef4dd
10 changed files with 363 additions and 29 deletions
16
Scripts/Actors/Camera.cs
Normal file
16
Scripts/Actors/Camera.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class Camera : Node2D
|
||||
{
|
||||
|
||||
private AnimatedSprite2D _sprite;
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
_sprite = GetNode<AnimatedSprite2D>("AnimatedSprite2D");
|
||||
|
||||
_sprite.Play("full_scan");
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue