add seperate scene for touch screens
This is the part where mobiles can join in (ideally Android), but you can fork this and make an IOS version if you like. LOLmain
parent
5fbe9d90ac
commit
3f87e60c76
|
@ -0,0 +1,28 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://icon.png" type="Texture" id=1]
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
|
||||
[node name="TouchScreenButton" type="TouchScreenButton" parent="."]
|
||||
position = Vector2( 81, 317 )
|
||||
normal = ExtResource( 1 )
|
||||
action = "up"
|
||||
|
||||
[node name="TouchScreenButton2" type="TouchScreenButton" parent="."]
|
||||
position = Vector2( 11, 455 )
|
||||
rotation = -1.57079
|
||||
normal = ExtResource( 1 )
|
||||
action = "left"
|
||||
|
||||
[node name="TouchScreenButton4" type="TouchScreenButton" parent="."]
|
||||
position = Vector2( 215, 392 )
|
||||
rotation = 1.57079
|
||||
normal = ExtResource( 1 )
|
||||
action = "right"
|
||||
|
||||
[node name="TouchScreenButton3" type="TouchScreenButton" parent="."]
|
||||
position = Vector2( 145, 524 )
|
||||
rotation = -3.14159
|
||||
normal = ExtResource( 1 )
|
||||
action = "down"
|
Loading…
Reference in New Issue