get that print outta there
This commit is contained in:
parent
3d2fde3381
commit
c6923a3133
1 changed files with 0 additions and 1 deletions
|
|
@ -10,7 +10,6 @@ extends Resource
|
|||
func draw(canvas_item: CanvasItem, time: float, modulate: Color = Color.WHITE) -> void:
|
||||
var frame_size = Vector2((texture.get_width() / frames), float(texture.get_height()))
|
||||
var current_frame = fmod(floorf(time * fps), frames)
|
||||
print(time * fps)
|
||||
canvas_item.draw_texture_rect_region(
|
||||
texture,
|
||||
Rect2(-frame_size * 0.5, frame_size),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue