olc::CodeJam 2022 Entry #olcCodeJam2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Seasons-Of-Loneliness/SeasonsOfLoneliness.cpp

38 lines
599 B

2 years ago
#define OLC_PGE_APPLICATION
#include "pixelGameEngine.h"
using namespace std;
class SeasonsOfLoneliness : public olc::PixelGameEngine
2 years ago
{
public:
SeasonsOfLoneliness()
2 years ago
{
sAppName = "Seasons of Loneliness";
2 years ago
}
public:
bool OnUserCreate() override
{
SetPixelMode(olc::Pixel::ALPHA);
ConsoleCaptureStdOut(true);
// Called once at the start, so create things here
return true;
}
bool OnUserUpdate(float fElapsedTime) override
{
// called once per frame
return true;
}
};
int main()
{
SeasonsOfLoneliness demo;
2 years ago
if (demo.Construct(256, 240, 4, 4))
demo.Start();
return 0;
}