WEBVTT
Kind: captions
Language: en

00:00:00.080 --> 00:00:03.030 align:start position:0%
 
hello<00:00:00.880><c> hi</c><00:00:01.520><c> it's</c><00:00:01.760><c> been</c><00:00:02.000><c> a</c><00:00:02.080><c> while</c>

00:00:03.030 --> 00:00:03.040 align:start position:0%
hello hi it's been a while
 

00:00:03.040 --> 00:00:05.269 align:start position:0%
hello hi it's been a while
how<00:00:03.199><c> y'all</c><00:00:03.439><c> doing</c><00:00:04.560><c> i</c><00:00:04.640><c> hope</c><00:00:04.799><c> you</c><00:00:04.960><c> are</c><00:00:05.040><c> doing</c>

00:00:05.269 --> 00:00:05.279 align:start position:0%
how y'all doing i hope you are doing
 

00:00:05.279 --> 00:00:07.749 align:start position:0%
how y'all doing i hope you are doing
good<00:00:05.839><c> i</c><00:00:06.000><c> hope</c><00:00:06.160><c> you</c><00:00:06.319><c> are</c><00:00:06.399><c> being</c><00:00:06.640><c> safe</c>

00:00:07.749 --> 00:00:07.759 align:start position:0%
good i hope you are being safe
 

00:00:07.759 --> 00:00:11.749 align:start position:0%
good i hope you are being safe
kovit<00:00:08.160><c> is</c><00:00:08.240><c> still</c><00:00:08.400><c> a</c><00:00:08.559><c> thing</c><00:00:09.760><c> so</c><00:00:10.160><c> yeah</c>

00:00:11.749 --> 00:00:11.759 align:start position:0%
kovit is still a thing so yeah
 

00:00:11.759 --> 00:00:13.509 align:start position:0%
kovit is still a thing so yeah
you<00:00:11.920><c> read</c><00:00:12.080><c> the</c><00:00:12.240><c> title</c><00:00:12.639><c> we're</c><00:00:12.799><c> making</c><00:00:13.120><c> flappy</c>

00:00:13.509 --> 00:00:13.519 align:start position:0%
you read the title we're making flappy
 

00:00:13.519 --> 00:00:14.950 align:start position:0%
you read the title we're making flappy
bird<00:00:13.759><c> today</c><00:00:14.400><c> you</c><00:00:14.559><c> know</c>

00:00:14.950 --> 00:00:14.960 align:start position:0%
bird today you know
 

00:00:14.960 --> 00:00:18.150 align:start position:0%
bird today you know
the<00:00:15.120><c> game</c><00:00:15.280><c> that</c><00:00:15.440><c> makes</c><00:00:15.679><c> you</c><00:00:15.839><c> go</c><00:00:17.359><c> i</c><00:00:17.600><c> know</c><00:00:17.920><c> such</c>

00:00:18.150 --> 00:00:18.160 align:start position:0%
the game that makes you go i know such
 

00:00:18.160 --> 00:00:19.830 align:start position:0%
the game that makes you go i know such
an<00:00:18.320><c> original</c><00:00:18.880><c> idea</c><00:00:19.359><c> thank</c><00:00:19.520><c> you</c>

00:00:19.830 --> 00:00:19.840 align:start position:0%
an original idea thank you
 

00:00:19.840 --> 00:00:22.390 align:start position:0%
an original idea thank you
thank<00:00:20.000><c> you</c><00:00:20.400><c> never</c><00:00:20.720><c> done</c><00:00:20.960><c> before</c><00:00:21.840><c> but</c><00:00:22.080><c> anyway</c>

00:00:22.390 --> 00:00:22.400 align:start position:0%
thank you never done before but anyway
 

00:00:22.400 --> 00:00:23.990 align:start position:0%
thank you never done before but anyway
the<00:00:22.640><c> tools</c><00:00:22.880><c> we'll</c><00:00:23.039><c> be</c><00:00:23.199><c> using</c><00:00:23.600><c> for</c><00:00:23.760><c> this</c>

00:00:23.990 --> 00:00:24.000 align:start position:0%
the tools we'll be using for this
 

00:00:24.000 --> 00:00:24.550 align:start position:0%
the tools we'll be using for this
project

00:00:24.550 --> 00:00:24.560 align:start position:0%
project
 

00:00:24.560 --> 00:00:26.230 align:start position:0%
project
is<00:00:24.720><c> love</c><00:00:24.960><c> 2d</c><00:00:25.359><c> which</c><00:00:25.599><c> is</c><00:00:25.680><c> just</c><00:00:25.920><c> a</c><00:00:26.000><c> game</c>

00:00:26.230 --> 00:00:26.240 align:start position:0%
is love 2d which is just a game
 

00:00:26.240 --> 00:00:28.230 align:start position:0%
is love 2d which is just a game
framework<00:00:27.039><c> or</c><00:00:27.279><c> engine</c><00:00:27.680><c> whatever</c><00:00:28.000><c> you</c><00:00:28.080><c> want</c><00:00:28.160><c> to</c>

00:00:28.230 --> 00:00:28.240 align:start position:0%
framework or engine whatever you want to
 

00:00:28.240 --> 00:00:28.950 align:start position:0%
framework or engine whatever you want to
call<00:00:28.480><c> it</c>

00:00:28.950 --> 00:00:28.960 align:start position:0%
call it
 

00:00:28.960 --> 00:00:30.950 align:start position:0%
call it
in<00:00:29.199><c> lua</c><00:00:29.920><c> because</c><00:00:30.160><c> that's</c><00:00:30.400><c> the</c><00:00:30.560><c> programming</c>

00:00:30.950 --> 00:00:30.960 align:start position:0%
in lua because that's the programming
 

00:00:30.960 --> 00:00:32.950 align:start position:0%
in lua because that's the programming
language<00:00:31.359><c> that</c><00:00:31.599><c> love</c><00:00:31.920><c> works</c><00:00:32.239><c> with</c>

00:00:32.950 --> 00:00:32.960 align:start position:0%
language that love works with
 

00:00:32.960 --> 00:00:34.549 align:start position:0%
language that love works with
i<00:00:33.200><c> also</c><00:00:33.440><c> mentioned</c><00:00:33.760><c> them</c><00:00:33.920><c> in</c><00:00:34.000><c> my</c><00:00:34.160><c> previous</c>

00:00:34.549 --> 00:00:34.559 align:start position:0%
i also mentioned them in my previous
 

00:00:34.559 --> 00:00:36.229 align:start position:0%
i also mentioned them in my previous
video<00:00:34.960><c> so</c><00:00:35.120><c> if</c><00:00:35.280><c> you</c><00:00:35.440><c> want</c><00:00:35.600><c> you</c><00:00:35.760><c> go</c><00:00:35.920><c> check</c>

00:00:36.229 --> 00:00:36.239 align:start position:0%
video so if you want you go check
 

00:00:36.239 --> 00:00:37.990 align:start position:0%
video so if you want you go check
actually<00:00:36.559><c> no</c><00:00:36.880><c> i'm</c><00:00:37.040><c> telling</c><00:00:37.280><c> you</c><00:00:37.440><c> to</c><00:00:37.600><c> go</c><00:00:37.840><c> check</c>

00:00:37.990 --> 00:00:38.000 align:start position:0%
actually no i'm telling you to go check
 

00:00:38.000 --> 00:00:40.150 align:start position:0%
actually no i'm telling you to go check
that<00:00:38.160><c> out</c><00:00:38.800><c> now</c><00:00:38.960><c> with</c><00:00:39.120><c> that</c><00:00:39.440><c> being</c><00:00:39.680><c> said</c>

00:00:40.150 --> 00:00:40.160 align:start position:0%
that out now with that being said
 

00:00:40.160 --> 00:00:42.709 align:start position:0%
that out now with that being said
let's<00:00:40.399><c> code</c><00:00:40.640><c> the</c><00:00:40.800><c> [&nbsp;__&nbsp;]</c><00:00:41.920><c> all</c><00:00:42.079><c> right</c><00:00:42.320><c> to</c><00:00:42.480><c> start</c>

00:00:42.709 --> 00:00:42.719 align:start position:0%
let's code the [&nbsp;__&nbsp;] all right to start
 

00:00:42.719 --> 00:00:44.869 align:start position:0%
let's code the [&nbsp;__&nbsp;] all right to start
off<00:00:42.879><c> simple</c><00:00:43.280><c> we</c><00:00:43.440><c> need</c><00:00:43.600><c> a</c><00:00:43.760><c> player</c><00:00:44.079><c> that</c><00:00:44.320><c> jumps</c>

00:00:44.869 --> 00:00:44.879 align:start position:0%
off simple we need a player that jumps
 

00:00:44.879 --> 00:00:47.190 align:start position:0%
off simple we need a player that jumps
or<00:00:45.120><c> should</c><00:00:45.360><c> i</c><00:00:45.440><c> say</c><00:00:45.680><c> flaps</c><00:00:46.239><c> when</c><00:00:46.399><c> the</c><00:00:46.559><c> spacebar</c>

00:00:47.190 --> 00:00:47.200 align:start position:0%
or should i say flaps when the spacebar
 

