#AZUSA
1 messages · Page 1 of 1 (latest)
Is this 2D?
no
transform.Translate(movement * Time.deltaTime * _speed, _direction); This is likely what you want
-.-
But you probably wanna go through and make sure your script matches the tutorial
Did that work for you?
;-;
no
still have errors
my script followed the tutorial
but his unity version was 2020
not 2021
These aren't issues with Unity versions
Can you send a link to the tutorial and the timestamp you're at?
And what are the new errors?
@lavish sonnet
We'll build a 3d game live, starting from nothing..
It'll probably be a shooter, I've got a few art ideas in mind :)
Check out the course: https://game.courses/programmer
I just converted my beginner video into a little micro course, if you're interested in 2d or general game code, check it out here (free):
https://game.courses/birds/
What timestamp are you at?
somewhere arrounf 14:48
What errors are you getting now?
Your script didn't follow the tutorial by the way. He doesn't use a Vector2 there
?
It's Input.GetAxis. Capitalization is important
i never used a vector2?
Your script originally had transform.Translate(new Vector2(movement * Time.deltaTime * _speed, _direction));
Oh, well I don't know why they gave you that then
I'm not sure on that third error. What does your script look like right now?
Like, as a screenshot with line numbers visible
That's for compilation errors, I believe? I've never actually looked at that before
ok
transform.Translate(new Vector3(movement * Time.deltaTime * _speed, _direction));
replace?
Yeah
ok
I get what the idea was behind that original line now. Must've mis-typed or something
Oh wait
transform.Translate(new Vector3(movement * Time.deltaTime * _speed * _direction));
ok
You had a comma instead of a *
One thing after another with this line
sorry for interupting your gameplay
transform.Translate(movement * Time.deltaTime * _speed * _direction);
Lol, I'm just reorganizing my Spotify playlists
That's the name of the game I'm making, so I tricked Discord into thinking Google was my game
I forgot there was a tutorial tbh
;-;
This line should actually work though. It's the line from the tutorial, unless I missed something else
ok
Turns out it was just a typo and a random Vector2
;-;
thanks
how do i set my camera to my view
or hovert arround with the camera locked to view
@lavish sonnet
In scene view?
yes
Just hold right click and WASD
ok
thx
how do i make it slower
@lavish sonnet
im realy sorry for pinging you
;-;
No idea
I looked it up and didn't find anything either
Oh wait, got it. Scroll while holding right click
ok
uhhhh
@lavish sonnet
how do i make it so that my camera snaps to my view
im realy hopping i dont annoy you much
so for some reason when i press play my character is missing
Can you send its inspector?
Is SphereBot your player?
yes
Can you select it and send another screenshot of that screen?
So by missing, do you mean that it's just completely gone from the scene?
when i press play
That's a weird one
You might be better off asking in #💻┃unity-talk. I'm not really sure here
ok