Preview of Lesson 8

The Partridge Family were neither partridges nor a family. Discuss.
User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Preview of Lesson 8

Post by chili » January 16th, 2012, 11:16 am

Special for all you boardies <3
Attachments
Lesson 8 Executable.zip
Mmmm, coprophaious!
(21.99 KiB) Downloaded 360 times
Chili

Natox
Posts: 51
Joined: January 10th, 2012, 2:51 pm
Location: the Netherlands
Contact:

Re: Preview of Lesson 8

Post by Natox » January 16th, 2012, 5:34 pm

So... what happened to the 'moving' turds... aehh, I mean targets?
My Weblog: http://www.gamer-bay.com/
Keep track of my learning progress on the C++ programming language.

MtDewdGM
Posts: 11
Joined: January 7th, 2012, 12:24 am

Re: Preview of Lesson 8

Post by MtDewdGM » January 16th, 2012, 5:55 pm

are you using the gfx.putpixel() command, or are you drawing those things in paint, importing them to your project, the drawing them to the screen?

:?:

Natox
Posts: 51
Joined: January 10th, 2012, 2:51 pm
Location: the Netherlands
Contact:

Re: Preview of Lesson 8

Post by Natox » January 16th, 2012, 8:22 pm

MtDewdGM wrote:are you using the gfx.putpixel() command, or are you drawing those things in paint, importing them to your project, the drawing them to the screen?

:?:
I think there is an easier way to implement sprites into visual programming mate... :P
Imagine creating a character like 'the hulk' (even in 2d) manually with the putPixel object...
that would be insane! :o

I think we will learn how to implement small graphics in this video 8-) most likely bitmaps (.bmp)....

cheers 8-)
My Weblog: http://www.gamer-bay.com/
Keep track of my learning progress on the C++ programming language.

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Preview of Lesson 8

Post by chili » January 17th, 2012, 4:03 am

Natox wrote:Imagine creating a character like 'the hulk' (even in 2d) manually with the putPixel object...
that would be insane!
The trick is to have a workforce consisting of half-starved 3rd world immigrants who will work for rice.
Chili

Natox
Posts: 51
Joined: January 10th, 2012, 2:51 pm
Location: the Netherlands
Contact:

Re: Preview of Lesson 8

Post by Natox » January 17th, 2012, 6:40 am

chili wrote:
Natox wrote:Imagine creating a character like 'the hulk' (even in 2d) manually with the putPixel object...
that would be insane!
The trick is to have a workforce consisting of half-starve
d 3rd world immigrants who will work for rice.
Lolollol, better grab my shotty then! :mrgreen:
My Weblog: http://www.gamer-bay.com/
Keep track of my learning progress on the C++ programming language.

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Preview of Lesson 8

Post by chili » January 17th, 2012, 7:32 am

Natox wrote:Lolollol, better grab my shotty then!
You named your ricemaker? :|
Chili

Natox
Posts: 51
Joined: January 10th, 2012, 2:51 pm
Location: the Netherlands
Contact:

Re: Preview of Lesson 8

Post by Natox » January 17th, 2012, 8:10 am

Nah, shotty == shotgun

Still have to hunt some down!
My Weblog: http://www.gamer-bay.com/
Keep track of my learning progress on the C++ programming language.

BalazsAttila
Posts: 1
Joined: December 2nd, 2012, 9:19 pm

Re: Preview of Lesson 8

Post by BalazsAttila » December 2nd, 2012, 9:23 pm

Hi Guys where can I find the "Lesson 8 Crap"?
Thanks

drBUD
Posts: 5
Joined: December 3rd, 2012, 9:02 pm

Re: Preview of Lesson 8

Post by drBUD » December 3rd, 2012, 11:20 pm

YO CHILI, I did everything you said up until now but i keep getting a
"Error: member function "Game::DrawReticle" may not be redeclared outside its class"
in Game.cpp here's the code:
---------------------------------------------------
#include "Game.h"

Game::Game( HWND hWnd,const KeyboardServer& kServer )
: gfx ( hWnd ),
kbd( kServer ),
HP( 400 ),
VP ( 300 ),
HPX ( 100 ),
VPY ( 100 )


{}

void Game::Go()
{
gfx.BeginFrame();
ComposeFrame();
gfx.EndFrame();
}

void Game::DrawReticle(int HP, int VP, int r, int g, int b);
------------^^^^^^---------------------------------
And i get the red line of doom right here
what did i do wrong? and how do i fix it?
thanks chili

Post Reply