Noob learns to code in 3 months
Re: Noob learns to code in 3 months
No branches, only dreams now.
Each tutorial has important commits tagged (usually the end of the tutorial commit). You just create a branch at the commit you're interested in, using the tags as guideposts.
Each tutorial has important commits tagged (usually the end of the tutorial commit). You just create a branch at the commit you're interested in, using the tags as guideposts.
Chili
Re: Noob learns to code in 3 months
Yeah figured it out
Had nothing to do at school today so watched 10, 11 and 12. Just watched them through without pausing to get the idea. Found these really interesting so decided just watching through them once and then watch each of them more carefully would be a good idea.
rewatched 10, didn't code along because I wanted to make it more of a challenge afterwards. But cheated a bit by writing down a guideline which I peaked at while coding. Will try to do it all over again without the guideline before moving on to 11.
guideline
Had nothing to do at school today so watched 10, 11 and 12. Just watched them through without pausing to get the idea. Found these really interesting so decided just watching through them once and then watch each of them more carefully would be a good idea.
rewatched 10, didn't code along because I wanted to make it more of a challenge afterwards. But cheated a bit by writing down a guideline which I peaked at while coding. Will try to do it all over again without the guideline before moving on to 11.
guideline
Spoiler:
Re: Noob learns to code in 3 months
Success!
Took a break for a few hours before trying to write the code without any cheating. Took the break so everything wouldn't be superfresh in my mind and me just remembering exactly what I needed to do. This way I had to think a bit more what I needed.
Decided to record it because 1. I'm a nerd and enjoy watching speedcoding and 2. I felt like recording it helped me not get tempted to cheat.
here's me doing the "challenge" in 8x speed.
https://www.youtube.com/watch?v=z-vtupqvbFI
will have a closer look at 11 and maybe 12 tomorrow unless I get a bunch of school stuff to do.
Took a break for a few hours before trying to write the code without any cheating. Took the break so everything wouldn't be superfresh in my mind and me just remembering exactly what I needed to do. This way I had to think a bit more what I needed.
Decided to record it because 1. I'm a nerd and enjoy watching speedcoding and 2. I felt like recording it helped me not get tempted to cheat.
here's me doing the "challenge" in 8x speed.
https://www.youtube.com/watch?v=z-vtupqvbFI
will have a closer look at 11 and maybe 12 tomorrow unless I get a bunch of school stuff to do.
Re: Noob learns to code in 3 months
11, 12, and 13 (maybe not 13) should be a bit of deja-vu for you considering that you had this stuff in your Shoot-Em-Up balls game. Though it's nice to see exactly where all that Surface and sprite routine comes from and the entire process of its creation, isn't it?
The timelapse coding looks cool, music suits!
14 is gonna teach how to make your own template classes and template functions. Good shit.
The timelapse coding looks cool, music suits!
14 is gonna teach how to make your own template classes and template functions. Good shit.
Chili
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Noob learns to code in 3 months
Are you going to cover template specialization?chili wrote:11, 12, and 13 (maybe not 13) should be a bit of deja-vu for you considering that you had this stuff in your Shoot-Em-Up balls game. Though it's nice to see exactly where all that Surface and sprite routine comes from and the entire process of its creation, isn't it?
The timelapse coding looks cool, music suits!
14 is gonna teach how to make your own template classes and template functions. Good shit.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
Re: Noob learns to code in 3 months
Yes and no. The thing with sprite sheets and just drawing parts of the picture was new to me.chili wrote:11, 12, and 13 (maybe not 13) should be a bit of deja-vu for you considering that you had this stuff in your Shoot-Em-Up balls game. Though it's nice to see exactly where all that Surface and sprite routine comes from and the entire process of its creation, isn't it?
The timelapse coding looks cool, music suits!
14 is gonna teach how to make your own template classes and template functions. Good shit.
Also back then I didn't really understand how to animation class worked, just used it.
Glad you liked the timelapse because I made an other one! haha. This one is long and nobody should watch it unless they're bored and have too much time on their hands or are into the music.
I had nothing to do so made another challenge to do everything from loading bitmaps to animated sprites without cheating. Had a little trouble along the way but went alright, took a bit more than 2 hours.
Don't worry, these recordings wont become a regular thing (probably last one)
https://www.youtube.com/watch?v=awTOLUh2raI
Will watch 13 tomorrow, then do maths for a while
Re: Noob learns to code in 3 months
Not in the introduction to templates. Information overload is seldom a good thingalbinopapa wrote:Are you going to cover template specialization?chili wrote:11, 12, and 13 (maybe not 13) should be a bit of deja-vu for you considering that you had this stuff in your Shoot-Em-Up balls game. Though it's nice to see exactly where all that Surface and sprite routine comes from and the entire process of its creation, isn't it?
The timelapse coding looks cool, music suits!
14 is gonna teach how to make your own template classes and template functions. Good shit.
Chili
Re: Noob learns to code in 3 months
Hey, I noticed that around 1:00 in that clip you wrote assignment operator. What happens when you do the following:Yumtard wrote:Success!
Took a break for a few hours before trying to write the code without any cheating. Took the break so everything wouldn't be superfresh in my mind and me just remembering exactly what I needed to do. This way I had to think a bit more what I needed.
Decided to record it because 1. I'm a nerd and enjoy watching speedcoding and 2. I felt like recording it helped me not get tempted to cheat.
here's me doing the "challenge" in 8x speed.
https://www.youtube.com/watch?v=z-vtupqvbFI
will have a closer look at 11 and maybe 12 tomorrow unless I get a bunch of school stuff to do.
Surface a ("anyfilename.bmp");
a = a;
The universe will blow ^^
Check this: https://isocpp.org/wiki/faq/assignment-operators
Btw: I love your idea about not being tempted to cheat!
Re: Noob learns to code in 3 months
Yeah I mention that case on the wiki page. Should have covered it in the tutorial but forgot about it!Chrajdal wrote:Hey, I noticed that around 1:00 in that clip you wrote assignment operator. What happens when you do the following:Yumtard wrote:Success!
Took a break for a few hours before trying to write the code without any cheating. Took the break so everything wouldn't be superfresh in my mind and me just remembering exactly what I needed to do. This way I had to think a bit more what I needed.
Decided to record it because 1. I'm a nerd and enjoy watching speedcoding and 2. I felt like recording it helped me not get tempted to cheat.
here's me doing the "challenge" in 8x speed.
https://www.youtube.com/watch?v=z-vtupqvbFI
will have a closer look at 11 and maybe 12 tomorrow unless I get a bunch of school stuff to do.
Surface a ("anyfilename.bmp");
a = a;
The universe will blow ^^
Check this: https://isocpp.org/wiki/faq/assignment-operators
Btw: I love your idea about not being tempted to cheat!
Chili
Re: Noob learns to code in 3 months
interesting! Never considered self assignment