Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gdevelop5:all-features:window [2019/06/29 15:11]
piyushpalawat99 created
gdevelop5:all-features:window [2019/07/30 23:42] (current)
piyushpalawat99
Line 1: Line 1:
-# Window+# Window ​and game area
  
 The window of the game is the area in which the game is displayed. It DOES NOT refer to the system window that includes the toolbar, title bar on the top and a frame on the other three sides. The window of the game is the area in which the game is displayed. It DOES NOT refer to the system window that includes the toolbar, title bar on the top and a frame on the other three sides.
Line 15: Line 15:
 ## Size of the window ## Size of the window
  
-Size of the window is the size of the area of the game to be displayed. While setting the size of the window, if you want to scale the current area to the set resolution, choose "​NO"​.+Size of the window is the number ​of pixels visible in the game. The "​Width"​ field refers to the number ​of pixels in the horizontal directions while the "​Height"​ field refers ​to the number of pixels in the vertical direction. 
 + 
 +While setting the size of the window, if you want to scale the current area to the set resolution, choose "​NO"​. This will decrease the visual quality of the game if the size entered is lower than default and will increase the visual quality if the size entered is higher than the default size.
  
 {{ :​gdevelop5:​all-features:​annotation_2019-06-29_175454.png?​nolink |}} {{ :​gdevelop5:​all-features:​annotation_2019-06-29_175454.png?​nolink |}}
  
-If you want to scale the set resolution to the window area, choose "​YES"​.+If you want to scale the set resolution to the window area, choose "​YES"​. ​This will crop the window and display only the number of pixels entered in the action. This does not affect the visual quality as long as the game is scaled up or down because of the size of the system window. 
 + 
 +<​note>​The game is cropped starting from the top-left corner of the game.</​note>​
  
 {{ :​gdevelop5:​all-features:​annotation_2019-06-29_175540.png?​nolink |}} {{ :​gdevelop5:​all-features:​annotation_2019-06-29_175540.png?​nolink |}}
Line 25: Line 29:
 ## Window title ## Window title
  
-The window title is the name of the window that is visible on the title bar (located at the top) of the window. The default title name is "​Preview of ProjectName"​.+The window title is the name of the window that is visible on the title bar (located at the top) of the window. The default title name is "​Preview of ProjectName" ​during a preview. 
 + 
 +By default, the game name is used for the executable name (on Windows, macOS and Linux), the app name (on Android and iOS) and the title bar (on Windows, macOS and Linux) (and the page title for HTML5 games). You can [[gdevelop5:​interface:​project-manager:​properties|learn more about it in game properties.]] 
 + 
 +With the action to change the title, the title bar on Windows, macOS and Linux will be changed. Nothing will be visible on Android and iOS. For HTML5 games, the web page title will be changed.