hello everyone im trying to make a 2d topdown game in unity and the script i wrote isn't working
if you can help pls help i really want to make this game
37 Replies
I can send the code I wrote if that helps
how else would we help you without looking at the code
ok ima send the code now
Game Dev with JacquelynneHei
YouTube
4. How to make a 2D RPG in Unity - Character Movement - Code
In this video, we will use the logic from the previous video to code the character movement. We will be creating the movement component, getting input from the keyboard, and using physics to move our character in the world.
Support me on Patreon: https://www.patreon.com/jacquelynneHei
Follow me on Twitter: https://twitter.com/JacquelynneHei2
Jo...
this is the video i used
and ima send the code in a sec
this is the code
if you could modify it so its good i would be very thankful
Dude you're not even explaining what isn't working
what is even AD and WS?
movement
What about it
the keys i want the character to move with
AD and WS should be in comment probably?
idk what that means
im pretty new to coding
What about them
Learn C# first
👍
how
where
Before following Unity tutorial
$helloworld
microsoft
ok
or be an old man like me and play with w3school
also duh
this probably better
what do i put here?
just learn c# firstttttt and i may help
can u atleast send me a video about c# that i can learn
It literally says there are videos here...
oh ok thx
i did the training
now can u please help
Surely you watched multiple hours worth of courses in less than an hour :Clueless:
MULTIPLE HOURS??
JUST pls help me
i really need this script
You have not explained what's wrong with it
so basically i need a movement script and i wrote the thing but when i press the wasd keys it does nothing
so??
???
pls
respond
Debug the value of
movement
and movement * Time.deltaTime
There's about a million things that could be wrong so I suggest you gather information about the issue, starting with this@Izsák Currently this seems to be above your skill level. Start with something simpler, learn to solve problems first.
There's no taking shortcuts in programming
If you are not able to understand the code you are copying from a tutorial, you need to take things down a notch and start with the basics