ExplainUnzip.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <style type="text/css">
  6. body {
  7. background: rgba(0, 0, 0, .3);
  8. color: white;
  9. font-family: sans-serif;
  10. }
  11. </style>
  12. </head>
  13. <body>
  14. <h1>Greetings!</h1>
  15. <p style="font-size: 120%; font-weight: bold;">Extract <em>DemoBrowserAssets.zip</em> to your project folder.</p>
  16. <p>One thing before we start:</p>
  17. <p>For this demo to work, we need some files in <code>MyProject/BrowserAssets/</code>, but Asset Packages can't put things outside <code>MyProject/Assets/</code>. These files are game-local HTML/CSS/JavaScript resources.</p>
  18. <p>Find <code>ZFBrowser/Demo/DemoBrowserAssets.zip</code> and extract it to your project folder so it looks something like this:</p>
  19. <pre>
  20. MyProject/
  21. Assets/
  22. ...
  23. BrowserAssets/
  24. demo/
  25. DoorControl.html
  26. HUD.html
  27. ....
  28. Library/
  29. ProjectSettings/
  30. ...</pre>
  31. <p>Once that's done, start the demo again and enjoy!</p>
  32. <!--
  33. As a side note, we could do that automatically with a pile of code, but I think this is a good starting
  34. point for teaching how the system works.
  35. -->
  36. </body>
  37. </html>