Introduction to Game Development (E06: a simple game)

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

In this episode we create a simple game to practise the conditional statements and operators learned in the previous episode. Also introduced is the concept of method overloading, the Time and Random classes, and the Invoke method.

Source code:

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

Hello! In this episode we create a small game that runs in the Unity console. Next episode will be challenge time - I'll be presenting a similar sort of game for you to try create on your own. After that we'll finally start looking at how to control GameObjects via scripts so that we can begin making 'proper' games. Should be fun :)

SebastianLague
Автор

Sebastian, your videos are 12x more helpful than my university's introductory programming class. Please keep up the good work. You are helping lots of people.

jakehunsberger
Автор

Wow! You explained Method Overloading in under 90 seconds and now I get it :) Thanks for your concise explanation :)

Tutterzoid
Автор

Very clear and concise tutorial! Fun note: I am a music producer, so I played this game showed in the tutorial, my errors were in the 0.0x seconds and it was 0.00x in one of the rounds. I clearly spent a lot of time in the DAW playing around 60 and 120 BPM LOL!

azorailke
Автор

Outstanding tutorial.
Only just discovered your channel.
Super-easy sub.

samdavepollard
Автор

Best beginner's C# tutorial I saw so far. Excellent organization and pertinent information related to learning to code.

ZandreAiken
Автор

16:03 Most satisfying(and kinda creepy) countdown ever!

ibrahimabdalla
Автор

Lesson 6 and we're already into gamedev (however simple). Love the pace of this course

misraaditya
Автор

Hey Sebastian, great episode! I’m Jan from Spain, can you do a video explaining how to enter in the videogames industry? please. Explain us about your life, how did you learn code, at university or alone? etc. It will be very interesting for the people who wants to start doing games. Thanks a lot :)

JanNafta
Автор

Ahhhh!! This is so good! Can't wait for episode 07.
I'm getting really exited for the assignments haha.

LightStorm
Автор

Dam man ! you've done a great job with this tutorial series ;) i'm working with ue4 now but gosh i'd love to have find excellent tutorial like that when i've started to learn code ;) You explain very well, as slow as it need to be , with great example and even for "advanced " programmer we still learn or at least remember some concept and it's very cool ! keep up the good work dude ;) have a nice day !

allpixelsstudio
Автор

Hogwarts grade system? You missed "Troll" :D
Awesome videos btw :)

gurjotb
Автор

I loved this! One tip: The second is complete once it ends.

E.g., one... two... three!

Hitting the space as you say three counts TWO seconds.

If you count one... two... three... four, and hit space as you SAY four, that counts THREE seconds.

:D

KitskullDubstep
Автор

I love the series, but I have a question, well actually two.
1. When will the next episode be posted?
2. Which level will you expect us to be at the end of the series?

maxvanmeel
Автор

awesome tutorials. I don't think I'm a natural at this yet, cant keep up! Hoping it'll click eventually.

evindrews
Автор

@10:46 I love the Harry Potter reference!

Zutanni
Автор

Very nice tutorial!!! I came over from Game Maker and I thought it'll be more difficult to switch from GML to C#.

julius
Автор

I've never found it so easy to make a tutorial game!

oakherder
Автор

Great tutorial series so far :) . For the message i like to use string.Format, so that i have a bit more control over the display of the message, so i make the last part(outstanding, exceeds...) a string variable and drop it in the string format like this:
string message = string.Format ("You waited for {0:F2} seconds. That's {1:F2} seconds off. {2}", playerWaitTime, err, mess);
Where mess is the "outstanding, exceeds..." part.

svetlinsvilenov
Автор

How do you get those code hints (i.e 3:17) in Visual Studio?

steampunkengi