00:00:47.200 --> 00:00:48.869 align:start position:0%
or should i say flaps when the spacebar
or<00:00:47.280><c> whatever</c><00:00:47.760><c> key</c><00:00:48.000><c> is</c><00:00:48.160><c> pressed</c>

00:00:48.869 --> 00:00:48.879 align:start position:0%
or whatever key is pressed
 

00:00:48.879 --> 00:00:50.470 align:start position:0%
or whatever key is pressed
i<00:00:49.039><c> know</c><00:00:49.200><c> it's</c><00:00:49.360><c> a</c><00:00:49.440><c> bird</c><00:00:49.680><c> but</c><00:00:49.840><c> to</c><00:00:49.920><c> keep</c><00:00:50.160><c> it</c><00:00:50.239><c> simple</c>

00:00:50.470 --> 00:00:50.480 align:start position:0%
i know it's a bird but to keep it simple
 

00:00:50.480 --> 00:00:51.670 align:start position:0%
i know it's a bird but to keep it simple
for<00:00:50.640><c> now</c><00:00:50.800><c> we're</c><00:00:51.039><c> going</c><00:00:51.199><c> to</c><00:00:51.280><c> make</c><00:00:51.440><c> it</c><00:00:51.600><c> a</c>

00:00:51.670 --> 00:00:51.680 align:start position:0%
for now we're going to make it a
 

00:00:51.680 --> 00:00:52.709 align:start position:0%
for now we're going to make it a
rectangle

00:00:52.709 --> 00:00:52.719 align:start position:0%
rectangle
 

00:00:52.719 --> 00:00:54.229 align:start position:0%
rectangle
matter<00:00:52.960><c> of</c><00:00:53.039><c> fact</c><00:00:53.360><c> everything</c><00:00:53.840><c> will</c><00:00:54.000><c> be</c><00:00:54.160><c> a</c>

00:00:54.229 --> 00:00:54.239 align:start position:0%
matter of fact everything will be a
 

00:00:54.239 --> 00:00:55.910 align:start position:0%
matter of fact everything will be a
rectangle<00:00:54.879><c> but</c><00:00:55.120><c> after</c><00:00:55.360><c> everything</c><00:00:55.760><c> is</c>

00:00:55.910 --> 00:00:55.920 align:start position:0%
rectangle but after everything is
 

00:00:55.920 --> 00:00:57.350 align:start position:0%
rectangle but after everything is
functioning<00:00:56.320><c> as</c><00:00:56.480><c> they</c><00:00:56.719><c> should</c>

00:00:57.350 --> 00:00:57.360 align:start position:0%
functioning as they should
 

00:00:57.360 --> 00:00:59.430 align:start position:0%
functioning as they should
i<00:00:57.520><c> will</c><00:00:57.760><c> probably</c><00:00:58.160><c> draw</c><00:00:58.399><c> the</c><00:00:58.559><c> assets</c><00:00:59.120><c> but</c><00:00:59.280><c> that</c>

00:00:59.430 --> 00:00:59.440 align:start position:0%
i will probably draw the assets but that
 

00:00:59.440 --> 00:01:01.029 align:start position:0%
i will probably draw the assets but that
sounds<00:00:59.680><c> like</c><00:00:59.840><c> a</c><00:00:59.920><c> lot</c><00:01:00.160><c> of</c><00:01:00.320><c> work</c><00:01:00.640><c> so</c>

00:01:01.029 --> 00:01:01.039 align:start position:0%
sounds like a lot of work so
 

00:01:01.039 --> 00:01:13.060 align:start position:0%
sounds like a lot of work so
no<00:01:10.840><c> promises</c>

00:01:13.060 --> 00:01:13.070 align:start position:0%
no promises
 

00:01:13.070 --> 00:01:16.950 align:start position:0%
no promises
[Music]

00:01:16.950 --> 00:01:16.960 align:start position:0%
 
 

00:01:16.960 --> 00:01:18.870 align:start position:0%
 
all<00:01:17.119><c> right</c><00:01:17.439><c> nice</c><00:01:17.759><c> we</c><00:01:17.920><c> got</c><00:01:18.159><c> our</c><00:01:18.320><c> player</c><00:01:18.640><c> and</c><00:01:18.720><c> we</c>

00:01:18.870 --> 00:01:18.880 align:start position:0%
all right nice we got our player and we
 

00:01:18.880 --> 00:01:21.109 align:start position:0%
all right nice we got our player and we
got<00:01:19.119><c> it</c><00:01:19.200><c> moving</c><00:01:19.920><c> but</c><00:01:20.080><c> now</c><00:01:20.240><c> we</c><00:01:20.320><c> have</c><00:01:20.560><c> a</c><00:01:20.720><c> minor</c>

00:01:21.109 --> 00:01:21.119 align:start position:0%
got it moving but now we have a minor
 

00:01:21.119 --> 00:01:22.870 align:start position:0%
got it moving but now we have a minor
problem<00:01:21.600><c> and</c><00:01:21.759><c> that</c><00:01:22.000><c> is</c><00:01:22.080><c> we</c><00:01:22.240><c> can</c><00:01:22.400><c> go</c><00:01:22.560><c> off</c><00:01:22.720><c> the</c>

00:01:22.870 --> 00:01:22.880 align:start position:0%
problem and that is we can go off the
 

00:01:22.880 --> 00:01:23.510 align:start position:0%
problem and that is we can go off the
screen

00:01:23.510 --> 00:01:23.520 align:start position:0%
screen
 

00:01:23.520 --> 00:01:25.510 align:start position:0%
screen
so<00:01:23.759><c> we</c><00:01:23.920><c> need</c><00:01:24.080><c> to</c><00:01:24.240><c> fix</c><00:01:24.479><c> that</c><00:01:24.880><c> and</c><00:01:25.040><c> let's</c><00:01:25.280><c> also</c>

00:01:25.510 --> 00:01:25.520 align:start position:0%
so we need to fix that and let's also
 

00:01:25.520 --> 00:01:27.350 align:start position:0%
so we need to fix that and let's also
create<00:01:25.840><c> the</c><00:01:25.920><c> ground</c><00:01:26.240><c> for</c><00:01:26.400><c> aesthetics</c>

00:01:27.350 --> 00:01:27.360 align:start position:0%
create the ground for aesthetics
 

00:01:27.360 --> 00:01:29.109 align:start position:0%
create the ground for aesthetics
now<00:01:27.520><c> the</c><00:01:27.759><c> player</c><00:01:28.000><c> will</c><00:01:28.240><c> not</c><00:01:28.400><c> collide</c><00:01:28.720><c> with</c><00:01:28.960><c> the</c>

00:01:29.109 --> 00:01:29.119 align:start position:0%
now the player will not collide with the
 

00:01:29.119 --> 00:01:30.630 align:start position:0%
now the player will not collide with the
ground<00:01:29.439><c> because</c><00:01:29.680><c> we</c><00:01:29.759><c> have</c><00:01:30.000><c> not</c><00:01:30.240><c> added</c>

00:01:30.630 --> 00:01:30.640 align:start position:0%
ground because we have not added
 

00:01:30.640 --> 00:01:33.190 align:start position:0%
ground because we have not added
any<00:01:30.960><c> collision</c><00:01:31.360><c> detection</c><00:01:31.920><c> yet</c><00:01:32.159><c> but</c><00:01:32.960><c> we'll</c>

00:01:33.190 --> 00:01:33.200 align:start position:0%
any collision detection yet but we'll
 

00:01:33.200 --> 00:01:42.090 align:start position:0%
any collision detection yet but we'll
worry<00:01:33.439><c> about</c><00:01:33.680><c> that</c><00:01:38.840><c> later</c>

00:01:42.090 --> 00:01:42.100 align:start position:0%
 
 

00:01:42.100 --> 00:02:00.950 align:start position:0%
 
[Music]

00:02:00.950 --> 00:02:00.960 align:start position:0%
[Music]
 

00:02:00.960 --> 00:02:03.109 align:start position:0%
[Music]
beautiful<00:02:02.000><c> now</c><00:02:02.240><c> all</c><00:02:02.320><c> we</c><00:02:02.479><c> need</c><00:02:02.719><c> are</c><00:02:02.880><c> some</c>

00:02:03.109 --> 00:02:03.119 align:start position:0%
beautiful now all we need are some
 

00:02:03.119 --> 00:02:04.310 align:start position:0%
beautiful now all we need are some
obstacles<00:02:03.759><c> and</c>

00:02:04.310 --> 00:02:04.320 align:start position:0%
obstacles and
 

00:02:04.320 --> 00:02:06.950 align:start position:0%
obstacles and
then<00:02:04.640><c> we</c><00:02:04.799><c> should</c><00:02:05.040><c> be</c><00:02:05.280><c> done</c><00:02:06.399><c> it's</c><00:02:06.560><c> only</c><00:02:06.719><c> been</c>

00:02:06.950 --> 00:02:06.960 align:start position:0%
then we should be done it's only been
 

00:02:06.960 --> 00:02:08.790 align:start position:0%
then we should be done it's only been
two<00:02:07.119><c> minutes</c><00:02:07.600><c> i</c><00:02:07.680><c> need</c><00:02:07.920><c> to</c><00:02:08.000><c> stretch</c><00:02:08.399><c> this</c><00:02:08.640><c> out</c>

