Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+3)(-9)

[seraializefield] private bool isDemo = defualt;
[seraializefield] private GameObject demoEndGraphics = default;

If (isDemo)
{
SaveScript.canSave = false;
StartCoroutine(DemoTimer()):
}

Private IEnumerator DemoTimer()
{
demoTimeLimit = 900;
demoTimer = 0;

While (demoTimer < demoTimeLimit) 
{
demoTimer += Time.DeltaTime;
yield return null;
}
demoEndGraphics.SetActive(true);
}

---------------------
Assuming C# scripting and Unity
Slap on end of demo screen
Put a bool check when saving in the save script
Add this to game, check demo bool as true when you want to build the demo
Demo build in less than 30 minutes. Hell, only took me about 5 minutes to come up with this script. 
Cake walk

(+1)(-6)

Why wouldnt you just yield return a defined wait for seconds the length of the demo? Took me less than 5 seconds to see redundant code. And i could rip it apart more, but ill have to charge you. You dont know how his game is structured, so your solution may not fit.

(+4)(-3)

feel free to rip apart my 5 minute pseudocode, lol