Shooter
Configuration
JSON
{
"options": {
"balloons_number": 5,
"number_of_try": 3,
"image_size": 20,
"sound": false,
"sound_explosion_balloon": "",
"sound_win": "",
"sound_lose": "",
"balloon_speed_min": 10,
"balloon_speed_max": 20,
"default_lang": "fr"
},
"texts": {
"en": {},
"fr": {},
"nl": {}
},
"images": {
"balloons": [
GAME_URL + "/assets/_games/shooter/item-1.png"
],
"image_balloon_win": GAME_URL + "/assets/_games/shooter/win.png",
"image_balloon_lose": GAME_URL + "/assets/_games/shooter/lose.png",
"image_cursor": GAME_URL + "/assets/_games/shooter/cursor.png",
"background_image": GAME_URL + "/assets/shooter/background.png"
}
}Options
Key
Type
Explanation
Default
Integer
Number of items displayed.
5
Integer
Number of items to click on.
3
Integer
Size of the items (based on the x size of the game, in %).
20
Boolean
[DEPRECATED] Tells the game to use sounds or not.
false
Text
[DEPRECATED] Sound when you clic on an item.
""
Text
[DEPRECATED] Sound in case of a win.
""
Text
[DEPRECATED] Sound in case of a lose.
""
Integer
Items min speed.
10
Integer
Items max speed.
20
String
[PTF] Default language if unmatched language.
"fr"
Assets
Key
Size
Explanation
Default
150 x 150px (each)
Items to be displayed in the game (based on the balloons_number option).
150 x 150px
Image to be displayed once an item has been clicked on in case of a win.
150 x 150px
Image to be displayed once an item has been clicked on in case of a lose.
Last updated