Difference between revisions of "Game Properties"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 1: Line 1:
{| class="ts"
+
== Game properties ==
|-
 
| <b>Game</b>: This is where you can setup the main game properties: mouse, key input, languages, provide information & version build number etc || [[File:game25.png|right|25px|link=]]
 
|}
 
  
==Game Properties==
+
This section is where you setup the main game properties and global settings.
  
{| class="ts"
+
[[File:Game properties 1.png|thumb]]
|-
+
* <span style="color:NavajoWhite">First scene:</span> Select the scene which will be shown after the loading screen and/or intro movie, if provided.
| width="100%" |
+
* <span style="color:NavajoWhite">Default language:</span> Select the initial language which will be active on game start.
♠ <b>First scene</b>: which will be shown after load screen/intro movie (required) <br/>
+
* <span style="color:NavajoWhite">Resolution:</span> Set the game's resolution. If the desired resolution is not in the list, you can set a custom resolution via the explorer tool (Ctrl+E).
<b>Default language</b>: initial language game should begin with (required) <br/>
+
* <span style="color:NavajoWhite">At begin start following action:</span> You can use this to perform actions on game launch (hide interfaces, check settings etc.). The start action will be executed before the first scene is shown.
<b>Resolution</b>: this is the games default resolution - you can set a custom resolution via the explorer tool (required) <br/>
+
* <span style="color:NavajoWhite">Activate Standard command:</span> Usually one of the commands of your interface is the standard command which is set whenever no other command is set. Choose here, if you want to automatically set this standard command after the user performed an action.
<b>At begin start following action</b>: you can use this to perform actions on game launch; hide interfaces, check settings etc <br/>
+
* <span style="color:NavajoWhite">Company name/Game name:</span> This information is used to create a folder where savegames, log files, and config.ini will be saved when running the game. On Windows systems that path would be <u>C:/Users/<username>/AppData/Local/<company_name>/<game_name></u>. If you don't specify company and game name, the files will be saved in the game's directory instead.
<b>Activate Standard command</b>: n/a <br/>
 
<b>Company name</b>: save games, log files, config.ini etc will be saved in c:/users/<username>/AppData/Local/<company_name>/ <br/>
 
♠ <b>Game name</b>: save games, log files, config.ini etc will be saved in c:/users/<username>/AppData/Local/<company_name>(if included)/<game_name><br/>
 
♠ <b>Align character on immediate execution</b>: if checked, current character will automatically face towards any object using immediate execution command <br/>
 
♠ <b>Allow dragging of items from inventory</b>: automatically sets clicked item to hand for quickly using on other objects, items or characters <br/>
 
♠ <b>Always allow to skip active text</b>: if selected then users can skip displayed text during cutscenes with left mouse button<br/>
 
♠ <b>Execute key actions during a dialog</b>: allows or prevents the player from executing key input actions while a dialog is open<br/>
 
♠ <b>Auto hide interfaces in menu</b>: automatically hides all interfaces while a menu scene is open<br/>
 
♠ <b>Keep character images in memory while displaying a menu</b>: saves all character animations, destinations & actions to memory when you open up a menu<br/>
 
♠ <b>Activate pixel effect</b>: activates nearest neighbor interpolation; best used for low resolution games, if desired<br/>
 
----
 
||
 
[[File:game_tab.png|right|thumb|180px|click for fullsize]] <br/>
 
[[File:game_tab_1.png|right|thumb|180px|click for fullsize]]
 
|
 
|
 
♠ <b>Active character</b>: this is where you assign the default playable character of your game<br/>
 
♠ <b>Intro movie</b>: add a movie (usually company splash) that will play on game launch (after load screen; if provided)<br/>
 
♠ <b>Fade delay [ms]</b>: default time in milliseconds that it takes to fade between scenes<br/>
 
♠ <b>Scroll speed [pixel/sec]</b>: the speed in which scenes will be scrolled by (higher value equals faster scrolling)<br/>
 
♠ <b>Sprite cache size [mb]</b>: sprite cache size in MB, which stores recently loaded sprites<br/>
 
♠ <b>Speaker sound by panning</b>: - <br/>
 
♠ <b>Text alignment</b>: allows you to set the alignment of spoken text that displays above characters heads<br/>
 
♠ <b>Speaker text alignment</b>: allows you to the set the alignment of narration text<br/>
 
♠ <b>Minification filter</b>: defines the filter to be used for scaling character sprites down; nearest neighbor should only be used for low resolution games<br/>
 
♠ <b>Magnification</b>: defines the filter to be used for scaling character sprites up; nearest neighbor should only be used for low resolution games<br/>
 
♠ <b>Disable interaction during character anim</b>: prevent the player from being able to interact during certain character animations<br/>
 
♠ <b>Object text font</b>: set the font that will be used for displaying object text<br/>
 
----
 
||
 
[[File:game_tab_2.png|right|thumb|180px|click for fullsize]]
 
|-
 
|
 
♠ <b>Action text</b>: the text that will be displayed for actions; commands, items, objects etc<br/>
 
♠ <b>Display</b>: define how & where the action text should be displayed; if required<br/>
 
♠ <b>Font</b>: define the font which should be used to display the action text<br/>
 
♠ <b>Rectangle</b>: absolutely define a box (position, size) in which the action text should be displayed; only applicable if ''draw action text inside rectangle'' option was chosen<br/>
 
||
 
[[File:game_tab_3.png|right|thumb|180px|click for fullsize]]
 
|}
 
  
  