00:02:08.790 --> 00:02:08.800 align:start position:0%
two minutes i need to stretch this out
 

00:02:08.800 --> 00:02:09.669 align:start position:0%
two minutes i need to stretch this out
we<00:02:08.959><c> can't</c><00:02:09.200><c> be</c>

00:02:09.669 --> 00:02:09.679 align:start position:0%
we can't be
 

00:02:09.679 --> 00:02:12.390 align:start position:0%
we can't be
done<00:02:10.000><c> that</c><00:02:10.239><c> quickly</c><00:02:11.120><c> uh</c><00:02:11.680><c> yes</c><00:02:12.000><c> we're</c><00:02:12.160><c> gonna</c>

00:02:12.390 --> 00:02:12.400 align:start position:0%
done that quickly uh yes we're gonna
 

00:02:12.400 --> 00:02:28.800 align:start position:0%
done that quickly uh yes we're gonna
start<00:02:12.560><c> working</c><00:02:12.879><c> on</c><00:02:12.959><c> the</c><00:02:13.120><c> pipes</c><00:02:20.840><c> now</c>

00:02:28.800 --> 00:02:28.810 align:start position:0%
 
 

00:02:28.810 --> 00:02:40.810 align:start position:0%
 
[Music]

00:02:40.810 --> 00:02:40.820 align:start position:0%
 
 

00:02:40.820 --> 00:02:51.750 align:start position:0%
 
[Music]

00:02:51.750 --> 00:02:51.760 align:start position:0%
[Music]
 

00:02:51.760 --> 00:02:53.670 align:start position:0%
[Music]
all<00:02:51.840><c> right</c><00:02:52.080><c> perfect</c><00:02:52.959><c> now</c><00:02:53.120><c> we</c><00:02:53.280><c> just</c><00:02:53.440><c> got</c><00:02:53.599><c> to</c>

00:02:53.670 --> 00:02:53.680 align:start position:0%
all right perfect now we just got to
 

00:02:53.680 --> 00:02:54.949 align:start position:0%
all right perfect now we just got to
make<00:02:53.840><c> the</c><00:02:54.000><c> pipes</c><00:02:54.400><c> move</c>

00:02:54.949 --> 00:02:54.959 align:start position:0%
make the pipes move
 

00:02:54.959 --> 00:02:56.470 align:start position:0%
make the pipes move
to<00:02:55.120><c> give</c><00:02:55.360><c> the</c><00:02:55.440><c> illusion</c><00:02:55.760><c> that</c><00:02:55.920><c> the</c><00:02:56.080><c> bird</c><00:02:56.319><c> is</c>

00:02:56.470 --> 00:02:56.480 align:start position:0%
to give the illusion that the bird is
 

00:02:56.480 --> 00:02:57.990 align:start position:0%
to give the illusion that the bird is
moving<00:02:56.800><c> forward</c><00:02:57.280><c> we're</c><00:02:57.440><c> going</c><00:02:57.519><c> to</c><00:02:57.599><c> make</c><00:02:57.840><c> the</c>

00:02:57.990 --> 00:02:58.000 align:start position:0%
moving forward we're going to make the
 

00:02:58.000 --> 00:03:01.430 align:start position:0%
moving forward we're going to make the
pipes<00:02:58.400><c> move</c><00:02:58.720><c> backwards</c>

00:03:01.430 --> 00:03:01.440 align:start position:0%
 
 

00:03:01.440 --> 00:03:03.509 align:start position:0%
 
so<00:03:01.680><c> all</c><00:03:01.840><c> we</c><00:03:02.000><c> got</c><00:03:02.159><c> to</c><00:03:02.239><c> do</c><00:03:02.560><c> is</c><00:03:02.720><c> decrease</c><00:03:03.120><c> the</c><00:03:03.360><c> x</c>

00:03:03.509 --> 00:03:03.519 align:start position:0%
so all we got to do is decrease the x
 

00:03:03.519 --> 00:03:07.110 align:start position:0%
so all we got to do is decrease the x
positions<00:03:04.319><c> let's</c><00:03:04.560><c> say</c><00:03:04.800><c> 75</c><00:03:05.519><c> pixels</c><00:03:06.000><c> per</c><00:03:06.239><c> frame</c>

00:03:07.110 --> 00:03:07.120 align:start position:0%
positions let's say 75 pixels per frame
 

00:03:07.120 --> 00:03:10.149 align:start position:0%
positions let's say 75 pixels per frame
uh<00:03:08.159><c> hey</c><00:03:08.400><c> we've</c><00:03:08.560><c> got</c><00:03:08.720><c> a</c><00:03:08.800><c> problem</c><00:03:09.200><c> here</c>

00:03:10.149 --> 00:03:10.159 align:start position:0%
uh hey we've got a problem here
 

00:03:10.159 --> 00:03:13.030 align:start position:0%
uh hey we've got a problem here
let's<00:03:10.400><c> try</c><00:03:10.560><c> that</c><00:03:10.800><c> again</c><00:03:12.159><c> nope</c><00:03:12.480><c> houston</c><00:03:12.879><c> we</c>

00:03:13.030 --> 00:03:13.040 align:start position:0%
let's try that again nope houston we
 

00:03:13.040 --> 00:03:13.990 align:start position:0%
let's try that again nope houston we
have<00:03:13.200><c> a</c><00:03:13.280><c> problem</c>

00:03:13.990 --> 00:03:14.000 align:start position:0%
have a problem
 

00:03:14.000 --> 00:03:17.270 align:start position:0%
have a problem
still<00:03:14.319><c> ain't</c><00:03:14.560><c> it</c><00:03:15.920><c> one</c><00:03:16.159><c> more</c><00:03:16.400><c> time</c>

00:03:17.270 --> 00:03:17.280 align:start position:0%
still ain't it one more time
 

00:03:17.280 --> 00:03:19.190 align:start position:0%
still ain't it one more time
there<00:03:17.519><c> we</c><00:03:17.680><c> go</c><00:03:18.080><c> we</c><00:03:18.239><c> got</c><00:03:18.400><c> the</c><00:03:18.480><c> pipes</c><00:03:18.879><c> moving</c>

00:03:19.190 --> 00:03:19.200 align:start position:0%
there we go we got the pipes moving
 

00:03:19.200 --> 00:03:21.190 align:start position:0%
there we go we got the pipes moving
correctly<00:03:19.920><c> but</c><00:03:20.080><c> one</c><00:03:20.239><c> pair</c><00:03:20.400><c> of</c><00:03:20.560><c> pipes</c><00:03:21.040><c> is</c>

00:03:21.190 --> 00:03:21.200 align:start position:0%
correctly but one pair of pipes is
 

00:03:21.200 --> 00:03:23.670 align:start position:0%
correctly but one pair of pipes is
pretty<00:03:21.519><c> boring</c><00:03:21.920><c> so</c><00:03:22.159><c> let's</c><00:03:22.400><c> add</c><00:03:22.560><c> another</c><00:03:22.879><c> one</c>

00:03:23.670 --> 00:03:23.680 align:start position:0%
pretty boring so let's add another one
 

00:03:23.680 --> 00:03:27.509 align:start position:0%
pretty boring so let's add another one
another<00:03:24.159><c> one</c>

00:03:27.509 --> 00:03:27.519 align:start position:0%
 
 

00:03:27.519 --> 00:03:28.949 align:start position:0%
 
now<00:03:27.920><c> it's</c><00:03:28.080><c> starting</c><00:03:28.319><c> to</c><00:03:28.480><c> look</c><00:03:28.640><c> more</c><00:03:28.799><c> like</c>

00:03:28.949 --> 00:03:28.959 align:start position:0%
now it's starting to look more like
 

00:03:28.959 --> 00:03:30.789 align:start position:0%
now it's starting to look more like
flappy<00:03:29.360><c> bird</c><00:03:29.840><c> but</c><00:03:30.000><c> as</c><00:03:30.159><c> you</c><00:03:30.239><c> can</c><00:03:30.400><c> see</c>

00:03:30.789 --> 00:03:30.799 align:start position:0%
flappy bird but as you can see
 

00:03:30.799 --> 00:03:32.949 align:start position:0%
flappy bird but as you can see
i<00:03:30.959><c> again</c><00:03:31.280><c> run</c><00:03:31.519><c> out</c><00:03:31.599><c> of</c><00:03:31.760><c> pipes</c><00:03:32.400><c> now</c><00:03:32.640><c> i</c><00:03:32.799><c> could</c>

00:03:32.949 --> 00:03:32.959 align:start position:0%
i again run out of pipes now i could
 

00:03:32.959 --> 00:03:34.710 align:start position:0%
i again run out of pipes now i could
keep<00:03:33.120><c> adding</c><00:03:33.519><c> and</c><00:03:33.599><c> render</c><00:03:33.920><c> these</c><00:03:34.159><c> pipes</c><00:03:34.560><c> but</c>

00:03:34.710 --> 00:03:34.720 align:start position:0%
keep adding and render these pipes but
 

