mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:45:33 +00:00
Camera 2D
This commit is contained in:
parent
bee29ba9ea
commit
4cb902053d
18 changed files with 791 additions and 24 deletions
7
Scenes/PixelPerfectRendering.gd
Normal file
7
Scenes/PixelPerfectRendering.gd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extends Node2D
|
||||
|
||||
@onready var sub_viewport: SubViewport = $SubViewport
|
||||
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
# SubViewports don't receive input by default, so we have to propagate it.
|
||||
sub_viewport.push_input(event)
|
||||
Loading…
Add table
Add a link
Reference in a new issue