Introduction to Game Development (E04: writing code)

preview_player
Показать описание
Welcome to episode four of this introduction to game development in Unity with C#.

In this episode we practise using what we've learned about variables and methods.

Or a once-off donation through PayPal:
Рекомендации по теме
Комментарии
Автор

Of all the tutorials I've watched I don't think any of them have been as smooth and professional as yours. Thank you for putting these up for free.

minatoarisato
Автор

Thanks, Great tutorial. For practice, I made a code that prints out the slope of a line!

roykhoury
Автор

Thanks to this tutorial I was able to make a method that converts F to C and another that converts C to F (F = Farenheit, C = Celsius).

Allplussomeminus
Автор

In this episode we get some practice with the things we've been talking about, variables and methods. We also discuss printing messages to the console, variable scope, and take a quick look at what happens when we make a mistake in our code.

Let me know if you run into an errors that you can't figure out. There will be several episodes devoted to debugging later on in the series, as it is a very important skill to develop.

Cheers!

SebastianLague
Автор

You're so good at explaining stuff. My university programming tutors made scope seem like such a tricky topic and you show how it's really not.

chuffmunky
Автор

Thanks, Sebastian for the tutorials!
I am starting my journey into Unity and scripting in 2020 and your lessons are very informative.

DC-tsog
Автор

Hey Sebastian, thank you so much for these helpfull guides !
I'm a first year Game Dev at my school ( the year is already hallfway done ) but i'm still having quite a lot of trouble writing my own code, so these guides have been super helpfull.

jessebijma
Автор

This guy explains it the best, thanks
Ive never learned as fast c# with you series

at
Автор

Wow, a program teaching video which does start with printing something that isn't "Hello World!"...

zmayer
Автор

Sebastian appreciate the time u put into these videos... thank you

Raz
Автор

"Double click on syntax error in Unity
to jump directly to line in MonoDevelop"
I did not know that navigation gem.

paulkindervater
Автор

That was fun, actually did something useful like getting the distance between two points. I liked it because its obvious some ways it could be used in a game. Well done !

haydentassie
Автор

Waiting for next epissode .. Thank you very much Sebastian i appriciate very much this because here in albania its hard to learn game development without youtube:D You are the best teacher ever :)

emilkadilli
Автор

Aww god math...
Great tutorial man. Oh man i have so much to learn to be such a great teacher as you are :3

SadSmileGames
Автор

Your tutorials are excellent. Thanks for making them.

disgaea
Автор

multiple variables can be declared without instantiation in one line...

i.e. _float dX, dY, dstSquared, dst;_



Then just declare the variable to instantiate. Also -- given that you're writing the distance formula by hand, one would think an actual Δ would be used to describe delta... if I were writing this as personal notation, I'd probably look back (being very tired) and confuse 'd' for some other variable instead.

To be fair, this is a wonderful video - well made, and very informative. Thank you for giving your time to help those around you.

Crux
Автор

loved the theorem for finding distance

lazymastodon
Автор

Huh, I didn't know Debug.Log is print, neither did I know that you can write { } without any accompanying checks before it!

You learn something new everyday! Looking towards your more advanced lessons, like Lists/Dictionaries and stuff like that since I can't wrap my mind around those.

I also love how you intentional create errors in your code to show off ( and explain ) what the mistakes are!

Great tutorial as usual, clear and concise!

Should really be looking at your other tutorials soon hehe :P

kalmato
Автор

Very informative!
to be honest i was a little scared to do math in code, but i nailed it, mostly to the great explanation and guidance of this video :)

neshuneshuification
Автор

I swear to god Sebastian is a Bob Ross of programming !

SteffDev