00:03:34.720 --> 00:03:36.229 align:start position:0%
keep adding and render these pipes but
there's<00:03:34.959><c> a</c><00:03:35.040><c> bit</c><00:03:35.200><c> of</c><00:03:35.360><c> a</c><00:03:35.519><c> problem</c>

00:03:36.229 --> 00:03:36.239 align:start position:0%
there's a bit of a problem
 

00:03:36.239 --> 00:03:38.710 align:start position:0%
there's a bit of a problem
let's<00:03:36.480><c> say</c><00:03:36.720><c> you</c><00:03:36.879><c> managed</c><00:03:37.200><c> to</c><00:03:37.360><c> pass</c><00:03:37.680><c> 50</c><00:03:38.080><c> pipes</c>

00:03:38.710 --> 00:03:38.720 align:start position:0%
let's say you managed to pass 50 pipes
 

00:03:38.720 --> 00:03:39.910 align:start position:0%
let's say you managed to pass 50 pipes
which<00:03:38.959><c> i</c><00:03:39.040><c> highly</c><00:03:39.360><c> doubt</c>

00:03:39.910 --> 00:03:39.920 align:start position:0%
which i highly doubt
 

00:03:39.920 --> 00:03:41.750 align:start position:0%
which i highly doubt
that<00:03:40.159><c> means</c><00:03:40.560><c> i</c><00:03:40.640><c> would</c><00:03:40.799><c> have</c><00:03:41.040><c> to</c><00:03:41.200><c> hard</c><00:03:41.440><c> code</c>

00:03:41.750 --> 00:03:41.760 align:start position:0%
that means i would have to hard code
 

00:03:41.760 --> 00:03:43.350 align:start position:0%
that means i would have to hard code
those<00:03:42.000><c> 50</c><00:03:42.400><c> pipes</c>

00:03:43.350 --> 00:03:43.360 align:start position:0%
those 50 pipes
 

00:03:43.360 --> 00:03:45.110 align:start position:0%
those 50 pipes
not<00:03:43.519><c> only</c><00:03:43.760><c> that</c><00:03:43.920><c> would</c><00:03:44.080><c> take</c><00:03:44.319><c> a</c><00:03:44.560><c> fuckton</c>

00:03:45.110 --> 00:03:45.120 align:start position:0%
not only that would take a fuckton
 

00:03:45.120 --> 00:03:47.030 align:start position:0%
not only that would take a fuckton
amount<00:03:45.360><c> of</c><00:03:45.519><c> time</c><00:03:46.080><c> but</c><00:03:46.239><c> it</c><00:03:46.319><c> will</c><00:03:46.480><c> also</c><00:03:46.720><c> take</c><00:03:46.959><c> a</c>

00:03:47.030 --> 00:03:47.040 align:start position:0%
amount of time but it will also take a
 

00:03:47.040 --> 00:03:47.589 align:start position:0%
amount of time but it will also take a
lot<00:03:47.280><c> of</c>

00:03:47.589 --> 00:03:47.599 align:start position:0%
lot of
 

00:03:47.599 --> 00:03:50.229 align:start position:0%
lot of
unnecessary<00:03:48.319><c> memory</c><00:03:48.879><c> but</c><00:03:49.040><c> no</c><00:03:49.200><c> need</c><00:03:49.440><c> to</c><00:03:49.599><c> fear</c><00:03:50.080><c> a</c>

00:03:50.229 --> 00:03:50.239 align:start position:0%
unnecessary memory but no need to fear a
 

00:03:50.239 --> 00:03:51.430 align:start position:0%
unnecessary memory but no need to fear a
solution<00:03:50.720><c> is</c><00:03:50.879><c> here</c>

00:03:51.430 --> 00:03:51.440 align:start position:0%
solution is here
 

00:03:51.440 --> 00:03:53.350 align:start position:0%
solution is here
all<00:03:51.599><c> we</c><00:03:51.760><c> got</c><00:03:51.920><c> to</c><00:03:52.000><c> do</c><00:03:52.159><c> is</c><00:03:52.400><c> check</c><00:03:52.640><c> when</c><00:03:52.799><c> the</c><00:03:52.959><c> pipes</c>

00:03:53.350 --> 00:03:53.360 align:start position:0%
all we got to do is check when the pipes
 

00:03:53.360 --> 00:03:55.110 align:start position:0%
all we got to do is check when the pipes
have<00:03:53.519><c> gone</c><00:03:53.760><c> past</c><00:03:54.000><c> the</c><00:03:54.159><c> end</c><00:03:54.239><c> of</c><00:03:54.319><c> the</c><00:03:54.480><c> screen</c>

00:03:55.110 --> 00:03:55.120 align:start position:0%
have gone past the end of the screen
 

00:03:55.120 --> 00:03:56.949 align:start position:0%
have gone past the end of the screen
and<00:03:55.280><c> when</c><00:03:55.519><c> they</c><00:03:55.680><c> do</c><00:03:56.080><c> we'll</c><00:03:56.239><c> just</c><00:03:56.480><c> respond</c><00:03:56.799><c> them</c>

00:03:56.949 --> 00:03:56.959 align:start position:0%
and when they do we'll just respond them
 

00:03:56.959 --> 00:04:00.200 align:start position:0%
and when they do we'll just respond them
back<00:03:57.120><c> to</c><00:03:57.280><c> the</c><00:03:57.439><c> front</c><00:03:57.920><c> so</c><00:03:58.159><c> basically</c><00:03:58.720><c> a</c><00:03:58.879><c> loop</c>

00:04:00.200 --> 00:04:00.210 align:start position:0%
back to the front so basically a loop
 

00:04:00.210 --> 00:04:11.270 align:start position:0%
back to the front so basically a loop
[Music]

00:04:11.270 --> 00:04:11.280 align:start position:0%
 
 

00:04:11.280 --> 00:04:12.830 align:start position:0%
 
all<00:04:11.439><c> right</c><00:04:11.599><c> let's</c><00:04:11.760><c> see</c><00:04:11.920><c> what</c><00:04:12.000><c> we're</c><00:04:12.159><c> working</c>

00:04:12.830 --> 00:04:12.840 align:start position:0%
all right let's see what we're working
 

00:04:12.840 --> 00:04:15.830 align:start position:0%
all right let's see what we're working
with<00:04:14.239><c> so</c><00:04:14.480><c> this</c><00:04:14.799><c> pipe</c><00:04:15.200><c> should</c>

00:04:15.830 --> 00:04:15.840 align:start position:0%
with so this pipe should
 

00:04:15.840 --> 00:04:19.189 align:start position:0%
with so this pipe should
okay<00:04:16.639><c> all</c><00:04:16.880><c> right</c><00:04:17.359><c> no</c><00:04:18.079><c> that</c><00:04:18.400><c> that's</c><00:04:18.720><c> not</c><00:04:18.880><c> how</c><00:04:19.120><c> it</c>

00:04:19.189 --> 00:04:19.199 align:start position:0%
okay all right no that that's not how it
 

00:04:19.199 --> 00:04:19.909 align:start position:0%
okay all right no that that's not how it
should<00:04:19.440><c> go</c>

00:04:19.909 --> 00:04:19.919 align:start position:0%
should go
 

00:04:19.919 --> 00:04:22.790 align:start position:0%
should go
um<00:04:20.560><c> clearly</c><00:04:21.040><c> i</c><00:04:21.120><c> did</c><00:04:21.359><c> something</c><00:04:21.600><c> wrong</c>

00:04:22.790 --> 00:04:22.800 align:start position:0%
um clearly i did something wrong
 

00:04:22.800 --> 00:04:23.909 align:start position:0%
um clearly i did something wrong
hopefully

00:04:23.909 --> 00:04:23.919 align:start position:0%
hopefully
 

00:04:23.919 --> 00:04:29.430 align:start position:0%
hopefully
it<00:04:24.080><c> gets</c><00:04:24.320><c> better</c><00:04:26.840><c> no</c>

00:04:29.430 --> 00:04:29.440 align:start position:0%
it gets better no
 

00:04:29.440 --> 00:04:33.110 align:start position:0%
it gets better no
oh<00:04:29.680><c> my</c><00:04:30.000><c> [&nbsp;__&nbsp;]</c><00:04:30.479><c> god</c><00:04:31.840><c> like</c><00:04:32.080><c> brian</c><00:04:32.479><c> kernahan</c>

00:04:33.110 --> 00:04:33.120 align:start position:0%
oh my [&nbsp;__&nbsp;] god like brian kernahan
 

00:04:33.120 --> 00:04:34.310 align:start position:0%
oh my [&nbsp;__&nbsp;] god like brian kernahan
once<00:04:33.440><c> said</c>

00:04:34.310 --> 00:04:34.320 align:start position:0%
once said
 

00:04:34.320 --> 00:04:37.030 align:start position:0%
once said
debugging<00:04:35.199><c> is</c><00:04:35.360><c> twice</c><00:04:35.759><c> as</c><00:04:36.000><c> hard</c><00:04:36.400><c> as</c><00:04:36.720><c> writing</c>

00:04:37.030 --> 00:04:37.040 align:start position:0%
debugging is twice as hard as writing
 

00:04:37.040 --> 00:04:39.030 align:start position:0%
debugging is twice as hard as writing
the<00:04:37.199><c> code</c><00:04:37.520><c> in</c><00:04:37.600><c> the</c><00:04:37.759><c> first</c><00:04:38.080><c> place</c>

