All checks were successful
		
		
	
	ci/woodpecker/push/woodpecker Pipeline was successful
				
			Adds the player camera as described in #7. As a note for the future that I forgot to add as a comment here, the camera zoom and rotation should be tweened to give a smoother effect. Reviewed-on: #10 Reviewed-by: zephyr <zephyr@noreply.localhost> Co-authored-by: Michael <mep053@gmail.com> Co-committed-by: Michael <mep053@gmail.com>
		
			
				
	
	
		
			118 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			118 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| {
 | |
|     "name": "PlayerInputActions",
 | |
|     "maps": [
 | |
|         {
 | |
|             "name": "PlayMode",
 | |
|             "id": "070b907f-017e-4c2f-b0c6-1c42d04fcbdd",
 | |
|             "actions": [
 | |
|                 {
 | |
|                     "name": "CameraRotate",
 | |
|                     "type": "Value",
 | |
|                     "id": "9afddc3f-5399-45ec-b6d4-ac8f14591f59",
 | |
|                     "expectedControlType": "Axis",
 | |
|                     "processors": "",
 | |
|                     "interactions": "",
 | |
|                     "initialStateCheck": true
 | |
|                 },
 | |
|                 {
 | |
|                     "name": "CameraHoldToRotate",
 | |
|                     "type": "Button",
 | |
|                     "id": "9d3c83bf-1503-4dab-a09d-437cf2086c6d",
 | |
|                     "expectedControlType": "Button",
 | |
|                     "processors": "",
 | |
|                     "interactions": "",
 | |
|                     "initialStateCheck": false
 | |
|                 },
 | |
|                 {
 | |
|                     "name": "CameraZoom",
 | |
|                     "type": "Value",
 | |
|                     "id": "fa83c1c9-b87f-4cee-975f-3855c924d2df",
 | |
|                     "expectedControlType": "Axis",
 | |
|                     "processors": "",
 | |
|                     "interactions": "",
 | |
|                     "initialStateCheck": true
 | |
|                 }
 | |
|             ],
 | |
|             "bindings": [
 | |
|                 {
 | |
|                     "name": "Rotation",
 | |
|                     "id": "0050b6a4-a3f1-4ff1-b9c8-1d42d4f0c6fb",
 | |
|                     "path": "1DAxis",
 | |
|                     "interactions": "",
 | |
|                     "processors": "",
 | |
|                     "groups": "",
 | |
|                     "action": "CameraRotate",
 | |
|                     "isComposite": true,
 | |
|                     "isPartOfComposite": false
 | |
|                 },
 | |
|                 {
 | |
|                     "name": "negative",
 | |
|                     "id": "f28b531d-41d8-4d40-b5ec-3d1f03096737",
 | |
|                     "path": "<Mouse>/delta/left",
 | |
|                     "interactions": "",
 | |
|                     "processors": "",
 | |
|                     "groups": "",
 | |
|                     "action": "CameraRotate",
 | |
|                     "isComposite": false,
 | |
|                     "isPartOfComposite": true
 | |
|                 },
 | |
|                 {
 | |
|                     "name": "positive",
 | |
|                     "id": "36e58b45-1d68-4530-bde4-1d2e8782dd7c",
 | |
|                     "path": "<Mouse>/delta/right",
 | |
|                     "interactions": "",
 | |
|                     "processors": "",
 | |
|                     "groups": "",
 | |
|                     "action": "CameraRotate",
 | |
|                     "isComposite": false,
 | |
|                     "isPartOfComposite": true
 | |
|                 },
 | |
|                 {
 | |
|                     "name": "",
 | |
|                     "id": "14146a82-ac5b-49ee-9ab7-e6368a4cae5c",
 | |
|                     "path": "<Mouse>/rightButton",
 | |
|                     "interactions": "",
 | |
|                     "processors": "",
 | |
|                     "groups": "",
 | |
|                     "action": "CameraHoldToRotate",
 | |
|                     "isComposite": false,
 | |
|                     "isPartOfComposite": false
 | |
|                 },
 | |
|                 {
 | |
|                     "name": "Zoom",
 | |
|                     "id": "74d82a33-5fc3-44c2-a098-ce09b78688cb",
 | |
|                     "path": "1DAxis",
 | |
|                     "interactions": "",
 | |
|                     "processors": "",
 | |
|                     "groups": "",
 | |
|                     "action": "CameraZoom",
 | |
|                     "isComposite": true,
 | |
|                     "isPartOfComposite": false
 | |
|                 },
 | |
|                 {
 | |
|                     "name": "negative",
 | |
|                     "id": "11019ed6-53a3-415d-a6bc-c8761b180cb6",
 | |
|                     "path": "<Mouse>/scroll/up",
 | |
|                     "interactions": "",
 | |
|                     "processors": "",
 | |
|                     "groups": "",
 | |
|                     "action": "CameraZoom",
 | |
|                     "isComposite": false,
 | |
|                     "isPartOfComposite": true
 | |
|                 },
 | |
|                 {
 | |
|                     "name": "positive",
 | |
|                     "id": "2c66ebda-4b5d-4dc2-a1e4-42f0e56e9e30",
 | |
|                     "path": "<Mouse>/scroll/down",
 | |
|                     "interactions": "",
 | |
|                     "processors": "",
 | |
|                     "groups": "",
 | |
|                     "action": "CameraZoom",
 | |
|                     "isComposite": false,
 | |
|                     "isPartOfComposite": true
 | |
|                 }
 | |
|             ]
 | |
|         }
 | |
|     ],
 | |
|     "controlSchemes": []
 | |
| } |