Skip to content

Commit

Permalink
Added basic movement (move, jump, dash)
Browse files Browse the repository at this point in the history
  • Loading branch information
veepm committed Jan 7, 2024
1 parent 868cf2d commit 296521a
Show file tree
Hide file tree
Showing 23 changed files with 2,108 additions and 27 deletions.
96 changes: 96 additions & 0 deletions Assets/PlayerInputActions.inputactions
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"name": "PlayerInputActions",
"maps": [
{
"name": "Player",
"id": "d5c34963-156e-4167-a868-97975188c44a",
"actions": [
{
"name": "Movement",
"type": "Value",
"id": "90337754-6ad3-4adf-bf2d-d855aa88c818",
"expectedControlType": "Axis",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Jump",
"type": "Button",
"id": "677b75b8-dc86-42a8-a829-d674c8b967c9",
"expectedControlType": "Button",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "Dash",
"type": "Button",
"id": "a39eb136-0b4f-4c3a-8364-4a5b18b84395",
"expectedControlType": "Button",
"processors": "",
"interactions": "",
"initialStateCheck": false
}
],
"bindings": [
{
"name": "",
"id": "d3eed05b-296f-45cf-affa-b8bdeb43e329",
"path": "<Keyboard>/w",
"interactions": "",
"processors": "",
"groups": "",
"action": "Jump",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "25f55c71-f281-4941-adfc-370812e70608",
"path": "<Keyboard>/space",
"interactions": "",
"processors": "",
"groups": "",
"action": "Dash",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "1D Axis",
"id": "d067c3a2-64d4-4e23-8fc2-dd3ee0ccc697",
"path": "1DAxis",
"interactions": "",
"processors": "",
"groups": "",
"action": "Movement",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "negative",
"id": "0bf3ce54-c451-4718-b600-8197f18bdd3b",
"path": "<Keyboard>/a",
"interactions": "",
"processors": "",
"groups": "",
"action": "Movement",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "positive",
"id": "b4781994-1587-4c03-a9c1-170bf3c9f0d0",
"path": "<Keyboard>/d",
"interactions": "",
"processors": "",
"groups": "",
"action": "Movement",
"isComposite": false,
"isPartOfComposite": true
}
]
}
],
"controlSchemes": []
}
14 changes: 14 additions & 0 deletions Assets/PlayerInputActions.inputactions.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 296521a

Please sign in to comment.