00:04:39.030 --> 00:04:39.040 align:start position:0%
the code in the first place
 

00:04:39.040 --> 00:04:41.670 align:start position:0%
the code in the first place
therefore<00:04:40.160><c> if</c><00:04:40.320><c> you</c><00:04:40.560><c> write</c><00:04:40.800><c> the</c><00:04:40.960><c> code</c><00:04:41.440><c> as</c>

00:04:41.670 --> 00:04:41.680 align:start position:0%
therefore if you write the code as
 

00:04:41.680 --> 00:04:43.590 align:start position:0%
therefore if you write the code as
cleverly<00:04:42.320><c> as</c><00:04:42.560><c> possible</c>

00:04:43.590 --> 00:04:43.600 align:start position:0%
cleverly as possible
 

00:04:43.600 --> 00:04:47.350 align:start position:0%
cleverly as possible
you<00:04:43.919><c> are</c><00:04:44.560><c> by</c><00:04:44.880><c> definition</c><00:04:46.240><c> not</c><00:04:46.479><c> smart</c><00:04:46.880><c> enough</c>

00:04:47.350 --> 00:04:47.360 align:start position:0%
you are by definition not smart enough
 

00:04:47.360 --> 00:04:51.270 align:start position:0%
you are by definition not smart enough
to<00:04:47.520><c> debug</c><00:04:47.919><c> it</c><00:04:50.080><c> i</c><00:04:50.240><c> honestly</c><00:04:50.639><c> have</c><00:04:50.800><c> no</c><00:04:50.960><c> clue</c><00:04:51.120><c> what</c>

00:04:51.270 --> 00:04:51.280 align:start position:0%
to debug it i honestly have no clue what
 

00:04:51.280 --> 00:04:52.950 align:start position:0%
to debug it i honestly have no clue what
that<00:04:51.440><c> means</c><00:04:51.680><c> but</c><00:04:51.919><c> it</c><00:04:52.000><c> sounds</c><00:04:52.240><c> like</c><00:04:52.400><c> some</c><00:04:52.639><c> deep</c>

00:04:52.950 --> 00:04:52.960 align:start position:0%
that means but it sounds like some deep
 

00:04:52.960 --> 00:04:54.950 align:start position:0%
that means but it sounds like some deep
[&nbsp;__&nbsp;]<00:04:53.199><c> and</c><00:04:53.360><c> it</c><00:04:53.440><c> gives</c><00:04:53.680><c> me</c><00:04:53.840><c> motivation</c>

00:04:54.950 --> 00:04:54.960 align:start position:0%
[&nbsp;__&nbsp;] and it gives me motivation
 

00:04:54.960 --> 00:04:58.310 align:start position:0%
[&nbsp;__&nbsp;] and it gives me motivation
let's<00:04:55.199><c> try</c><00:04:55.360><c> that</c><00:04:55.600><c> again</c>

00:04:58.310 --> 00:04:58.320 align:start position:0%
 
 

00:04:58.320 --> 00:05:01.510 align:start position:0%
 
easy<00:04:59.040><c> looping</c><00:04:59.759><c> complete</c><00:05:00.479><c> now</c><00:05:00.800><c> we</c><00:05:00.960><c> will</c><00:05:01.199><c> never</c>

00:05:01.510 --> 00:05:01.520 align:start position:0%
easy looping complete now we will never
 

00:05:01.520 --> 00:05:02.629 align:start position:0%
easy looping complete now we will never
run<00:05:01.759><c> out</c><00:05:01.919><c> of</c><00:05:02.080><c> pipes</c>

00:05:02.629 --> 00:05:02.639 align:start position:0%
run out of pipes
 

00:05:02.639 --> 00:05:05.029 align:start position:0%
run out of pipes
meaning<00:05:02.960><c> the</c><00:05:03.120><c> game</c><00:05:03.520><c> does</c><00:05:03.759><c> not</c><00:05:04.000><c> have</c><00:05:04.240><c> an</c><00:05:04.400><c> ending</c>

00:05:05.029 --> 00:05:05.039 align:start position:0%
meaning the game does not have an ending
 

00:05:05.039 --> 00:05:06.550 align:start position:0%
meaning the game does not have an ending
i<00:05:05.120><c> don't</c><00:05:05.280><c> think</c><00:05:05.440><c> there's</c><00:05:05.759><c> even</c><00:05:06.000><c> an</c><00:05:06.160><c> ending</c><00:05:06.479><c> in</c>

00:05:06.550 --> 00:05:06.560 align:start position:0%
i don't think there's even an ending in
 

00:05:06.560 --> 00:05:07.670 align:start position:0%
i don't think there's even an ending in
the<00:05:06.720><c> original</c><00:05:07.199><c> game</c>

00:05:07.670 --> 00:05:07.680 align:start position:0%
the original game
 

00:05:07.680 --> 00:05:09.350 align:start position:0%
the original game
but<00:05:07.840><c> that's</c><00:05:08.080><c> besides</c><00:05:08.479><c> the</c><00:05:08.560><c> point</c><00:05:09.039><c> the</c><00:05:09.199><c> next</c>

00:05:09.350 --> 00:05:09.360 align:start position:0%
but that's besides the point the next
 

00:05:09.360 --> 00:05:11.110 align:start position:0%
but that's besides the point the next
thing<00:05:09.520><c> to</c><00:05:09.680><c> do</c><00:05:09.919><c> is</c><00:05:10.080><c> to</c><00:05:10.240><c> randomize</c>

00:05:11.110 --> 00:05:11.120 align:start position:0%
thing to do is to randomize
 

00:05:11.120 --> 00:05:13.909 align:start position:0%
thing to do is to randomize
the<00:05:11.440><c> height</c><00:05:11.840><c> of</c><00:05:11.919><c> the</c><00:05:12.160><c> pipes</c><00:05:12.960><c> so</c><00:05:13.280><c> it</c><00:05:13.520><c> does</c><00:05:13.759><c> not</c>

00:05:13.909 --> 00:05:13.919 align:start position:0%
the height of the pipes so it does not
 

00:05:13.919 --> 00:05:15.590 align:start position:0%
the height of the pipes so it does not
stay<00:05:14.240><c> at</c><00:05:14.400><c> a</c><00:05:14.560><c> constant</c>

00:05:15.590 --> 00:05:15.600 align:start position:0%
stay at a constant
 

00:05:15.600 --> 00:05:17.270 align:start position:0%
stay at a constant
height<00:05:15.919><c> throughout</c><00:05:16.240><c> the</c><00:05:16.320><c> game</c><00:05:16.639><c> because</c><00:05:16.960><c> that</c>

00:05:17.270 --> 00:05:17.280 align:start position:0%
height throughout the game because that
 

00:05:17.280 --> 00:05:19.670 align:start position:0%
height throughout the game because that
that's<00:05:17.520><c> boring</c><00:05:17.919><c> and</c><00:05:18.000><c> not</c><00:05:18.240><c> challenging</c><00:05:18.800><c> at</c><00:05:18.960><c> all</c>

00:05:19.670 --> 00:05:19.680 align:start position:0%
that's boring and not challenging at all
 

00:05:19.680 --> 00:05:21.990 align:start position:0%
that's boring and not challenging at all
and<00:05:20.000><c> after</c><00:05:20.320><c> that</c><00:05:20.560><c> we'll</c><00:05:20.800><c> add</c><00:05:20.960><c> the</c><00:05:21.120><c> scoring</c>

00:05:21.990 --> 00:05:22.000 align:start position:0%
and after that we'll add the scoring
 

00:05:22.000 --> 00:05:24.070 align:start position:0%
and after that we'll add the scoring
then<00:05:22.560><c> collision</c><00:05:23.120><c> detection</c>

00:05:24.070 --> 00:05:24.080 align:start position:0%
then collision detection
 

00:05:24.080 --> 00:05:27.029 align:start position:0%
then collision detection
and<00:05:24.720><c> finally</c><00:05:25.840><c> will</c><00:05:26.160><c> make</c><00:05:26.320><c> the</c><00:05:26.560><c> game</c><00:05:26.800><c> look</c>

00:05:27.029 --> 00:05:27.039 align:start position:0%
and finally will make the game look
 

00:05:27.039 --> 00:05:27.590 align:start position:0%
and finally will make the game look
pretty

00:05:27.590 --> 00:05:27.600 align:start position:0%
pretty
 

00:05:27.600 --> 00:05:30.230 align:start position:0%
pretty
so<00:05:27.759><c> i</c><00:05:27.919><c> can</c><00:05:28.080><c> show</c><00:05:28.320><c> off</c><00:05:28.479><c> my</c><00:05:28.720><c> artistic</c><00:05:29.280><c> skills</c>

00:05:30.230 --> 00:05:30.240 align:start position:0%
so i can show off my artistic skills
 

00:05:30.240 --> 00:05:30.790 align:start position:0%
so i can show off my artistic skills
filming

00:05:30.790 --> 00:05:30.800 align:start position:0%
filming
 

