added Graphics and sound Effects and more overhauls
This commit is contained in:
parent
c887a2168c
commit
b9d4288900
214 changed files with 3378 additions and 198 deletions
17
addons/virtual_joystick/virtual_joystick_instantiator.gd
Normal file
17
addons/virtual_joystick/virtual_joystick_instantiator.gd
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@tool
|
||||
extends Control
|
||||
|
||||
var scene
|
||||
|
||||
func _enter_tree():
|
||||
scene = preload("res://addons/virtual_joystick/virtual_joystick_scene.tscn").instantiate()
|
||||
add_child(scene)
|
||||
|
||||
if ProjectSettings.get_setting("input_devices/pointing/emulate_mouse_from_touch"):
|
||||
printerr("The Project Setting 'emulate_mouse_from_touch' should be set to False")
|
||||
if not ProjectSettings.get_setting("input_devices/pointing/emulate_touch_from_mouse"):
|
||||
printerr("The Project Setting 'emulate_touch_from_mouse' should be set to True")
|
||||
|
||||
|
||||
func _exit_tree():
|
||||
scene.free()
|
||||
Loading…
Add table
Add a link
Reference in a new issue