Browse Source

change controls

Arnaud Vergnet 3 years ago
parent
commit
cff154d14c
3 changed files with 18 additions and 0 deletions
  1. 1
    0
      dialogic/themes/theme-1616657657.cfg
  2. 1
    0
      dialogic/themes/theme-1618913551.cfg
  3. 16
    0
      project.godot

+ 1
- 0
dialogic/themes/theme-1616657657.cfg View File

@@ -1,6 +1,7 @@
1 1
 [settings]
2 2
 
3 3
 name="theme_normal"
4
+action_key="dialogic_next"
4 5
 
5 6
 [buttons]
6 7
 

+ 1
- 0
dialogic/themes/theme-1618913551.cfg View File

@@ -1,6 +1,7 @@
1 1
 [settings]
2 2
 
3 3
 name="theme_question"
4
+action_key="dialogic_next"
4 5
 
5 6
 [buttons]
6 7
 

+ 16
- 0
project.godot View File

@@ -75,6 +75,22 @@ enabled=PoolStringArray( "Todo_Manager", "dialogic" )
75 75
 
76 76
 singletons=[  ]
77 77
 
78
+[input]
79
+
80
+ui_accept={
81
+"deadzone": 0.5,
82
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"unicode":0,"echo":false,"script":null)
83
+, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"unicode":0,"echo":false,"script":null)
84
+, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
85
+ ]
86
+}
87
+dialogic_next={
88
+"deadzone": 0.5,
89
+"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
90
+, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
91
+ ]
92
+}
93
+
78 94
 [rendering]
79 95
 
80 96
 environment/default_environment="res://default_env.tres"

Loading…
Cancel
Save