Page 1 of 3

Lesson 8 Crap

Posted: January 17th, 2012, 1:48 pm
by chili
Here is the crap you need for Lesson 8.

Re: Lesson 8 Crap

Posted: January 17th, 2012, 4:24 pm
by chili
Finished recording... 1hour 20min :shock:

Editing and uploading tomorrow after work. Now is bedtimez...

Re: Lesson 8 Crap

Posted: January 17th, 2012, 9:53 pm
by Natox
chili wrote:Finished recording... 1hour 20min :shock:

Editing and uploading tomorrow after work. Now is bedtimez...
Oh yeah! Can't wait for it mate... hurry!!!!! :lol:

I'm so curious about the way you inplement those images... :)

Re: Lesson 8 Crap

Posted: January 18th, 2012, 4:17 pm
by chili
Finally finished. So. Many. Interruptions.
Natox wrote:I'm so curious about the way you inplement those images...
I'm afraid you might be disappointed because it is essentially the same technique used for the reticle. I just prepared the PutPixel() code for you guys in .txt form so we could use some more interesting graphics for our first "game".

If you want to know how I generated the PutPixel() calls for those sprites, you can take a look at the vc++ project which I will attach to this post. It's a very simple console application that reads in a .bmp file and outputs c++ source code for the PutPixel() calls in a text file.

Just note that I provide this for your curiousity's sake only, and I'm not going to explain how to use it or how it works because we aren't really at that stage yet in terms of the tutorials. Eventually you should be able to take a quick look at this source code and grasp exactly what it does and how it does it, even out of context.

Re: Lesson 8 Crap

Posted: January 18th, 2012, 6:19 pm
by Natox
Not disappointed at all mate...
I did not mean a straight .bmp 'call' line... :-)
This method actually did not surprise me!
Thanks for the file attachment though, I'll have a look at it!

Re: Lesson 8 Crap

Posted: January 19th, 2012, 3:25 pm
by chili
Once we learn about loops and arrays we'll dispence with hard-coded PutPixel() calls and just load the images directly into memory and draw them from there. But that's still a few lessons in the future.

For the next few lessons we're going to set aside sprites and do something a little different. 8-)

Re: Lesson 8 Crap

Posted: January 19th, 2012, 7:57 pm
by Natox
really cool mate, looking forward to it alot!

Re: Lesson 8 Crap

Posted: August 6th, 2012, 9:26 pm
by LionSam
If there is some one out there that can't eat the poo ( that sounds weird ), i think the problem is at the bottom of the code, at least for me it was, just delete DrawPoo ( poo1X, poo1Y); DrawPoo ( poo2X, poo2Y); DrawPoo (poo3X,poo3Y); and you can now eat it :) yum yum.

And for you my dear mentor i am glad that you are such an awesome guy and are making this tutorials for us mere mortals. ♥ U


Off Topic:
"
I have just 3 questions:
- is it better to learn C++ before C++ directX programing tutorial
- is there a difference between C++, C++ directX and C++ OpenGL.
- can you make a video about basic steps in making a game, make it for dummies like me with drawings and stuff ???
I know that this is a hard question just like "Q:What is the meaning of life? A:24!"
"

Re: Lesson 8 Crap

Posted: August 8th, 2012, 6:00 am
by SquareMan
Ignoring the fact that this is a big necro-post

1. In these tutorials he teaches you the basics of c++ first, for complete beginners
2. The difference between "c++ directX" and "c++ OpenGL" is that they are both different APIs(Application Programming Interface) that you code with inside of c++
4. TO MAKE GAMEZ

EDIT: also OpenGL is cross-platform for linux and mac and can be worked with inside Java as well

Re: Lesson 8 Crap

Posted: August 30th, 2012, 1:05 pm
by ComplyMusic
Great job Chilli! You are a fucking legend! Don't take shit from anyone! Except your own. P.s this lesson took me about 2 days to find on your website. High times. <3