Difference between revisions of "Manual"

From gamevanilla wiki
Jump to: navigation, search
(How can I add a background music?)
(Manual)
Line 1: Line 1:
 +
{| style="width: 920px; horizontal-align: left;"
 +
|
 +
 
{| style="width: 920px; horizontal-align: left;"  
 
{| style="width: 920px; horizontal-align: left;"  
 
|
 
|
Line 7: Line 10:
  
 
We use a background music in the demo but we are not allowed to redistribute it, so you need to do it manually yourself. You can find the download link in the ''Credits.pdf'' file located inside the ''Sounds'' folder. Once you have downloaded the music and imported it into your project (remember to set its ''Load Type'' as ''Streaming'', which is the recommended setting for background music), you just need to drag it into the ''Audio Source'' component of the ''BackgroundMusic'' object located in the home scene.
 
We use a background music in the demo but we are not allowed to redistribute it, so you need to do it manually yourself. You can find the download link in the ''Credits.pdf'' file located inside the ''Sounds'' folder. Once you have downloaded the music and imported it into your project (remember to set its ''Load Type'' as ''Streaming'', which is the recommended setting for background music), you just need to drag it into the ''Audio Source'' component of the ''BackgroundMusic'' object located in the home scene.
 +
 +
== How can I add a new level to the map? ==
 +
 +
The level map contains a scrollable list of buttons that are used to enter the levels (in the scene's hierarchy, you can find the list in ''Canvas/LevelMap/ScrollView''. These buttons are instances of the ''LevelMapButton'' prefab, which has a ''Num Level'' property that indicates the level number:
 +
 +
https://wiki.gamevanilla.com/images/level_button_prefab.png
 +
 +
You will need to have created the corresponding level with that number with the [[Level_editor | level editor]].
  
 
|}
 
|}

Revision as of 05:53, 4 December 2017

Manual

How can I add a background music?

We use a background music in the demo but we are not allowed to redistribute it, so you need to do it manually yourself. You can find the download link in the Credits.pdf file located inside the Sounds folder. Once you have downloaded the music and imported it into your project (remember to set its Load Type as Streaming, which is the recommended setting for background music), you just need to drag it into the Audio Source component of the BackgroundMusic object located in the home scene.

How can I add a new level to the map?

The level map contains a scrollable list of buttons that are used to enter the levels (in the scene's hierarchy, you can find the list in Canvas/LevelMap/ScrollView. These buttons are instances of the LevelMapButton prefab, which has a Num Level property that indicates the level number:

level_button_prefab.png

You will need to have created the corresponding level with that number with the level editor.