I guess I wasn't thinking of templates, but an addition to the new... file options - a blank demo project.Originally Posted by Jarrod Davis
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
Bookmarks