==Mouse Properties==
+
[[File:Game properties 2.png|thumb]]
 +
* <span style="color:NavajoWhite">Align character on immediate execution:</span> If you check this option, the current character will automatically face towards the object when performing an immediate execution action on it.
 +
* <span style="color:NavajoWhite">Allow dragging of items from inventory:</span> If you check this option, items can be dragged from the inventory, meaning the item becomes the cursor. The item can then be dropped on other items, objects, or characters to combine them.
 +
* <span style="color:NavajoWhite">Always allow to skip active text:</span> If you check this option, the user can skip displayed text during cutscenes with the left mouse button.
 +
* <span style="color:NavajoWhite">Execute key actions during a dialog:</span> If you check this option, key actions will be executed during dialogs.
 +
* <span style="color:NavajoWhite">Auto hide interfaces in menu:</span> If you check this option, interfaces will not show up in menus. Currently visible interfaces will automatically be hidden.
 +
* <span style="color:NavajoWhite">Keep character images in memory while displaying a menu:</span> If you check this option, all character images and animations will be kept in memory when showing a menu, so they don't have to be reloaded upon return to the previous scene.
 +
* <span style="color:NavajoWhite">Activate pixel effect:</span> If you check this option, "nearest neighbor" interpolation will be used for image scaling. This is usually desired for low resolution games as it will not blur pixels in fullscreen mode.
 +
* <span style="color:NavajoWhite">Smooth scrolling:</span> If you check this option, scrolling of wide scenes is softened through motion easing.
  
