Skip to content

Input bindings use all where possible and fixing some examples #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion animation/basic_tween/game.project
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ version = 0.1
main_collection = /example/basic_tween.collectionc

[input]
game_binding = /input/game.input_bindingc
game_binding = /builtins/input/all.input_bindingc
repeat_interval = 0.05

[display]
44 changes: 0 additions & 44 deletions animation/basic_tween/input/game.input_binding

This file was deleted.

2 changes: 1 addition & 1 deletion animation/chained_tween/game.project
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ version = 0.1
main_collection = /example/chained_tween.collectionc

[input]
game_binding = /input/game.input_bindingc
game_binding = /builtins/input/all.input_bindingc
repeat_interval = 0.05

[display]
44 changes: 0 additions & 44 deletions animation/chained_tween/input/game.input_binding

This file was deleted.

2 changes: 1 addition & 1 deletion animation/cursor/game.project
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ version = 0.1
main_collection = /example/cursor.collectionc

[input]
game_binding = /input/game.input_bindingc
game_binding = /builtins/input/all.input_bindingc
repeat_interval = 0.05

[display]
44 changes: 0 additions & 44 deletions animation/cursor/input/game.input_binding

This file was deleted.

4 changes: 2 additions & 2 deletions animation/easing/example/controller.script
Original file line number Diff line number Diff line change
@@ -52,9 +52,9 @@ function on_message(self, message_id, message, sender)
end

function on_input(self, action_id, action)
if action_id == hash("left") and action.pressed then
if action_id == hash("key_left") and action.pressed then
change_easing_demo(self, PREVIOUS)
elseif action_id == hash("right") and action.pressed then
elseif action_id == hash("key_right") and action.pressed then
change_easing_demo(self, NEXT)
end
end
2 changes: 1 addition & 1 deletion animation/easing/game.project
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ version = 0.1
main_collection = /example/easing.collectionc

[input]
game_binding = /input/game.input_bindingc
game_binding = /builtins/input/all.input_bindingc
repeat_interval = 0.05

[display]
44 changes: 0 additions & 44 deletions animation/easing/input/game.input_binding

This file was deleted.

2 changes: 1 addition & 1 deletion animation/euler_rotation/game.project
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ version = 0.1
main_collection = /example/euler_rotation.collectionc

[input]
game_binding = /input/game.input_bindingc
game_binding = /builtins/input/all.input_bindingc
repeat_interval = 0.05

[display]
44 changes: 0 additions & 44 deletions animation/euler_rotation/input/game.input_binding

This file was deleted.

2 changes: 1 addition & 1 deletion animation/flipbook/game.project
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ version = 0.1
main_collection = /example/flipbook.collectionc

[input]
game_binding = /input/game.input_bindingc
game_binding = /builtins/input/all.input_bindingc
repeat_interval = 0.05

[display]
44 changes: 0 additions & 44 deletions animation/flipbook/input/game.input_binding

This file was deleted.

2 changes: 1 addition & 1 deletion animation/spine/game.project
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ dependencies#0 = https://github.com/defold/extension-spine/archive/refs/tags/3.6
main_collection = /example/spine.collectionc

[input]
game_binding = /input/game.input_bindingc
game_binding = /builtins/input/all.input_bindingc
repeat_interval = 0.05

[display]
44 changes: 0 additions & 44 deletions animation/spine/input/game.input_binding

This file was deleted.

2 changes: 1 addition & 1 deletion animation/spinner/game.project
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ version = 0.1
main_collection = /example/spinner.collectionc

[input]
game_binding = /input/game.input_bindingc
game_binding = /builtins/input/all.input_bindingc
repeat_interval = 0.05

[display]
Loading