Skip to content

Instantly share code, notes, and snippets.

View ek68794998's full-sized avatar

e.k. ek68794998

  • Microsoft
  • USA
View GitHub Profile
@Aldlevine
Aldlevine / animated_atlas_texture.gd
Last active April 6, 2022 00:02
Adds an animated atlas texture to Godot
extends AtlasTexture
class_name AnimatedAtlasTexture
export(int, 1, 100) var h_frames := 1
export(int, 1, 100) var v_frames := 1
export var fps := 10.0
var previous_frame := 0
var frame := 0