Version 0.1 - 0.3.1
Added the World Added Mobs, and spawning those mobs at runtime Added simple camera movement Added simple UI/HUD
This commit is contained in:
16
scenes/entities/bumblebee/Bumblebee.cs
Normal file
16
scenes/entities/bumblebee/Bumblebee.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class Bumblebee : BaseEntity
|
||||
{
|
||||
private FastNoiseLite fastNoise = new FastNoiseLite();
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
base._Ready();
|
||||
|
||||
fastNoise.SetSeed(GD.RandRange(int.MinValue, int.MaxValue));
|
||||
|
||||
animationPlayer.Play("move");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user