First Time
Language: C++
IDE: Depends on the operating system. I’ll primarily be using Windows (which means VS 2010 Express), but in the last hour or so I’ll probably port it to OS X (XCode).
Libraries: SFML and possibly Box2D depending on the theme that gets picked. I would be using DirectX, which I’m more familiar with, but DX doesn’t port well to OS X.
Graphics: MsPaint && Paint.NET
Sounds: Sfxr, maybe Audacity to record whistling as music in the game.
The formatting is borked, but this is the “base code” I’m going to be using.
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#pragma comment(lib,”sfml-system-s.lib”)
#pragma comment(lib,”sfml-window-s.lib”)
#pragma comment(lib,”sfml-graphics-s.lib”)
sf::RenderWindow App;
int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int nCmdShow)
{
bool exitgame = false;
bool isWindowActive = false;
App.Create(sf::VideoMode(640,480,2), “Title”, sf::Style::Close);
while(!exitgame)
{
sf::Event event;
while (App.GetEvent(event))
{
if ((event.Type == sf::Event::Closed) || ((event.Type == sf::Event::KeyPressed) && (event.Key.Code == sf::Key::Escape)))
{
exitgame = true;
break;
}
if (event.Type == sf::Event::GainedFocus)
isWindowActive = true;
if (event.Type == sf::Event::LostFocus)
isWindowActive = false;
}
App.Clear(sf::Color(192,192,192));
App.Display();
}
App.Close();
return EXIT_SUCCESS;
}