{| class="ts"
 
|-
 
| width="100%" |
 
<b>Left mouse button</b><br/>
 
♠ <b>Use for individual actions</b>: only execute individual actions (standard actions) <br/>
 
♠ <b>Start following action</b>: allows you to define custom actions that should be executed each time the left mouse button is clicked
 
  
 +
[[File:Game properties 3.png|thumb]]
 +
* <span style="color:NavajoWhite">Active character:</span> Select the character which is playable on game start.
 +
* <span style="color:NavajoWhite">Intro movie/Scale movie to fullscreen:</span> Add a movie (usually a company splash, preferably Visionaire Studio branding) that will play on game launch (after the loading screen; if provided). Check the option to scale the movie to fullscreen.
 +
* <span style="color:NavajoWhite">Fade delay [ms]:</span> Set the default time (in milliseconds) that it takes to fade between scenes.
 +
* <span style="color:NavajoWhite">Scroll speed [pixel/sec]:</span> Set the speed in which large scenes will be scrolled by. A higher value equals faster scrolling.
 +
* <span style="color:NavajoWhite">Sprite cache size [MB]:</span> Set the sprite cache size (in megabytes), which stores recently loaded sprites.
 +
* <span style="color:NavajoWhite">Speech output balance [%]:</span> Define how much speech audio output depends on the position of the speaking character. 0% means that the position doesn't matter at all, 100% means that the audio is played only by the left/right speaker, if the character is standing on the left/right side of the screen.
 +
* <span style="color:NavajoWhite">Text alignment:</span> Define the alignment for text spoken by characters.
 +
* <span style="color:NavajoWhite">Narration text alignment:</span> Define the alignment for narration text.
 +
* <span style="color:NavajoWhite">Disable interaction during character anim:</span> Prevent the user from being able to interact while character animations are played.
 +
* <span style="color:NavajoWhite">Object text font:</span> Set the default font for object text. You can define an individual font for each object text inside the respective action part though.
 +
* <span style="color:NavajoWhite">Savegame screenshot:</span> Set an image file that serves as the screenshot thumbnail for all savegames when playing on mobile devices (taking in-game screenshots is not possible on mobile devices).
 +
* <span style="color:NavajoWhite">Video pause screen:</span> Set in image file that serves as a video pause screen.
 +
* <span style="color:NavajoWhite">Loading screen:</span> Set an image file that serves as a loading screen on game start (before the intro movie).
 +
* <span style="color:NavajoWhite">Wait cursor:</span> Select the cursor which is shown while the engine is loading data (on scene change).
  
<b>Right mouse button</b><br/>
+
 
♠ <b>Activate Standard command</b>: n/a <br/>
+
 
<b>Company name</b>: save games, log files, config.ini etc will be saved in c:/users/<username>/AppData/Local/<company_name>/ <br/>
+
[[File:Game properties 4.png|thumb]]
♠ <b>Game name</b>: save games, log files, config.ini etc will be saved in c:/users/<username>/AppData/Local/<company_name>(if included)/<game_name><br/>
+
<span style="color:NavajoWhite">Action text</span> is the text that displays the current action and/or object names when hovering over or interacting with objects, e.g. "Door", "Look at door", "Use key with door" etc.
<b>Align character on immediate execution</b>: if checked, current character will automatically face towards any object using immediate execution command <br/>
+
* <span style="color:NavajoWhite">Display:</span> Define if, how and where the action text should be displayed.
<b>Allow dragging of items from inventory</b>: automatically sets clicked item to hand for quickly using on other objects, items or characters <br/>
+
* <span style="color:NavajoWhite">Font:</span> Select the font which should be used to display the action text.
♠ <b>Always allow to skip active text</b>: if selected then users can skip displayed text during cutscenes with left mouse button<br/>
+
* <span style="color:NavajoWhite">Rectangle:</span> Define position and size of a box in which the action text should be displayed; only applicable if the '''Draw action text inside rectangle''' option was chosen.
♠ <b>Execute key actions during a dialog</b>: allows or prevents the player from executing key input actions while a dialog is open<br/>
+
 
♠ <b>Auto hide interfaces in menu</b>: automatically hides all interfaces while a menu scene is open<br/>
+
 
♠ <b>Keep character images in memory while displaying a menu</b>: saves all character animations, destinations & actions to memory when you open up a menu<br/>
+
[[File:Game properties 5.png|thumb]]
♠ <b>Activate pixel effect</b>: activates nearest neighbor interpolation; best used for low resolution games, if desired<br/>
+
* <span style="color:NavajoWhite">Music Bus:</span> tbd
----
+
* <span style="color:NavajoWhite">Sound Bus:</span> tbd
||
+
* <span style="color:NavajoWhite">Walksound Bus:</span> tbd
[[File:game_tab.png|right|thumb|180px|click for fullsize]]<br/>
+
* <span style="color:NavajoWhite">Speech Bus:</span> tbd
[[File:game_tab_1.png|right|thumb|180px|click for fullsize]]
+
* <span style="color:NavajoWhite">Additional folders:</span> When building (compiling) the game, only asset files linked somewhere in the editor will be included. If you load files via Lua code, which are not used elsewhere in the project, this might work during development but fail in the final game, when those files are not accessible. That's why you can add additional folders whose files will be included in the game build anyway.
|-
+
 
|
+
 
♠ <b>Active character</b>: this is where you assign the default playable character of your game<br/>
+
== Mouse properties ==
<b>Intro movie</b>: add a movie (usually company splash) that will play on game launch (after load screen; if provided)<br/>
+
 
<b>Fade delay [ms]</b>: default time in milliseconds that it takes to fade between scenes<br/>
+
tbd
♠ <b>Scroll speed [pixel/sec]</b>: the speed in which scenes will be scrolled by (higher value equals faster scrolling)<br/>
+
 
♠ <b>Sprite cache size [mb]</b>: sprite cache size in MB, which stores recently loaded sprites<br/>
+
 
♠ <b>Speaker sound by panning</b>: - <br/>
+
== Key actions ==
<b>Text alignment</b>: allows you to set the alignment of spoken text that displays above characters heads<br/>
+
 
♠ <b>Speaker text alignment</b>: allows you to the set the alignment of narration text<br/>
+
tbd
♠ <b>Minification filter</b>: defines the filter to be used for scaling character sprites down; nearest neighbor should only be used for low resolution games<br/>
+
 
♠ <b>Magnification</b>: defines the filter to be used for scaling character sprites up; nearest neighbor should only be used for low resolution games<br/>
+
 
♠ <b>Disable interaction during character anim</b>: prevent the player from being able to interact during certain character animations<br/>
+
== Game info ==
♠ <b>Object text font</b>: set the font that will be used for displaying object text<br/>
+
 
----
+
tbd
||
+
 
[[File:game_tab_2.png|right|thumb|180px|click for fullsize]]
+
{{toc}}
|-
 
|
 
♠ <b>Action text</b>: the text that will be displayed for actions; commands, items, objects etc<br/>
 
♠ <b>Display</b>: define how & where the action text should be displayed; if required<br/>
 
♠ <b>Font</b>: define the font which should be used to display the action text<br/>
 
♠ <b>Rectangle</b>: absolutely define a box (position, size) in which the action text should be displayed; only applicable if ''draw action text inside rectangle'' option was chosen<br/>
 
||
 
[[File:game_tab_3.png|right|thumb|180px|click for fullsize]]
 
|}{{toc}}
 

