Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dyingIsMainstream
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gamejam-gpn15
dyingIsMainstream
Commits
75751602
Commit
75751602
authored
Jun 06, 2015
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change keyboard controls
'arrows' now uses '\' for dash and '[' for dash.
parent
e646a165
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Menu.cs
Assets/Scripts/Menu.cs
+1
-1
PlayerInputMapping.cs
Assets/Scripts/PlayerInputMapping.cs
+2
-2
No files found.
Assets/Scripts/Menu.cs
View file @
75751602
...
...
@@ -99,7 +99,7 @@ public class Menu : MonoBehaviour
}
}
}
if
(
Input
.
GetKeyDown
(
KeyCode
.
RightControl
))
if
(
Input
.
GetKeyDown
(
KeyCode
.
Backslash
))
{
if
(
ArrowAdded
)
{
...
...
Assets/Scripts/PlayerInputMapping.cs
View file @
75751602
...
...
@@ -37,8 +37,8 @@ public class PlayerInputMapping : MonoBehaviour
keyCodes
[(
int
)
Keys
.
Up
]
=
KeyCode
.
UpArrow
;
keyCodes
[(
int
)
Keys
.
Jump
]
=
keyCodes
[(
int
)
Keys
.
Up
];
keyCodes
[(
int
)
Keys
.
Down
]
=
KeyCode
.
DownArrow
;
keyCodes
[(
int
)
Keys
.
Dash
]
=
KeyCode
.
RightControl
;
keyCodes
[(
int
)
Keys
.
Shoot
]
=
KeyCode
.
Right
Shif
t
;
keyCodes
[(
int
)
Keys
.
Dash
]
=
KeyCode
.
Backslash
;
keyCodes
[(
int
)
Keys
.
Shoot
]
=
KeyCode
.
Right
Bracke
t
;
break
;
case
controlType
.
GAMEPAD1
:
gamepadIndex
=
GamePad
.
Index
.
One
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment