RhythmGame/scripts/NotePainter.gd

7 lines
161 B
GDScript3
Raw Permalink Normal View History

extends Node2D
2020-05-02 16:09:51 +09:30
onready var Viewport := get_node(@'../Viewport')
func _draw():
2020-05-02 16:09:51 +09:30
draw_texture_rect(Viewport.get_texture(), Rect2(-540, -540, 1080, 1080), false)