Patrefans
GameMakersToolkit from patreon
GameMakersToolkit patreon

The Unity Tutorial (If You Hate Tutorials)

🕑 Added 2022-12-02 19:26:58 +0000 UTC
The Unity Tutorial (If You Hate Tutorials)

Comments

SHAMANWOLF 1594

Whoa!! Great video!! I am learning Unity through Udemy and I really enjoy it, but you have just demonstrated very helpful ways of illustrating development process that I wish they would adapt. Excellent stuff!

Oliver Villar

Agreed!

Isaiah Snell-Feikema

@DMG: Is the takeaway here to use one of the more precise alternatives to `Time.time` if your play sessions may last longer than 4.5-9 hours, or is there more to it than that?

DMG

I wouldn't recommend this format for games that might be played over long sessions - particularly anything you're shipping on console where it can be suspended and resumed without the player ever quitting and re-launching the app. In a not-unreasonable amount of time, `Time.time` begins to lose precision in ranges we care about. More here: https://gamedev.stackexchange.com/a/141811/39518

Yeah, that also bugged me* :P That and how one shouldn't change physics objects locations in Update() but in FixedUpdate() instead were my biggest gripes. It makes input a bit more cumbersome to implement, but it's safer for the physics. There were a few other technical issues I had (I'm a 12-year Unity monster) but they were mostly harmless, otherwise I was genuinely impressed that Mark was able to tutorialize a mostly complete Flappy Bird game (with recaps!) in 40 minutes. * Glad Mark fixed the if (GetKeyDown() == true) thing though, Grr!

Swolomo

Rad! I’m glad you got around to making this. Love how you went from knowing nothing to making a game at the visual and tactical quality you’re making now in a relatively short period. It’s super inspiring.

Isaiah Snell-Feikema

The timer pattern described in the video could be improved. Instead of incrementing a timer period every update, you can set a future time and check if the current time is greater than that future time. For example: nextDoStuffTime = time.Time + 5; // Do stuff in 5 seconds and then in your update code: if (time.Time >= nextDoStuffTime) { // Do stuff nextDoStuffTime = time.Time + 5; // Do stuff again in 5 seconds }


More Creators