00:05:30.800 --> 00:05:34.390 align:start position:0%
filming
2<00:05:31.520><c> 000</c><00:05:32.000><c> years</c><00:05:32.800><c> later</c><00:05:33.520><c> i</c><00:05:33.600><c> went</c><00:05:33.840><c> along</c><00:05:34.160><c> and</c><00:05:34.240><c> did</c>

00:05:34.390 --> 00:05:34.400 align:start position:0%
2 000 years later i went along and did
 

00:05:34.400 --> 00:05:35.749 align:start position:0%
2 000 years later i went along and did
the<00:05:34.560><c> first</c><00:05:34.800><c> two</c><00:05:35.039><c> tasks</c>

00:05:35.749 --> 00:05:35.759 align:start position:0%
the first two tasks
 

00:05:35.759 --> 00:05:37.909 align:start position:0%
the first two tasks
randomizing<00:05:36.400><c> the</c><00:05:36.479><c> pipes</c><00:05:36.800><c> were</c><00:05:36.960><c> pretty</c><00:05:37.199><c> simple</c>

00:05:37.909 --> 00:05:37.919 align:start position:0%
randomizing the pipes were pretty simple
 

00:05:37.919 --> 00:05:39.830 align:start position:0%
randomizing the pipes were pretty simple
after<00:05:38.160><c> a</c><00:05:38.320><c> pipe</c><00:05:38.560><c> pair</c><00:05:38.800><c> gets</c><00:05:38.960><c> respawned</c>

00:05:39.830 --> 00:05:39.840 align:start position:0%
after a pipe pair gets respawned
 

00:05:39.840 --> 00:05:41.430 align:start position:0%
after a pipe pair gets respawned
the<00:05:40.080><c> height</c><00:05:40.320><c> will</c><00:05:40.560><c> automatically</c><00:05:41.199><c> be</c>

00:05:41.430 --> 00:05:41.440 align:start position:0%
the height will automatically be
 

00:05:41.440 --> 00:05:45.029 align:start position:0%
the height will automatically be
randomized<00:05:42.160><c> between</c><00:05:42.639><c> 54</c><00:05:43.280><c> and</c><00:05:43.440><c> 221</c><00:05:44.160><c> pixels</c>

00:05:45.029 --> 00:05:45.039 align:start position:0%
randomized between 54 and 221 pixels
 

00:05:45.039 --> 00:05:46.950 align:start position:0%
randomized between 54 and 221 pixels
and<00:05:45.280><c> as</c><00:05:45.440><c> for</c><00:05:45.600><c> the</c><00:05:45.759><c> scoring</c><00:05:46.320><c> would</c><00:05:46.479><c> you</c><00:05:46.639><c> like</c><00:05:46.800><c> me</c>

00:05:46.950 --> 00:05:46.960 align:start position:0%
and as for the scoring would you like me
 

00:05:46.960 --> 00:05:48.070 align:start position:0%
and as for the scoring would you like me
to<00:05:47.120><c> explain</c><00:05:47.680><c> how</c>

00:05:48.070 --> 00:05:48.080 align:start position:0%
to explain how
 

00:05:48.080 --> 00:05:49.909 align:start position:0%
to explain how
nah<00:05:48.320><c> bruh</c><00:05:48.720><c> just</c><00:05:48.880><c> go</c><00:05:49.039><c> along</c><00:05:49.360><c> with</c><00:05:49.520><c> the</c><00:05:49.600><c> video</c>

00:05:49.909 --> 00:05:49.919 align:start position:0%
nah bruh just go along with the video
 

00:05:49.919 --> 00:05:51.590 align:start position:0%
nah bruh just go along with the video
alright<00:05:50.240><c> i</c><00:05:50.320><c> got</c><00:05:50.479><c> you</c><00:05:50.639><c> say</c><00:05:50.880><c> less</c><00:05:51.199><c> so</c><00:05:51.360><c> you</c><00:05:51.440><c> got</c>

00:05:51.590 --> 00:05:51.600 align:start position:0%
alright i got you say less so you got
 

00:05:51.600 --> 00:05:53.189 align:start position:0%
alright i got you say less so you got
your<00:05:51.759><c> player</c><00:05:52.080><c> and</c><00:05:52.240><c> it</c><00:05:52.320><c> has</c><00:05:52.479><c> an</c><00:05:52.639><c> x</c><00:05:52.880><c> and</c><00:05:52.960><c> y</c>

00:05:53.189 --> 00:05:53.199 align:start position:0%
your player and it has an x and y
 

00:05:53.199 --> 00:05:55.270 align:start position:0%
your player and it has an x and y
position<00:05:53.759><c> it's</c><00:05:54.000><c> located</c><00:05:54.400><c> right</c><00:05:54.720><c> there</c>

00:05:55.270 --> 00:05:55.280 align:start position:0%
position it's located right there
 

00:05:55.280 --> 00:05:56.790 align:start position:0%
position it's located right there
x<00:05:55.520><c> values</c><00:05:55.919><c> increase</c><00:05:56.240><c> when</c><00:05:56.400><c> you</c><00:05:56.479><c> go</c><00:05:56.639><c> to</c><00:05:56.720><c> the</c>

00:05:56.790 --> 00:05:56.800 align:start position:0%
x values increase when you go to the
 

00:05:56.800 --> 00:05:58.710 align:start position:0%
x values increase when you go to the
right<00:05:57.039><c> and</c><00:05:57.199><c> y</c><00:05:57.440><c> values</c><00:05:57.840><c> increase</c><00:05:58.240><c> when</c><00:05:58.400><c> you</c><00:05:58.479><c> go</c>

00:05:58.710 --> 00:05:58.720 align:start position:0%
right and y values increase when you go
 

00:05:58.720 --> 00:05:59.189 align:start position:0%
right and y values increase when you go
down

00:05:59.189 --> 00:05:59.199 align:start position:0%
down
 

00:05:59.199 --> 00:06:01.110 align:start position:0%
down
the<00:05:59.360><c> player</c><00:05:59.759><c> also</c><00:05:59.919><c> has</c><00:06:00.160><c> a</c><00:06:00.240><c> width</c><00:06:00.560><c> and</c><00:06:00.639><c> a</c><00:06:00.800><c> height</c>

00:06:01.110 --> 00:06:01.120 align:start position:0%
the player also has a width and a height
 

00:06:01.120 --> 00:06:03.350 align:start position:0%
the player also has a width and a height
the<00:06:01.199><c> same</c><00:06:01.520><c> rules</c><00:06:01.840><c> also</c><00:06:02.160><c> apply</c><00:06:02.479><c> for</c><00:06:02.639><c> the</c><00:06:02.800><c> pipes</c>

00:06:03.350 --> 00:06:03.360 align:start position:0%
the same rules also apply for the pipes
 

00:06:03.360 --> 00:06:05.029 align:start position:0%
the same rules also apply for the pipes
to<00:06:03.520><c> get</c><00:06:03.680><c> a</c><00:06:03.759><c> score</c><00:06:04.080><c> we</c><00:06:04.160><c> need</c><00:06:04.319><c> the</c><00:06:04.479><c> player</c><00:06:04.720><c> to</c><00:06:04.880><c> go</c>

00:06:05.029 --> 00:06:05.039 align:start position:0%
to get a score we need the player to go
 

00:06:05.039 --> 00:06:06.390 align:start position:0%
to get a score we need the player to go
through<00:06:05.280><c> the</c><00:06:05.440><c> pipes</c><00:06:05.759><c> but</c><00:06:05.919><c> we</c><00:06:06.000><c> need</c><00:06:06.160><c> to</c><00:06:06.240><c> say</c>

00:06:06.390 --> 00:06:06.400 align:start position:0%
through the pipes but we need to say
 

00:06:06.400 --> 00:06:07.590 align:start position:0%
through the pipes but we need to say
that<00:06:06.560><c> in</c><00:06:06.639><c> a</c><00:06:06.720><c> way</c><00:06:06.960><c> the</c><00:06:07.039><c> computer</c><00:06:07.440><c> can</c>

00:06:07.590 --> 00:06:07.600 align:start position:0%
that in a way the computer can
 

00:06:07.600 --> 00:06:08.309 align:start position:0%
that in a way the computer can
understand

00:06:08.309 --> 00:06:08.319 align:start position:0%
understand
 

00:06:08.319 --> 00:06:10.550 align:start position:0%
understand
and<00:06:08.560><c> that</c><00:06:08.800><c> is</c><00:06:08.960><c> the</c><00:06:09.120><c> player's</c><00:06:09.600><c> x</c><00:06:09.840><c> positions</c>

00:06:10.550 --> 00:06:10.560 align:start position:0%
and that is the player's x positions
 

00:06:10.560 --> 00:06:12.230 align:start position:0%
and that is the player's x positions
need<00:06:10.720><c> to</c><00:06:10.880><c> be</c><00:06:11.039><c> greater</c><00:06:11.280><c> than</c><00:06:11.520><c> the</c><00:06:11.600><c> pipe's</c><00:06:12.000><c> x</c>

00:06:12.230 --> 00:06:12.240 align:start position:0%
need to be greater than the pipe's x
 

00:06:12.240 --> 00:06:13.110 align:start position:0%
need to be greater than the pipe's x
position<00:06:12.720><c> plus</c>

00:06:13.110 --> 00:06:13.120 align:start position:0%
position plus
 

