Lesson 8 Crap
Lesson 8 Crap
Here is the crap you need for Lesson 8.
- Attachments
-
- poo (24x24).txt
- (9.02 KiB) Downloaded 3442 times
-
- game_over (84x64).txt
- (83.22 KiB) Downloaded 3357 times
-
- face (20x20).txt
- (12.42 KiB) Downloaded 3585 times
Chili
Re: Lesson 8 Crap
Finished recording... 1hour 20min
Editing and uploading tomorrow after work. Now is bedtimez...
Editing and uploading tomorrow after work. Now is bedtimez...
Chili
Re: Lesson 8 Crap
Oh yeah! Can't wait for it mate... hurry!!!!!chili wrote:Finished recording... 1hour 20min
Editing and uploading tomorrow after work. Now is bedtimez...
I'm so curious about the way you inplement those images...
My Weblog: http://www.gamer-bay.com/
Keep track of my learning progress on the C++ programming language.
Keep track of my learning progress on the C++ programming language.
Re: Lesson 8 Crap
Finally finished. So. Many. Interruptions.
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.
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".Natox wrote:I'm so curious about the way you inplement those images...
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.
- Attachments
-
- fukbmp.zip
- Utility to convert .bmp files to PutPixel() calls
- (4.68 KiB) Downloaded 3492 times
Chili
Re: Lesson 8 Crap
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!
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!
My Weblog: http://www.gamer-bay.com/
Keep track of my learning progress on the C++ programming language.
Keep track of my learning progress on the C++ programming language.
Re: Lesson 8 Crap
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.
For the next few lessons we're going to set aside sprites and do something a little different.
Chili
Re: Lesson 8 Crap
really cool mate, looking forward to it alot!
My Weblog: http://www.gamer-bay.com/
Keep track of my learning progress on the C++ programming language.
Keep track of my learning progress on the C++ programming language.
Re: Lesson 8 Crap
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!"
"
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
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
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
-
- Posts: 1
- Joined: August 28th, 2012, 4:45 pm
Re: Lesson 8 Crap
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