My core system is getting up and running. I've got a base graphics system in place; doesn't have batching yet, but I can get an image on the screen in like 5 lines, so I'm happy (means I get to prototyping faster :D.)
I've also got most of the input system setup; I'm still contemplating whether or not I want to support XBox360 gamepads.
No audio support as of yet. Obviously I will at a later date, but I don't know what to go with. I don't want to use FMOD because their license is out of my price range and audiere kind of sucks. Plus, I suck when it comes to audio programming, so I can't really do my own simple system using DirectSound (well, I could, but I don't really feel like learning a lot about audio at the moment and I despise copying and pasting someone elses code. This is the same reason why I have no network support as of yet.)
Current line count:
Source: 3029 (82.3%)
Comments: 213 (5.8%)
Blank: 440 (12.0%)
Source: 806 (88.7%)
Comments: 39 (4.1%)
Blank: 103 (10.9%)
Anyway, how long has it been since I posted a screenshot? Way too long says I. So, lets remedy that:
And the source to do it:
class CApp : public IApplication
virtual bool OnRun()
if(!Graphics::Initialize() || !Graphics::CreateDevice(this->GetWindowHandle(), 800, 600))
Texture = Graphics::LoadTextureFromFile("Resources/Title.png");
Input::OnKeyDown = P16_Bind1(CApp, OnKeyDown, this);
virtual void OnCleanUp()
virtual void OnIdle(float Seconds)
Graphics::DrawImage(Texture, 0, 0, Colors::White, Alignments::TopCenter);
Graphics::DrawImageScaled(Texture, 0, 0, 2.0f, 2.0f, Colors::White, Alignments::Center);
Graphics::DrawImageStretched(Texture, 0, 0, 193, 56, Colors::White, Alignments::BottomCenter);
virtual bool OnMessage(HWND Handle, UINT Message, WPARAM Param1, LPARAM Param2)
Input::HandleMessage(Message, Param1, Param2);
bool OnKeyDown(Input::EKey Key)
if(Key == Input::Keys::F1)
else if(Key == Input::Keys::F2)
else if(Key == Input::Keys::F3)
else if(Key == Input::Keys::Tilde)
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
I'm thinking I'm going to work on adding font support to Graphics and then move onto my GUI system.
No matter which way I head from here, I'm going to be posting crap from prototypes; not projects. As I believe I said, my brother and I are working on a project and we'll be posting screenshots and such for that sometime in the future. The prototypes are just for making sure the code base and core components are sound while building a game components module.
I'll be working on a new website so that I can setup screenshot galleries for all of my prototypes and such. I'll make an entry about it once I'm finished.
Btw, Chompy2D isn't anything; it's just the image that I grabbed out of my pictures folder so that I could post a screenshot without worrying about someone saying I stole their graphics lol.