#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)

oak shale
#

idk why

#

perhaps I should try saving the project before running

sand vessel
#

You should include code

oak shale
#

wait wdym

grave brambleBOT
#

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

oak shale
sly pivot
#

...

#

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

oak shale
#

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

sly pivot
#

Do you already have an input bound to left shift

oak shale
#

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

sly pivot
#

Alright, but if your problem is solved it's not really necessary. But you can send if you want

oak shale
#

alr

sly pivot
#

Looks fine

oak shale
#

alr then

sly pivot
#

but I'd give it a more meaningful name like "Sprint"

oak shale
#

well I could, but if I were to use it for something else

sly pivot
#

because the name "Shift" might be inaccurate if you or the player decide to rebind it

oak shale
#

about that

#

how do you even implement

#

the player being able to change keybinds

sly pivot
#

For that, I would personally recommend just avoiding the old input manager all together

#

The new input system is much more flexible

oak shale
#

one more thing

#

how do I start using the new input system

sly pivot
#

There are plenty of tutorials out there for that

oak shale
#

like the brackeys one on the new input system?

sly pivot
#

I mean that's one example, but that video is quite outdated now and some things have changed since that video released

#

There's an Installation guide and a Quick Start guide

#

Should help you get up and running

oak shale
#

alr then, but if I do get it

#

do I need to change my code cus its using the code from this tutorial

#

which uses the old input system

#

the thing is

sly pivot
#

You will need to rewrite how you handle input yes, it handles it in a completely different way

oak shale
#

for performance im using the old version

#

I see

oak shale
#

that is

sly pivot
#

Why

#

How old are we talking

oak shale
#

2020

#

I think it was lagging in the newest version

sly pivot
#

That's fine, the input system was introduced as preview in 2018.x and hit stable release in 2019.x

#

2020 has input system

oak shale
#

tho im curious

#

if you use the newest version

#

have you noticed any lag

sly pivot
#

I haven't. Runs fine for me

oak shale
#

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?

sly pivot
#

There are also tutorials for that

oak shale
#

I see

sly pivot
#

Just search on google, there's literally over a million results

#

Top result looks fine

oak shale
#

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

sly pivot
#

You're welcome