Revision as of 03:31, 9 October 2022

Game properties

This section is where you setup the main game properties and global settings.

Game properties 1.png
  • First scene: Select the scene which will be shown after the loading screen and/or intro movie, if provided.
  • Default language: Select the initial language which will be active on game start.
  • Resolution: Set the game's resolution. If the desired resolution is not in the list, you can set a custom resolution via the explorer tool (Ctrl+E).
  • At begin start following action: You can use this to perform actions on game launch (hide interfaces, check settings etc.). The start action will be executed before the first scene is shown.
  • Activate Standard command: Usually one of the commands of your interface is the standard command which is set whenever no other command is set. Choose here, if you want to automatically set this standard command after the user performed an action.
  • Company name/Game name: This information is used to create a folder where savegames, log files, and config.ini will be saved when running the game. On Windows systems that path would be C:/Users/<username>/AppData/Local/<company_name>/<game_name>. If you don't specify company and game name, the files will be saved in the game's directory instead.


Game properties 2.png
  • Align character on immediate execution: If you check this option, the current character will automatically face towards the object when performing an immediate execution action on it.
  • Allow dragging of items from inventory: If you check this option, items can be dragged from the inventory, meaning the item becomes the cursor. The item can then be dropped on other items, objects, or characters to combine them.
  • Always allow to skip active text: If you check this option, the user can skip displayed text during cutscenes with the left mouse button.
  • Execute key actions during a dialog: If you check this option, key actions will be executed during dialogs.
  • Auto hide interfaces in menu: If you check this option, interfaces will not show up in menus. Currently visible interfaces will automatically be hidden.
  • Keep character images in memory while displaying a menu: If you check this option, all character images and animations will be kept in memory when showing a menu, so they don't have to be reloaded upon return to the previous scene.
  • Activate pixel effect: If you check this option, "nearest neighbor" interpolation will be used for image scaling. This is usually desired for low resolution games as it will not blur pixels in fullscreen mode.
  • Smooth scrolling: If you check this option, scrolling of wide scenes is softened through motion easing.


Game properties 3.png
  • Active character: Select the character which is playable on game start.
  • Intro movie/Scale movie to fullscreen: Add a movie (usually a company splash, preferably Visionaire Studio branding) that will play on game launch (after the loading screen; if provided). Check the option to scale the movie to fullscreen.
  • Fade delay [ms]: Set the default time (in milliseconds) that it takes to fade between scenes.
  • Scroll speed [pixel/sec]: Set the speed in which large scenes will be scrolled by. A higher value equals faster scrolling.
  • Sprite cache size [MB]: Set the sprite cache size (in megabytes), which stores recently loaded sprites.
  • Speech output balance [%]: Define how much speech audio output depends on the position of the speaking character. 0% means that the position doesn't matter at all, 100% means that the audio is played only by the left/right speaker, if the character is standing on the left/right side of the screen.
  • Text alignment: Define the alignment for text spoken by characters.
  • Narration text alignment: Define the alignment for narration text.
  • Disable interaction during character anim: Prevent the user from being able to interact while character animations are played.
  • Object text font: Set the default font for object text. You can define an individual font for each object text inside the respective action part though.
  • Savegame screenshot: Set an image file that serves as the screenshot thumbnail for all savegames when playing on mobile devices (taking in-game screenshots is not possible on mobile devices).
  • Video pause screen: Set in image file that serves as a video pause screen.
  • Loading screen: Set an image file that serves as a loading screen on game start (before the intro movie).
  • Wait cursor: Select the cursor which is shown while the engine is loading data (on scene change).


Game properties 4.png

Action text is the text that displays the current action and/or object names when hovering over or interacting with objects, e.g. "Door", "Look at door", "Use key with door" etc.

  • Display: Define if, how and where the action text should be displayed.
  • Font: Select the font which should be used to display the action text.
  • Rectangle: Define position and size of a box in which the action text should be displayed; only applicable if the Draw action text inside rectangle option was chosen.


Game properties 5.png
  • Music Bus: tbd
  • Sound Bus: tbd
  • Walksound Bus: tbd
  • Speech Bus: tbd
  • Additional folders: When building (compiling) the game, only asset files linked somewhere in the editor will be included. If you load files via Lua code, which are not used elsewhere in the project, this might work during development but fail in the final game, when those files are not accessible. That's why you can add additional folders whose files will be included in the game build anyway.


Mouse properties

tbd


Key actions

tbd


Game info

tbd