Author Topic: Game Engine Names  (Read 428 times)

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 667
Re: Game Engine Names
« Reply #15 on: September 18, 2017, 01:27:53 PM »
...Because not everybody likes C++ code like this  ;)

Although I think it's quite tidy and easy to follow (using my engine) as in this main example.

Code: [Select]
#include "SJE.h"
#include "Game.h"

int main(int argc, char *argv[]) {
// create an instance of the Elliott Engine
SJE *eng = nullptr;
eng = new SJE("Gridfire", 1920, 1080);
if (eng->isError()) return 1;

// create an instance of the game
Game *gridfire = nullptr;
gridfire = new Game;

// game loop
while (gridfire->running)
{
gridfire->render();
gridfire->update();
}

// delete game and engine
delete gridfire;
delete eng;
return 0;
}
Windows 10, 64-bit, 8Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 750 Ti (2Gb)

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 667
Re: Game Engine Names
« Reply #16 on: September 18, 2017, 08:14:28 PM »
Yes, a language is coming...It's always seemed like an exciting project to me.
Windows 10, 64-bit, 8Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 750 Ti (2Gb)