So i am very new to EE and looking to really get into it i've been figuring out some of the engine on my own, then i ran accross the wiki and found a ton of info and much to my delight i found a "hello world tutorial" so i essentialy copied down the code from the wiki onto a code page in ee 2.0 but, when i try to build it it says "no application selected or it has invalid name"
Here is the code so you guys can point out my bonehead mistake/
//////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
void InitPre()
{
App.name("Start"); // application name
Paks.add("../data/engine.pak"); // load engine data
D.sync(true); // enable screen sync
}
Bool Init()
{ // here engine will be ready to load game data
// return false when error occured
return true;
}
void Shut() // shut down at exit
{
// called when engine is about to exit
}
Bool Update()
{
// processes each frame update
if(kb.bp(KB_ESC))return false; // exit if esc key is hit
return true; // continue
}
void Draw() // main drawing
{
// tell's engine what to draw on screen
D.clear(TURQ); // clear screen to draw turqouise
D.text (0, 0.1f, "this is the first tutorial"); // draw text at (0, .1) pos
D.text (0, -0.1f, "replace the CPP with some other file to a diffrent tutorial ");
}
////////////////////////////////////////////////////////////////////////////////////
the name of the code file is hello world and it is contained in a folder named hello world. i realise it is probably something very minor im overlooking so if you could point out what im doing wrong. i thank you all in advance and look forward to eventually being able to help advance the community