You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UEMOB-474 Integrate multithreaded HTML5 into UE/Dev Mobile #rn #rb jack.porter [CL 4707110 by Nick Shin in Dev-Mobile branch]
49 lines
2.4 KiB
HTML
49 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<!--
|
|
HTML code used with Epic Games HTML5 projects
|
|
|
|
much of this is for UE4 development purposes.
|
|
|
|
to create a custom HTML file for your project:
|
|
- make a copy of this file - or make one from scratch
|
|
- and put it in: "your project folder"/Build/HTML/GameX.html.template
|
|
-->
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<title>%SHORTNAME%</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
|
|
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<link href="%PROJECTNAME%.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
|
|
<div class="wrapper" id="mainarea">
|
|
<div class="alert alert-warning centered-axis-xy" style="min-height: 20px; display:none;" role="alert" id="compilingmessage">
|
|
<div id='loadTasks'> </div>
|
|
</div>
|
|
<!-- The "tabindex=0" specifier on the canvas is important to allow it to capture keyboard focus when clicking on it with a mouse -->
|
|
<canvas tabindex=0 id="canvas" class="emscripten" oncontextmenu="event.preventDefault()" style="display:none;">
|
|
</div>
|
|
<div class="row buttonarea text-center" id="buttonrow">
|
|
<div class="col-sm-2 text-center"></div>
|
|
<div class="col-sm-2 text-center"><button type="button" class="btn btn-primary" onclick="try { Module['pauseMainLoop'](); } catch(e) {console.error(e);}">Pause</button></div>
|
|
<div class="col-sm-2 text-center"><button type="button" class="btn btn-primary" onclick="try { Module['resumeMainLoop'](); } catch(e) {console.error(e);}">Resume</button></div>
|
|
<div class="col-sm-2 text-center"><button type="button" class="btn btn-primary" onclick="var w = document.getElementById('logwindow'); w.style.display = w.style.display ? '' : 'none';">Toggle Log</button></div>
|
|
<div class="col-sm-2 text-center"><button type="button" class="btn btn-primary" id='clear_indexeddb' onclick="try { deleteIndexedDBStorage(); } catch(e) {console.error(e);}">Clear IndexedDB</button></div>
|
|
<div class="col-sm-2 text-center"><button type="button" class="btn btn-primary" id="fullscreen_request">FullScreen</button></div>
|
|
<div class="col-sm-2 text-center"></div>
|
|
<div class="col-sm-2 text-center"></div>
|
|
</div>
|
|
<div class="texthalf text-normal jumbotron " id="logwindow" style='display:none'></div>
|
|
|
|
<script src="%PROJECTNAME%.UE4.js"></script>
|
|
</body>
|
|
</html>
|