Dmloader js edit and apply

Hi,

I would like to know how to change the dmloader in an HTML5 project for the customized one. I am working on editing the progression bar loader in the splash screen.

  1. Copy the default engine_template.html from builtins/manifest/web/engine_template.html to a location in your project.
  2. Modify game.project to use your copy of engine_template.html (the HTML5 section)
  3. Modify the engine-setup section and set a progress listener:
	<script id='engine-setup' type='text/javascript'>
		Progress.addListener(function(percentage){
			// do your progress related stuff here
			// perecentage will go from 0 to 100
		});
	</script>
6 Likes