00:06:13.120 --> 00:06:15.110 align:start position:0%
position plus
its<00:06:13.360><c> width</c><00:06:13.919><c> and</c><00:06:14.080><c> that</c><00:06:14.240><c> will</c><00:06:14.479><c> happen</c><00:06:14.800><c> when</c><00:06:14.960><c> the</c>

00:06:15.110 --> 00:06:15.120 align:start position:0%
its width and that will happen when the
 

00:06:15.120 --> 00:06:16.230 align:start position:0%
its width and that will happen when the
player<00:06:15.440><c> passes</c><00:06:15.840><c> this</c>

00:06:16.230 --> 00:06:16.240 align:start position:0%
player passes this
 

00:06:16.240 --> 00:06:18.550 align:start position:0%
player passes this
line<00:06:16.960><c> alright</c><00:06:17.360><c> next</c><00:06:17.759><c> up</c><00:06:17.919><c> is</c><00:06:18.080><c> to</c><00:06:18.240><c> check</c><00:06:18.400><c> when</c>

00:06:18.550 --> 00:06:18.560 align:start position:0%
line alright next up is to check when
 

00:06:18.560 --> 00:06:19.990 align:start position:0%
line alright next up is to check when
the<00:06:18.720><c> player</c><00:06:19.039><c> is</c><00:06:19.199><c> colliding</c><00:06:19.600><c> with</c><00:06:19.759><c> the</c>

00:06:19.990 --> 00:06:20.000 align:start position:0%
the player is colliding with the
 

00:06:20.000 --> 00:06:22.150 align:start position:0%
the player is colliding with the
pipes<00:06:20.720><c> in</c><00:06:20.880><c> other</c><00:06:21.120><c> words</c><00:06:21.440><c> we</c><00:06:21.520><c> need</c><00:06:21.680><c> to</c><00:06:21.840><c> check</c>

00:06:22.150 --> 00:06:22.160 align:start position:0%
pipes in other words we need to check
 

00:06:22.160 --> 00:06:23.430 align:start position:0%
pipes in other words we need to check
when<00:06:22.319><c> they</c><00:06:22.560><c> overlap</c>

00:06:23.430 --> 00:06:23.440 align:start position:0%
when they overlap
 

00:06:23.440 --> 00:06:25.350 align:start position:0%
when they overlap
we'll<00:06:23.680><c> use</c><00:06:23.919><c> this</c><00:06:24.080><c> neat</c><00:06:24.319><c> little</c><00:06:24.639><c> algorithm</c>

00:06:25.350 --> 00:06:25.360 align:start position:0%
we'll use this neat little algorithm
 

00:06:25.360 --> 00:06:26.629 align:start position:0%
we'll use this neat little algorithm
called<00:06:25.680><c> aabb</c>

00:06:26.629 --> 00:06:26.639 align:start position:0%
called aabb
 

00:06:26.639 --> 00:06:29.270 align:start position:0%
called aabb
collision<00:06:27.039><c> detection</c><00:06:28.000><c> or</c><00:06:28.319><c> axis</c><00:06:28.800><c> align</c>

00:06:29.270 --> 00:06:29.280 align:start position:0%
collision detection or axis align
 

00:06:29.280 --> 00:06:30.550 align:start position:0%
collision detection or axis align
bounding<00:06:29.759><c> boxes</c>

00:06:30.550 --> 00:06:30.560 align:start position:0%
bounding boxes
 

00:06:30.560 --> 00:06:32.550 align:start position:0%
bounding boxes
it<00:06:30.720><c> might</c><00:06:30.960><c> sound</c><00:06:31.199><c> a</c><00:06:31.280><c> bit</c><00:06:31.520><c> scary</c><00:06:32.000><c> so</c><00:06:32.240><c> i'll</c>

00:06:32.550 --> 00:06:32.560 align:start position:0%
it might sound a bit scary so i'll
 

00:06:32.560 --> 00:06:34.870 align:start position:0%
it might sound a bit scary so i'll
inform<00:06:32.880><c> you</c><00:06:33.520><c> so</c><00:06:33.680><c> go</c><00:06:33.840><c> to</c><00:06:34.000><c> google</c><00:06:34.400><c> and</c><00:06:34.560><c> type</c>

00:06:34.870 --> 00:06:34.880 align:start position:0%
inform you so go to google and type
 

00:06:34.880 --> 00:06:37.189 align:start position:0%
inform you so go to google and type
access<00:06:35.280><c> align</c><00:06:35.759><c> bounding</c><00:06:36.160><c> boxes</c>

00:06:37.189 --> 00:06:37.199 align:start position:0%
access align bounding boxes
 

00:06:37.199 --> 00:06:39.270 align:start position:0%
access align bounding boxes
and<00:06:37.280><c> why</c><00:06:37.520><c> don't</c><00:06:37.680><c> you</c><00:06:37.919><c> look</c><00:06:38.080><c> at</c><00:06:38.160><c> that</c><00:06:38.720><c> just</c><00:06:38.960><c> free</c>

00:06:39.270 --> 00:06:39.280 align:start position:0%
and why don't you look at that just free
 

00:06:39.280 --> 00:06:41.510 align:start position:0%
and why don't you look at that just free
information<00:06:39.919><c> waiting</c><00:06:40.240><c> to</c><00:06:40.400><c> be</c><00:06:40.639><c> learned</c>

00:06:41.510 --> 00:06:41.520 align:start position:0%
information waiting to be learned
 

00:06:41.520 --> 00:06:43.350 align:start position:0%
information waiting to be learned
go<00:06:41.680><c> knock</c><00:06:41.919><c> yourself</c><00:06:42.319><c> out</c><00:06:42.639><c> go</c><00:06:42.880><c> get</c><00:06:43.039><c> yourself</c>

00:06:43.350 --> 00:06:43.360 align:start position:0%
go knock yourself out go get yourself
 

00:06:43.360 --> 00:06:44.870 align:start position:0%
go knock yourself out go get yourself
some<00:06:43.680><c> knowledge</c>

00:06:44.870 --> 00:06:44.880 align:start position:0%
some knowledge
 

00:06:44.880 --> 00:06:46.710 align:start position:0%
some knowledge
i've<00:06:45.120><c> made</c><00:06:45.360><c> it</c><00:06:45.440><c> so</c><00:06:45.600><c> that</c><00:06:45.759><c> when</c><00:06:45.919><c> you</c><00:06:46.000><c> hit</c><00:06:46.240><c> a</c><00:06:46.400><c> pipe</c>

00:06:46.710 --> 00:06:46.720 align:start position:0%
i've made it so that when you hit a pipe
 

00:06:46.720 --> 00:06:47.990 align:start position:0%
i've made it so that when you hit a pipe
the<00:06:46.880><c> game</c><00:06:47.120><c> will</c><00:06:47.360><c> automatically</c>

00:06:47.990 --> 00:06:48.000 align:start position:0%
the game will automatically
 

00:06:48.000 --> 00:06:49.830 align:start position:0%
the game will automatically
restart<00:06:48.639><c> but</c><00:06:48.880><c> it</c><00:06:48.960><c> looks</c><00:06:49.199><c> like</c><00:06:49.440><c> all</c><00:06:49.599><c> of</c><00:06:49.680><c> the</c>

00:06:49.830 --> 00:06:49.840 align:start position:0%
restart but it looks like all of the
 

00:06:49.840 --> 00:06:51.270 align:start position:0%
restart but it looks like all of the
functionalities<00:06:50.639><c> are</c><00:06:50.720><c> complete</c>

00:06:51.270 --> 00:06:51.280 align:start position:0%
functionalities are complete
 

00:06:51.280 --> 00:07:02.150 align:start position:0%
functionalities are complete
it's<00:06:51.440><c> time</c><00:06:51.759><c> to</c><00:06:51.919><c> get</c><00:07:00.840><c> drawing</c>

00:07:02.150 --> 00:07:02.160 align:start position:0%
it's time to get drawing
 

00:07:02.160 --> 00:07:28.830 align:start position:0%
it's time to get drawing
[Music]

00:07:28.830 --> 00:07:28.840 align:start position:0%
[Music]
 

00:07:28.840 --> 00:07:35.380 align:start position:0%
[Music]
more

00:07:35.380 --> 00:07:35.390 align:start position:0%
 
 

00:07:35.390 --> 00:07:54.850 align:start position:0%
 
[Music]

00:07:54.850 --> 00:07:54.860 align:start position:0%
 
 

00:07:54.860 --> 00:08:09.749 align:start position:0%
 
[Music]

00:08:09.749 --> 00:08:09.759 align:start position:0%
[Music]
 

00:08:09.759 --> 00:08:11.830 align:start position:0%
[Music]
and<00:08:09.919><c> with</c><00:08:10.240><c> that</c><00:08:10.560><c> ladies</c><00:08:10.960><c> and</c><00:08:11.120><c> gents</c>

00:08:11.830 --> 00:08:11.840 align:start position:0%
and with that ladies and gents
 

00:08:11.840 --> 00:08:13.189 align:start position:0%
and with that ladies and gents
everything<00:08:12.319><c> is</c><00:08:12.400><c> complete</c>

