Introduction to Game Development (E19: arrays and lists)

preview_player
Показать описание
In this episode we look at how arrays and lists can be used to store collections of variables.

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

I swear I will never fully grasp a concept of something until Sebastian makes a video about it.
Bless you man

toffeethedev
Автор

Outline for the next few episodes of this series is:
Loops
Coroutines
Basics of trigonometry
Small stealth game project (~4 episodes)

Following that I still want to cover interfaces, method overloading and overriding, and generic classes and methods.

SebastianLague
Автор

A break down like this would have helped me out when I first started. This will for sure help someone else down the road. Thanks for the upload.

Steven_Something
Автор

I love the subtle Harry Potter references you throw in, all the names in the possibleNames array were members of the Gryffindor Qudditch team!

ULTRAVCATASTROPHE
Автор

Oh man! Thanks so much. I was really needing that... the array explanation and the random indexation method. You are a great teacher. All the best!

Falesam
Автор

Woo Hoo! New Unity video! Idea for you: Kinda like your Cavern generation videos, perhaps you could tackle how to generate a dungeon with (roughly) rectangular rooms. Keep up the awesomeness!

robsim
Автор

arrays saved my life on game development.
Before i learned arrays, i always used a bunch of variables like "name1", "name2", etc.

RoddyDev
Автор

Anyone noticed his string names were Gryffindor Qudidtch Team.

starboy_
Автор

love your work man looking forward to donating so how can I do that ?.

rubixio
Автор

thanks for the post, That helped in my Game Design class

VividMind-of
Автор

Thank you for the valuable information that you share.

ayyildiz-ccc
Автор

Is it possible to make an array of game objects?

phoenixorder
Автор

I shed a manly tear when I found out that I didn't have to use arrays. They crush me.

nemsis
Автор

Finally, a new video, thank you, man. Keep goin' )

sethgrey
Автор

I keep getting Udemy Ads on these videos. Udemy got NOTHING on you!

spence
Автор

Sebastian Lague how long have you programmed?, fundamental to solve problem?, right now im feeling like a copy and paste programmer and can solve small task problem, not bigger complex

jantran
Автор

I've been programming for a while now and had no idea arrays could have dimensions, and I wish I did because there are things where looking back, it could have helped quite a bit. Never anything wrong with going back to basics I guess.

saifors
Автор

Me at the start of the video: "Ah arrays, this should be a breeze because i know these already :)"
Me at the end of the video:

Taaaamas
Автор

Hello, nice vid!
Exactly how do you create a list that contains a bunch of arrays? I´ve tried a whole lot of different approaches but has not managed to do that. I have tried :
public List<int[]> SomeDifferentArrays;
& also :
public List<int[]> SomeDifferentArrays= new List<int[]>();


But they just dissapear both from inspector and the ability to call for them through script. If I remove the square brackets so it becomes regular int-list they simply pop up in inspector and through script again. I do not understand the logic here?


I have also included [Serializable]..


This is a subject I have searched answer to for a long time, so can you help me?
Thanks!

andreasandersson
Автор

im listening to this while i'm drunk dude just so you know

stormcaster