Jelajahi Sumber

Updated FAQs

Björn Ritzl 5 tahun lalu
induk
melakukan
0b6874628b

+ 7 - 13
docs/en/faq/faq.md

@@ -113,19 +113,7 @@ Why doesn't the editor start or open my project?
 
 I can't start the game and there is no build error. What's wrong?
 
-: The build process can fail to rebuild files in rare cases where it have
-  previously encountered build errors that you have fixed. Force a full rebuild
-  by selecting *Project > Rebuild And Launch* from the menu.
-
-Why does my HTML5-app freeze at the splash screen in Chrome?
-
-: In some cases it is not possible to run a game in the browser locally
-  from the filesystem. Running from the editor serves the game from a local
-  webserver. You can, for instance, use SimpleHTTPServer in Python:
-
-  ```sh
-  $ python -m SimpleHTTPServer [port]
-  ```
+: The build process can fail to rebuild files in rare cases where it have previously encountered build errors that you have fixed. Force a full rebuild by selecting *Project > Rebuild And Launch* from the menu.
 
 Why am I getting a java exception when I try to start Defold?
 
@@ -141,6 +129,12 @@ Why am I getting a java exception when I try to start Defold?
 ## Android
 :[Android FAQ](../shared/android-faq.md)
 
+## HTML5
+:[HTML5 FAQ](../shared/html5-faq.md)
+
+## Windows
+:[Windows FAQ](../shared/windows-faq.md)
+
 ## Game content
 
 Does Defold support prefabs?

+ 3 - 0
docs/en/manuals/html5.md

@@ -214,3 +214,6 @@ If you create your custom template, you can specify extra parameters for the eng
 ## File operations in HTML5
 
 HTML5 builds support file operations such as `sys.save()`, `sys.load()` and `io.open()` but the way these operations are handled internally is different from other platforms. When Javascript is run in a browser there is no real concept of a file system and local file access is blocked for security reasons. Instead Emscripten (and thus Defold) uses [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Using_IndexedDB), an in-browser database used to persistently store data, to create a virtual filesystem in the browser. The important difference from file system access on other platforms is that there can be a slight delay between writing to a file and the change actually being stored in the database. The browser developer console usually allows you to inspect the contents of the IndexedDB.
+
+## FAQ
+:[HTML5 FAQ](../shared/html5-faq.md)

+ 3 - 0
docs/en/manuals/windows.md

@@ -16,3 +16,6 @@ Windows specific application configuration is done from the [Windows section](/m
 The application icon used for a Windows game must be in the .ico format. You can easily create a .ico file from a .png file using an online tool such as [ICOConvert](https://icoconvert.com/). Upload an image and use the following icon sizes:
 
 ![Windows icon sizes](images/windows/windows-icon.png)
+
+## FAQ
+:[Windows FAQ](../shared/windows-faq.md)

+ 7 - 0
docs/en/shared/html5-faq.md

@@ -0,0 +1,7 @@
+Why does my HTML5-app freeze at the splash screen in Chrome?
+
+: In some cases it is not possible to run a game in the browser locally from the filesystem. Running from the editor serves the game from a local web server. You can, for instance, use SimpleHTTPServer in Python:
+
+  ```sh
+  $ python -m SimpleHTTPServer [port]
+  ```

+ 4 - 4
docs/en/shared/linux-faq.md

@@ -1,4 +1,4 @@
-EDITOR - Mouse clicks on Elementary OS go through the editor onto whatever is below.
+Mouse clicks on Elementary OS go through the editor onto whatever is below.
 
 : Start the editor like this:
 
@@ -6,7 +6,7 @@ EDITOR - Mouse clicks on Elementary OS go through the editor onto whatever is be
 $ GTK_CSD=0 ./Defold
 ```
 
-EDITOR - When I try to create a new project, or open an existing one, the editor crashes.
+When I try to create a new project, or open an existing one, the editor crashes.
 
 : On certain distributions (like Ubuntu 18) there is an issue with the version of jogamp/jogl Defold uses vs. the version of Mesa on the system.
 
@@ -22,11 +22,11 @@ EDITOR - When I try to create a new project, or open an existing one, the editor
   $ ./Defold
   ```
 
-EDITOR - I can't create a new branch for my project on Linux.
+I can't create a new branch for my project on Linux.
 
 : Make sure that you have *libssl 0.9.8* installed on your machine. Some distributions come with a later version, but Defold needs version *0.9.8*.
 
-ENGINE - When I try to run my game on Linux, the engine doesn't start.
+When I try to run my game on Linux, the engine doesn't start.
 
 : Check the console output in the editor. If you get the following message:
 

+ 3 - 0
docs/en/shared/windows-faq.md

@@ -0,0 +1,3 @@
+Why are GUI box nodes without a texture transparent in the editor but show up as expected when I build and run?
+
+: This error can happen on [computers using AMD Radeon GPUs](https://github.com/defold/editor2-issues/issues/2723). Make sure to update your graphics drivers.