remplissage, menu, gamin audio et autre

This commit is contained in:
Dukantic
2024-10-22 22:11:03 +02:00
parent 8bfc2c8515
commit b9c3f980f6
18 changed files with 2649 additions and 479 deletions

View File

@@ -0,0 +1,18 @@
using Godot;
using System;
public partial class AudioStreamPlayer2d : AudioStreamPlayer2D
{
[Export] AudioStream audio;
// Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta)
{
if (this.HasStreamPlayback() == false)
{
this.Stream = audio;
Play();
}
}
}