Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Peter Hellberg

2
Posts
1
Topics
1
Following
A member registered May 02, 2018 · View creator page →

Creator of

Recent community posts

(1 edit)

The example shown at https://mattiasgustavsson.itch.io/dos-like doesn’t compile anymore, a few minor changes are needed.

Something like this:

#include <stdlib.h>
#include "dos.h"

int main(int argc, char* argv[])
{
  setvideomode(videomode_320x200);

  while(!shuttingdown())
  {
    waitvbl();

    for(int i = 0; i < 5; ++i)
    {
      setcolor(rand() % 256);
      line(rand() % 320, rand() % 200, rand() % 320, rand() % 200);
      setcolor(rand() % 256);
      fillcircle(rand() % 320, rand() % 200, rand() % 30);
      setcolor(rand() % 256);
      circle(rand() % 320, rand() % 200, rand() % 30);
    }

    if(keystate(KEY_ESCAPE)) break;
  }

  return 0;
}

I made an online version of the generator using the genreList posted by BedsideWolf.

https://generate.name/incompatible-game-genres