Preview of Lesson 8
Preview of Lesson 8
Special for all you boardies <3
- Attachments
-
- Lesson 8 Executable.zip
- Mmmm, coprophaious!
- (21.99 KiB) Downloaded 360 times
Chili
Re: Preview of Lesson 8
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.
Keep track of my learning progress on the C++ programming language.
Re: Preview of Lesson 8
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?
Re: Preview of Lesson 8
I think there is an easier way to implement sprites into visual programming mate...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?
Imagine creating a character like 'the hulk' (even in 2d) manually with the putPixel object...
that would be insane!
I think we will learn how to implement small graphics in this video most likely bitmaps (.bmp)....
cheers
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: Preview of Lesson 8
The trick is to have a workforce consisting of half-starved 3rd world immigrants who will work for rice.Natox wrote:Imagine creating a character like 'the hulk' (even in 2d) manually with the putPixel object...
that would be insane!
Chili
Re: Preview of Lesson 8
Lolollol, better grab my shotty then!chili wrote:The trick is to have a workforce consisting of half-starveNatox wrote:Imagine creating a character like 'the hulk' (even in 2d) manually with the putPixel object...
that would be insane!
d 3rd world immigrants who will work for rice.
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: Preview of Lesson 8
You named your ricemaker?Natox wrote:Lolollol, better grab my shotty then!
Chili
Re: Preview of Lesson 8
Nah, shotty == shotgun
Still have to hunt some down!
Still have to hunt some down!
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.
-
- Posts: 1
- Joined: December 2nd, 2012, 9:19 pm
Re: Preview of Lesson 8
Hi Guys where can I find the "Lesson 8 Crap"?
Thanks
Thanks
Re: Preview of Lesson 8
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
"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