00:08:13.189 --> 00:08:13.199 align:start position:0%
everything is complete
 

00:08:13.199 --> 00:08:15.189 align:start position:0%
everything is complete
it<00:08:13.360><c> was</c><00:08:13.599><c> hell</c><00:08:13.919><c> and</c><00:08:14.080><c> putting</c><00:08:14.319><c> the</c><00:08:14.560><c> images</c><00:08:14.960><c> into</c>

00:08:15.189 --> 00:08:15.199 align:start position:0%
it was hell and putting the images into
 

00:08:15.199 --> 00:08:17.029 align:start position:0%
it was hell and putting the images into
the<00:08:15.280><c> game</c><00:08:15.680><c> especially</c><00:08:16.400><c> the</c><00:08:16.560><c> pipes</c>

00:08:17.029 --> 00:08:17.039 align:start position:0%
the game especially the pipes
 

00:08:17.039 --> 00:08:18.710 align:start position:0%
the game especially the pipes
the<00:08:17.199><c> only</c><00:08:17.440><c> thing</c><00:08:17.599><c> i</c><00:08:17.759><c> didn't</c><00:08:18.080><c> draw</c><00:08:18.400><c> was</c><00:08:18.639><c> the</c>

00:08:18.710 --> 00:08:18.720 align:start position:0%
the only thing i didn't draw was the
 

00:08:18.720 --> 00:08:20.950 align:start position:0%
the only thing i didn't draw was the
ground<00:08:19.120><c> because</c><00:08:19.840><c> i</c><00:08:20.000><c> couldn't</c><00:08:20.240><c> be</c><00:08:20.400><c> bothered</c>

00:08:20.950 --> 00:08:20.960 align:start position:0%
ground because i couldn't be bothered
 

00:08:20.960 --> 00:08:23.189 align:start position:0%
ground because i couldn't be bothered
there<00:08:21.120><c> would</c><00:08:21.360><c> barely</c><00:08:21.759><c> be</c><00:08:22.000><c> any</c><00:08:22.240><c> difference</c><00:08:23.039><c> if</c>

00:08:23.189 --> 00:08:23.199 align:start position:0%
there would barely be any difference if
 

00:08:23.199 --> 00:08:24.710 align:start position:0%
there would barely be any difference if
i<00:08:23.280><c> did</c><00:08:23.520><c> draw</c><00:08:23.840><c> it</c><00:08:24.000><c> but</c><00:08:24.240><c> anyway</c>

00:08:24.710 --> 00:08:24.720 align:start position:0%
i did draw it but anyway
 

00:08:24.720 --> 00:08:27.270 align:start position:0%
i did draw it but anyway
it's<00:08:24.960><c> time</c><00:08:25.280><c> to</c><00:08:25.360><c> reveal</c><00:08:25.759><c> the</c><00:08:26.000><c> final</c><00:08:26.400><c> product</c>

00:08:27.270 --> 00:08:27.280 align:start position:0%
it's time to reveal the final product
 

00:08:27.280 --> 00:08:28.810 align:start position:0%
it's time to reveal the final product
drum<00:08:27.599><c> roll</c><00:08:27.919><c> please</c>

00:08:28.810 --> 00:08:28.820 align:start position:0%
drum roll please
 

00:08:28.820 --> 00:08:32.949 align:start position:0%
drum roll please
[Music]

00:08:32.949 --> 00:08:32.959 align:start position:0%
 
 

00:08:32.959 --> 00:08:37.909 align:start position:0%
 
and<00:08:33.200><c> voila</c><00:08:34.240><c> it's</c><00:08:34.479><c> flappy</c><00:08:34.880><c> bird</c>

00:08:37.909 --> 00:08:37.919 align:start position:0%
 
 

00:08:37.919 --> 00:08:40.070 align:start position:0%
 
this<00:08:38.159><c> is</c><00:08:38.240><c> some</c><00:08:38.560><c> off-brand</c><00:08:39.279><c> looking</c><00:08:39.680><c> flappy</c>

00:08:40.070 --> 00:08:40.080 align:start position:0%
this is some off-brand looking flappy
 

00:08:40.080 --> 00:08:41.430 align:start position:0%
this is some off-brand looking flappy
bird<00:08:40.719><c> this</c><00:08:40.959><c> is</c>

00:08:41.430 --> 00:08:41.440 align:start position:0%
bird this is
 

00:08:41.440 --> 00:08:44.310 align:start position:0%
bird this is
we<00:08:41.599><c> got</c><00:08:41.839><c> flappy</c><00:08:42.240><c> bird</c><00:08:42.640><c> at</c><00:08:42.880><c> home</c><00:08:43.680><c> well</c><00:08:44.000><c> it</c><00:08:44.159><c> more</c>

00:08:44.310 --> 00:08:44.320 align:start position:0%
we got flappy bird at home well it more
 

00:08:44.320 --> 00:08:44.949 align:start position:0%
we got flappy bird at home well it more
or<00:08:44.480><c> less</c>

00:08:44.949 --> 00:08:44.959 align:start position:0%
or less
 

00:08:44.959 --> 00:08:47.430 align:start position:0%
or less
looks<00:08:45.440><c> and</c><00:08:45.680><c> acts</c><00:08:46.080><c> the</c><00:08:46.240><c> same</c><00:08:46.480><c> as</c><00:08:46.640><c> the</c><00:08:46.800><c> original</c>

00:08:47.430 --> 00:08:47.440 align:start position:0%
looks and acts the same as the original
 

00:08:47.440 --> 00:08:49.750 align:start position:0%
looks and acts the same as the original
right<00:08:47.920><c> oh</c><00:08:48.160><c> yeah</c><00:08:48.399><c> i</c><00:08:48.560><c> also</c><00:08:48.800><c> added</c><00:08:49.120><c> sound</c><00:08:49.360><c> effects</c>

00:08:49.750 --> 00:08:49.760 align:start position:0%
right oh yeah i also added sound effects
 

00:08:49.760 --> 00:08:50.630 align:start position:0%
right oh yeah i also added sound effects
so<00:08:49.920><c> i</c><00:08:50.000><c> thought</c>

00:08:50.630 --> 00:08:50.640 align:start position:0%
so i thought
 

00:08:50.640 --> 00:08:52.710 align:start position:0%
so i thought
i<00:08:50.800><c> should</c><00:08:50.959><c> mention</c><00:08:51.279><c> that</c><00:08:51.839><c> but</c><00:08:52.080><c> all</c><00:08:52.320><c> in</c><00:08:52.480><c> all</c>

00:08:52.710 --> 00:08:52.720 align:start position:0%
i should mention that but all in all
 

00:08:52.720 --> 00:08:54.870 align:start position:0%
i should mention that but all in all
this<00:08:52.959><c> was</c><00:08:53.200><c> fun</c><00:08:53.519><c> and</c><00:08:53.680><c> i</c><00:08:53.839><c> enjoyed</c><00:08:54.160><c> working</c><00:08:54.480><c> on</c><00:08:54.640><c> it</c>

00:08:54.870 --> 00:08:54.880 align:start position:0%
this was fun and i enjoyed working on it
 

00:08:54.880 --> 00:08:55.910 align:start position:0%
this was fun and i enjoyed working on it
and<00:08:55.040><c> i</c><00:08:55.200><c> hope</c><00:08:55.440><c> you</c>

00:08:55.910 --> 00:08:55.920 align:start position:0%
and i hope you
 

00:08:55.920 --> 00:08:58.470 align:start position:0%
and i hope you
enjoyed<00:08:56.240><c> this</c><00:08:56.480><c> also</c><00:08:57.279><c> i'll</c><00:08:57.519><c> see</c><00:08:57.760><c> you</c><00:08:58.000><c> again</c><00:08:58.320><c> in</c>

00:08:58.470 --> 00:08:58.480 align:start position:0%
enjoyed this also i'll see you again in
 

00:08:58.480 --> 00:08:59.910 align:start position:0%
enjoyed this also i'll see you again in
the<00:08:58.560><c> next</c><00:08:58.880><c> month</c><00:08:59.120><c> or</c><00:08:59.279><c> two</c>

00:08:59.910 --> 00:08:59.920 align:start position:0%
the next month or two
 

00:08:59.920 --> 00:09:03.590 align:start position:0%
the next month or two
or<00:09:00.160><c> three</c><00:09:00.959><c> or</c><00:09:01.360><c> four</c><00:09:02.000><c> or</c><00:09:02.240><c> five</c><00:09:02.640><c> i'll</c><00:09:02.959><c> see</c><00:09:03.200><c> you</c>

00:09:03.590 --> 00:09:03.600 align:start position:0%
or three or four or five i'll see you
 

00:09:03.600 --> 00:09:11.400 align:start position:0%
or three or four or five i'll see you
when<00:09:03.839><c> i</c><00:09:03.920><c> see</c><00:09:04.160><c> you</c><00:09:06.839><c> bye</c>

00:09:11.400 --> 00:09:11.410 align:start position:0%
 
 

00:09:11.410 --> 00:09:19.670 align:start position:0%
 
[Music]

00:09:19.670 --> 00:09:19.680 align:start position:0%
 
 

00:09:19.680 --> 00:09:21.760 align:start position:0%
 
you

