Quote Originally Posted by Jarrod Davis
Oh, yeah, another thing - I know I can make a blank new project in the IDE, but is there any way of making a blank Demo project without copying a sample, and deleting whole bunches of code?
Do you mean being able to create and load code templates? Such as you coded a basic game loop that you can use over again, being able to save this to a template and when you create a new project, you can then pick this template? This is not yet possible. The next build of 1.0.3 beta will allow you to save/load your workspace (ie project groups).

One way you can get started right away is follow the examples and inherit your project from TDemoTestCase overriding the needed methods.

Let me know more about just what your looking for.

Thanks
I guess I wasn't thinking of templates, but an addition to the new... file options - a blank demo project.

This would create a bare bones demo class unit which is used by the blank demo project, and is run using the usual run demo command.

here is an example blank demo that might have been created:

[pascal]
{================================================= ==============================
Quantum Engineび「 - Advanced 2D Game Engine for Windowsャニ PC
Copyright ャゥ 2009-2010 Quantum Eventび「 Games
All Rights Reserved.

email : quantumengine@quantumeventgames.com
website: http://quantum-engine.com

See LICENSE.TXT for license information.
-------------------------------------------------------------------------------

================================================== =============================}

{@PROJECTINFO START}
{@EXENAME "UntitledDemo.exe"}
{@EXETYPE CONSOLE}
{@EXEICON "..\Resources\QuantumEngine.ico"}
{@BUILDALLUNITS No}
{@USERUNTIMEPACKAGES No}
{@ADDVERSIONINFO YES}
{@INCBUILDNUM NO}
{@VICOMPANYNAME "Quantum Eventび「 Games"}
{@VIFILEVERSION 1.0.0.0}
{@VIFILEDESCRIPTION "UntitledDemo Demo"}
{@VIINTERNALNAME "UntitledDemo Demo"}
{@VILEGALCOPYRIGHT "Copyright ャゥ 2009-2010, Quantum Event Games"}
{@VILEGALTRADEMARKS "All Rights Reserved."}
{@VIORIGINALFILENAME "UntitledDemo.exe"}
{@VIPRODUCTNAME "UntitledDemo Demo"}
{@VIPRODUCTVERSION 1.0.0.0}
{@VICOMMENTS "http://quantumeventgames.com"}
{@PROJECTINFO END}

program TileGame;

uses
SysUtils,
QEApplication,
QEActor,
QEAudio,
QEFonts,
QEGame,
QEGraphics,
QEInput,
QEMath,
QEResources,
QETestCase,
QEUI,
QEUtils,
uUntitledDemoUnit;

begin
// add your code here
QE.RunTestCase(TUntitledDemoClass);
end.

[/pascal]

In the uUntitledDemoUnit there would be a TUntitledDemoClass with the bare bones overridden methods so you can then add to it.

Notice the UntitledDemo has also been added to the top of the .dpr file...


I hope this is clearer?

templates sound neat too though...LOL

cheers,
Paul