#Im trying to add a left shift button to be able to add sprint my game but its not able to save
1 messages · Page 1 of 1 (latest)
You should include code
wait wdym
It's hard to answer a programming question without code
Resolving a bug is almost impossible when the question doesn't include any of the buggy code. In order to help fix the problem, answerers are going to have to see what the code is.
Source: https://idownvotedbecau.se/nocode
Please isolate the problematic code and send it as a codeblock. If you don't know how to send a codeblock, type []cb
explain pls
...
They mean what the bot said.
Include code. Your code. Send it
We can't help you if we have no idea what the problem is
idk how to save a new input button
its not code related
tho it could be
but that still isnt about the input button
and i checked
and yup it works now
Do you already have an input bound to left shift
no but now I made one
imma send it tho
just the screenshot
to see if I did it right
it works but idk if I made it correctly
Alright, but if your problem is solved it's not really necessary. But you can send if you want
Looks fine
alr then
but I'd give it a more meaningful name like "Sprint"
well I could, but if I were to use it for something else
because the name "Shift" might be inaccurate if you or the player decide to rebind it
For that, I would personally recommend just avoiding the old input manager all together
The new input system is much more flexible
There are plenty of tutorials out there for that
like the brackeys one on the new input system?
I mean that's one example, but that video is quite outdated now and some things have changed since that video released
Your best course of action is to read the official docs
https://docs.unity3d.com/Packages/[email protected]/manual/index.html
There's an Installation guide and a Quick Start guide
Should help you get up and running
alr then, but if I do get it
do I need to change my code cus its using the code from this tutorial
Let's see how to get an FPS Character Controller up and running in no time!
REGISTER with APPTUTTI: https://www.apptutti.com/partners/registration.php?utm_source=brackeys&utm_medium=social&utm_campaign=brackeyssponsor1
LEARN MORE: https://www.apptutti.com/corporate/?utm_source=brackeys&utm_medium=social&utm_campaign=brackeyssponsor1
● Ultimat...
which uses the old input system
the thing is
You will need to rewrite how you handle input yes, it handles it in a completely different way
That's fine, the input system was introduced as preview in 2018.x and hit stable release in 2019.x
2020 has input system
I haven't. Runs fine for me
because maybe it was something else
I shall test the 2022 version again
but hold on
when I do the thing switch to the new input system
how do I add players being able to rebind keys
tutorial?
There are also tutorials for that
I see
I started watching
that one
immediatly after sending the msg
wasnt sure if it was for that
but now I know
I should make a list of vids to save
rn I dont need it
well thank you very much for the help
You're welcome