Initial check in to GitHub.

This commit is contained in:
Steve 2015-10-20 12:51:49 +01:00
parent 30664b41c5
commit 24bf15ce09
195 changed files with 10413 additions and 0 deletions

5
.gitignore vendored
View File

@ -27,6 +27,11 @@
*.i*86
*.x86_64
*.hex
tbftss
# Debug files
*.dSYM/
# folders
dist
dev

View File

@ -1,2 +1,33 @@
# tbftss
2D mission-based space shooter, based on the Battle for the Solar System space opera trilogy.
CREDITS
GRAPHICS
gfx/planets/earth.png - modified from the the Blue Marble NASA photograph: http://visibleearth.nasa.gov/view.php?id=57723
All other graphics are CC BY-NC-SA 3.0, with the following attribution: Copyright 2015, Stephen J Sweeney | www.battleforthesolarsystem.com
SOUND
35677__jobro__laser1.ogg - Laser 1, by jobro - https://freesound.org/people/jobro/sounds/35677/
42106__marcuslee__laser-wrath-4.ogg - Laser Wrath 4, by marcusless - https://freesound.org/people/marcuslee/sounds/42106/
47252__nthompson__bad-explosion.ogg - bad explosion, by nthompson - https://freesound.org/people/nthompson/sounds/47252/
77087__supraliminal__laser-short.ogg - Laser short, by Supraliminal - https://freesound.org/people/Supraliminal/sounds/77087/
162265__qubodup__explosive.ogg - Explosive, by qubodup - https://freesound.org/people/qubodup/sounds/162265/
207322__animationisaac__short-explosion.ogg - Short explosion, by animationIsaac - https://freesound.org/people/animationIsaac/sounds/207322/
254071__tb0y298__firework-explosion.ogg - Firework Explosion, by TB0Y298 - https://freesound.org/people/TB0Y298/sounds/254071/
263621__jamesabdulrahman__permission-to-panic.ogg - Permission to panic?, by jamesabdulrahman - https://freesound.org/people/jamesabdulrahman/sounds/263621/
268344__julien-matthey__jm-noiz-laser-01.ogg - JM_NOIZ_Laser 01.wav, by Julien Matthey - https://freesound.org/people/Julien%20Matthey/sounds/268344/
275151__bird-man__gun-shot.ogg - Gun Shot.wav, by Bird_man - https://freesound.org/people/Bird_man/sounds/275151/
MUSIC
Battle in the winter.mp3, by Johan Brodd - http://opengameart.org/content/battle-in-the-winter
battleThemeA.mp3, by cynicmusic.com | pixelsphere.org - http://opengameart.org/content/battle-theme-a
determination.mp3, by artisticdude - http://opengameart.org/content/determination
heroism.ogg, by Edward J. Blakeley (http://www.edwardblakeley.com/) - http://opengameart.org/content/heroism
Pressure.ogg, by yd - http://opengameart.org/content/pressure
Rise of Spirit, by Alexandr Zhelanov - https://soundcloud.com/alexandr-zhelanov
Showdown.mp3, by el-corleo - http://opengameart.org/content/showdown

8
data/app/config.json Normal file
View File

@ -0,0 +1,8 @@
{
"winWidth" : 1280,
"winHeight" : 720,
"vSync" : 1,
"fullscreen" : 0,
"musicVolume" : 8,
"soundVolume" : 10
}

25
data/battle/bullets.json Normal file
View File

@ -0,0 +1,25 @@
[
{
"type" : "BT_PARTICLE",
"damage" : 1,
"textureName" : "gfx/bullets/particleBolt.png",
"sound" : "SND_PARTICLE",
"flags" : "BF_NONE"
},
{
"type" : "BT_PLASMA",
"damage" : 3,
"textureName" : "gfx/bullets/plasmaBolt.png",
"sound" : "SND_PLASMA",
"flags" : "BF_NONE"
},
{
"type" : "BT_MISSILE",
"damage" : 25,
"textureName" : "gfx/bullets/missile.png",
"sound" : "SND_PLASMA",
"flags" : "BF_ENGINE"
}
]

41
data/fighters/ataf.json Normal file
View File

@ -0,0 +1,41 @@
{
"name" : "ATAF",
"health" : 50,
"shield" : 9999,
"speed" : 3,
"reloadTime" : 6,
"shieldRechargeRate" : 5,
"textureName" : "gfx/fighters/ataf.png",
"guns" : [
{
"type" : "BT_PLASMA",
"x" : -5,
"y" : 0
},
{
"type" : "BT_PLASMA",
"x" : 5,
"y" : 0
},
{
"type" : "BT_PLASMA",
"x" : 9,
"y" : -4
},
{
"type" : "BT_PLASMA",
"x" : -9,
"y" : -4
},
{
"type" : "BT_PLASMA",
"x" : 13,
"y" : -8
},
{
"type" : "BT_PLASMA",
"x" : -13,
"y" : -8
}
]
}

21
data/fighters/dart.json Normal file
View File

@ -0,0 +1,21 @@
{
"name" : "Dart",
"health" : 10,
"shield" : 0,
"speed" : 3,
"reloadTime" : 24,
"shieldRechargeRate" : 0,
"textureName" : "gfx/fighters/dart01.png",
"guns" : [
{
"type" : "BT_PARTICLE",
"x" : -8,
"y" : 0
},
{
"type" : "BT_PARTICLE",
"x" : 8,
"y" : 0
}
]
}

16
data/fighters/jackal.json Normal file
View File

@ -0,0 +1,16 @@
{
"name" : "Jackal",
"health" : 50,
"shield" : 50,
"speed" : 2,
"reloadTime" : 14,
"shieldRechargeRate" : 45,
"textureName" : "gfx/fighters/jackal.png",
"guns" : [
{
"type" : "BT_PLASMA",
"x" : 0,
"y" : 0
}
]
}

10
data/fighters/list.json Normal file
View File

@ -0,0 +1,10 @@
[
"data/fighters/ataf.json",
"data/fighters/dart.json",
"data/fighters/jackal.json",
"data/fighters/simpleDart.json",
"data/fighters/sphinx.json",
"data/fighters/staticDart.json",
"data/fighters/taf.json",
"data/fighters/unarmedDart.json"
]

View File

@ -0,0 +1,21 @@
{
"name" : "SimpleDart",
"health" : 10,
"shield" : 0,
"speed" : 3,
"reloadTime" : 24,
"shieldRechargeRate" : 0,
"textureName" : "gfx/fighters/dart01.png",
"guns" : [
{
"type" : "BT_PARTICLE",
"x" : -8,
"y" : 0
},
{
"type" : "BT_PARTICLE",
"x" : 8,
"y" : 0
}
]
}

16
data/fighters/sphinx.json Normal file
View File

@ -0,0 +1,16 @@
{
"name" : "Sphinx",
"health" : 75,
"shield" : 50,
"speed" : 1.75,
"reloadTime" : 14,
"shieldRechargeRate" : 60,
"textureName" : "gfx/fighters/sphinx.png",
"guns" : [
{
"type" : "BT_PLASMA",
"x" : 0,
"y" : 0
}
]
}

View File

@ -0,0 +1,9 @@
{
"name" : "StaticDart",
"health" : 10,
"shield" : 0,
"speed" : 0,
"reloadTime" : 24,
"shieldRechargeRate" : 0,
"textureName" : "gfx/fighters/dart01.png"
}

25
data/fighters/taf.json Normal file
View File

@ -0,0 +1,25 @@
{
"name" : "TAF",
"health" : 25,
"shield" : 25,
"speed" : 2,
"reloadTime" : 16,
"shieldRechargeRate" : 50,
"textureName" : "gfx/fighters/taf.png",
"guns" : [
{
"type" : "BT_PLASMA",
"x" : -12,
"y" : -12
},
{
"type" : "BT_PLASMA",
"x" : 12,
"y" : -12
}
],
"missiles" : {
"type" : "MISSILE_MISSILE",
"ammo" : 4
}
}

View File

@ -0,0 +1,9 @@
{
"name" : "UnarmedDart",
"health" : 10,
"shield" : 0,
"speed" : 3,
"reloadTime" : 24,
"shieldRechargeRate" : 0,
"textureName" : "gfx/fighters/dart01.png"
}

Binary file not shown.

View File

@ -0,0 +1,280 @@
{
"starSystems": [
{
"name": "Sol",
"side" : "SIDE_CSN",
"x": 840,
"y": 425,
"missions" : [
"data/missions/sol/01 - free flight.json",
"data/missions/sol/02 - weapons.json",
"data/missions/sol/03 - moving target.json",
"data/missions/sol/04 - real target.json",
"data/missions/sol/05 - wingmates.json",
"data/missions/sol/06 - final.json"
]
},
{
"name": "Alpha Centauri",
"side" : "SIDE_CSN",
"x": 860,
"y": 404,
"missions" : []
},
{
"name": "Ecuador Minor",
"side" : "SIDE_CSN",
"x": 831,
"y": 333,
"missions" : []
},
{
"name": "Angel",
"side" : "SIDE_CSN",
"x": 690,
"y": 305,
"missions" : []
},
{
"name": "Indigo",
"side" : "SIDE_CSN",
"x": 760,
"y": 270,
"missions" : []
},
{
"name": "Rex",
"side" : "SIDE_CSN",
"x": 834,
"y": 276,
"missions" : []
},
{
"name": "Gabriel",
"side" : "SIDE_CSN",
"x": 860,
"y": 170,
"missions" : []
},
{
"name": "Darlon",
"side" : "SIDE_CSN",
"x": 808,
"y": 190,
"missions" : []
},
{
"name": "Granada",
"side" : "SIDE_CSN",
"x": 741,
"y": 221,
"missions" : []
},
{
"name": "Parish",
"side" : "SIDE_CSN",
"x": 666,
"y": 261,
"missions" : []
},
{
"name": "Temper",
"side" : "SIDE_CSN",
"x": 595,
"y": 260,
"missions" : [
"data/missions/temper/01 - pirate uprising #1.json",
"data/missions/temper/02 - pirate uprising #2.json"
]
},
{
"name": "Lenon",
"side" : "SIDE_CSN",
"x": 655,
"y": 180,
"missions" : []
},
{
"name": "HD 21563010",
"side" : "SIDE_CSN",
"x": 813,
"y": 54,
"missions" : []
},
{
"name": "Trilliack",
"side" : "SIDE_UNF",
"x": 501,
"y": 312,
"missions" : []
},
{
"name": "Alba",
"side" : "SIDE_UNF",
"x": 465,
"y": 235,
"missions" : []
},
{
"name": "Aster",
"side" : "SIDE_UNF",
"x": 445,
"y": 145,
"missions" : []
},
{
"name": "Iliad",
"side" : "SIDE_UNF",
"x": 335,
"y": 135,
"missions" : []
},
{
"name": "Warro",
"side" : "SIDE_UNF",
"x": 289,
"y": 216,
"missions" : []
},
{
"name": "Coyote",
"side" : "SIDE_UNF",
"x": 325,
"y": 385,
"missions" : []
},
{
"name": "Rothan",
"side" : "SIDE_UNF",
"x": 366,
"y": 298,
"missions" : []
},
{
"name": "Donesta",
"side" : "SIDE_UNF",
"x": 527,
"y": 161,
"missions" : []
},
{
"name": "India",
"side" : "SIDE_UNF",
"x": 539,
"y": 427,
"missions" : []
},
{
"name": "Antomis",
"side" : "SIDE_UNF",
"x": 582,
"y": 115,
"missions" : []
},
{
"name": "Mace",
"side" : "SIDE_UNF",
"x": 444,
"y": 359,
"missions" : []
},
{
"name": "Clarke",
"side" : "SIDE_UNF",
"x": 398,
"y": 84,
"missions" : []
},
{
"name": "Adetton",
"side" : "SIDE_INF",
"x": 228,
"y": 228,
"missions" : []
},
{
"name": "Atlante",
"side" : "SIDE_INF",
"x": 212,
"y": 85,
"missions" : []
},
{
"name": "Carthege",
"side" : "SIDE_INF",
"x": 163,
"y": 122,
"missions" : []
},
{
"name": "Codexa",
"side" : "SIDE_INF",
"x": 195,
"y": 101,
"missions" : []
},
{
"name": "Haylahe",
"side" : "SIDE_INF",
"x": 204,
"y": 132,
"missions" : []
},
{
"name": "Kethlan",
"side" : "SIDE_INF",
"x": 95,
"y": 95,
"missions" : []
},
{
"name": "Krasst",
"side" : "SIDE_INF",
"x": 135,
"y": 305,
"missions" : []
},
{
"name": "Mekel",
"side" : "SIDE_INF",
"x": 228,
"y": 113,
"missions" : []
},
{
"name": "Phylent",
"side" : "SIDE_INF",
"x": 275,
"y": 165,
"missions" : []
},
{
"name": "Sampi-Persei VII",
"side" : "SIDE_INF",
"x": 342,
"y": 182,
"missions" : []
},
{
"name": "Tigris",
"side" : "SIDE_INF",
"x": 269,
"y": 274,
"missions" : []
},
{
"name": "Troy",
"side" : "SIDE_INF",
"x": 107,
"y": 269,
"missions" : []
},
{
"name": "Pearl",
"side" : "SIDE_INF",
"x": 133,
"y": 215,
"missions" : []
}
]
}

View File

@ -0,0 +1,13 @@
{
"name" : "Free Flight",
"description" : "A simple test flight. Get used to piloting your fighter, without threat of attack or any other dangers to face. There are no objectives to complete in this mission, so you may quit it at any time and move on to the next one.",
"background" : "gfx/backgrounds/background03.jpg",
"planet" : "gfx/planets/earth.png",
"music" : "music/Battle in the winter.mp3",
"player" : {
"type" : "TAF",
"side" : "SIDE_ALLIES",
"pilot" : "Jim Goddard",
"squadron" : "Midnight Runners"
}
}

View File

@ -0,0 +1,29 @@
{
"name" : "Weapons Training",
"description" : "Practice using your fighter's weapons against a stationary target.",
"background" : "gfx/backgrounds/background03.jpg",
"planet" : "gfx/planets/earth.png",
"music" : "music/Battle in the winter.mp3",
"objectives" : [
{
"description" : "Destroy Dart",
"targetName" : "Dart",
"targetValue" : 1
}
],
"player" : {
"type" : "TAF",
"side" : "SIDE_ALLIES",
"pilot" : "Jim Goddard",
"squadron" : "Midnight Runners"
},
"fighters" : [
{
"name" : "Dart",
"type" : "StaticDart",
"side" : "SIDE_PIRATE",
"x" : 800,
"y" : 200
}
]
}

View File

@ -0,0 +1,29 @@
{
"name" : "Moving Target",
"description" : "Most targets you face in the field will be moving. This course gives you the chance to practice taking down an enemy that moves around.",
"background" : "gfx/backgrounds/background03.jpg",
"planet" : "gfx/planets/earth.png",
"music" : "music/Battle in the winter.mp3",
"objectives" : [
{
"description" : "Eliminate Dart",
"targetName" : "Dart",
"targetValue" : 1
}
],
"player" : {
"type" : "TAF",
"side" : "SIDE_ALLIES",
"pilot" : "Jim Goddard",
"squadron" : "Midnight Runners"
},
"fighters" : [
{
"name" : "Dart",
"type" : "UnarmedDart",
"side" : "SIDE_PIRATE",
"x" : 640,
"y" : 0
}
]
}

View File

@ -0,0 +1,29 @@
{
"name" : "Active Target",
"description" : "Face off against an opponent that is armed. The enemy in this course is a Dart, kitted out with twin particle cannons. It shouldn't prove too difficult a challenge.",
"background" : "gfx/backgrounds/background03.jpg",
"planet" : "gfx/planets/earth.png",
"music" : "music/Battle in the winter.mp3",
"objectives" : [
{
"description" : "Eliminate Dart",
"targetName" : "Dart",
"targetValue" : 1
}
],
"player" : {
"type" : "TAF",
"side" : "SIDE_ALLIES",
"pilot" : "Jim Goddard",
"squadron" : "Midnight Runners"
},
"fighters" : [
{
"name" : "Dart",
"type" : "SimpleDart",
"side" : "SIDE_PIRATE",
"x" : 640,
"y" : -1000
}
]
}

View File

@ -0,0 +1,57 @@
{
"name" : "Wingmates",
"description" : "Battle along side two team mates to take on 3 enemy fighters.",
"background" : "gfx/backgrounds/background03.jpg",
"planet" : "gfx/planets/earth.png",
"music" : "music/Battle in the winter.mp3",
"objectives" : [
{
"description" : "Eliminate Darts",
"targetName" : "Dart",
"targetValue" : 3
}
],
"player" : {
"type" : "TAF",
"side" : "SIDE_ALLIES",
"pilot" : "Jim Goddard",
"squadron" : "Midnight Runners"
},
"fighters" : [
{
"name" : "TAF",
"type" : "TAF",
"side" : "SIDE_ALLIES",
"x" : 440,
"y" : 480
},
{
"name" : "TAF",
"type" : "TAF",
"side" : "SIDE_ALLIES",
"x" : 840,
"y" : 480
},
{
"name" : "Dart",
"type" : "SimpleDart",
"side" : "SIDE_PIRATE",
"x" : 2640,
"y" : -1500
},
{
"name" : "Dart",
"type" : "SimpleDart",
"side" : "SIDE_PIRATE",
"x" : 2640,
"y" : -1500
},
{
"name" : "Dart",
"type" : "SimpleDart",
"side" : "SIDE_PIRATE",
"x" : 2640,
"y" : -1500
}
]
}

View File

@ -0,0 +1,57 @@
{
"name" : "3 Against 1",
"description" : "Take on three enemy targets single handedly. Once again, these are Darts equipped with simple particle cannons. A single TAF should not find itself outclassed here, so long as the enemy are not allowed to gain the upper hand.",
"background" : "gfx/backgrounds/background03.jpg",
"planet" : "gfx/planets/earth.png",
"music" : "music/Battle in the winter.mp3",
"objectives" : [
{
"description" : "Eliminate Darts",
"targetName" : "Dart",
"targetValue" : 3
}
],
"challenges" : [
{
"type" : "CHALLENGE_ARMOUR",
"targetValue" : 100
},
{
"type" : "CHALLENGE_TIME",
"targetValue" : 30
},
{
"type" : "CHALLENGE_ACCURACY",
"targetValue" : 25
}
],
"player" : {
"type" : "TAF",
"side" : "SIDE_ALLIES",
"pilot" : "Jim Goddard",
"squadron" : "Midnight Runners"
},
"fighters" : [
{
"name" : "Dart",
"type" : "SimpleDart",
"side" : "SIDE_PIRATE",
"x" : 640,
"y" : -1500
},
{
"name" : "Dart",
"type" : "SimpleDart",
"side" : "SIDE_PIRATE",
"x" : 640,
"y" : -1500
},
{
"name" : "Dart",
"type" : "SimpleDart",
"side" : "SIDE_PIRATE",
"x" : 640,
"y" : -1500
}
]
}

View File

@ -0,0 +1,68 @@
{
"name" : "Pirate Uprising #1",
"description" : "The Pandoran's push in to Independent space has led to a surge in pirate activity along the Confederation border. The threat needs to be dealt with immediately, starting with cutting back on the enemy presense at Temper.",
"background" : "gfx/backgrounds/background03.jpg",
"planet" : "gfx/planets/spirit.png",
"music" : "music/battleThemeA.mp3",
"objectives" : [
{
"description" : "Eliminate Darts",
"targetName" : "Dart",
"targetValue" : 30
}
],
"challenges" : [
{
"type" : "CHALLENGE_NO_LOSSES",
"targetValue" : 0
},
{
"type" : "CHALLENGE_ARMOUR",
"targetValue" : 100
},
{
"type" : "CHALLENGE_PLAYER_KILLS",
"targetValue" : 15
}
],
"player" : {
"type" : "TAF",
"side" : "SIDE_ALLIES",
"pilot" : "Katherine Strickland",
"squadron" : "Steel Bulls"
},
"fighterGroups" : [
{
"name" : "Ally",
"type" : "TAF",
"number" : 4,
"side" : "SIDE_ALLIES",
"x" : 0,
"y" : 0
},
{
"type" : "SimpleDart",
"name" : "Dart",
"number" : 10,
"side" : "SIDE_PIRATE",
"x" : 1000,
"y" : 5000
},
{
"type" : "SimpleDart",
"name" : "Dart",
"number" : 10,
"side" : "SIDE_PIRATE",
"x" : -3000,
"y" : -3000
},
{
"type" : "Dart",
"name" : "Dart",
"number" : 10,
"side" : "SIDE_PIRATE",
"x" : 0,
"y" : -6000
}
]
}

View File

@ -0,0 +1,68 @@
{
"name" : "Pirate Uprising #2",
"description" : "Despite recent efforts, the pirate and insurgent activity shows no sign of abating. We need to continue to smash the rings as we find them and prevent them from gaining a foothold in Temper, as this could only be bad for morale and the war effort. While we still face Darts, the modifications to these craft are becoming more prevelant, and there are more shielded and plasma-equipped fighters to be found in their ranks.",
"background" : "gfx/backgrounds/background03.jpg",
"planet" : "gfx/planets/spirit.png",
"music" : "music/battleThemeA.mp3",
"objectives" : [
{
"description" : "Eliminate Darts",
"targetName" : "Dart",
"targetValue" : 36
}
],
"challenges" : [
{
"type" : "CHALLENGE_1_LOSS",
"targetValue" : 0
},
{
"type" : "CHALLENGE_ARMOUR",
"targetValue" : 80
},
{
"type" : "CHALLENGE_PLAYER_KILLS",
"targetValue" : 10
}
],
"player" : {
"type" : "TAF",
"side" : "SIDE_ALLIES",
"pilot" : "Katherine Strickland",
"squadron" : "Steel Bulls"
},
"fighterGroups" : [
{
"name" : "Ally",
"type" : "TAF",
"number" : 4,
"side" : "SIDE_ALLIES",
"x" : 0,
"y" : 0
},
{
"type" : "Dart",
"name" : "Dart",
"number" : 12,
"side" : "SIDE_PIRATE",
"x" : -3000,
"y" : 0
},
{
"type" : "Dart",
"name" : "Dart",
"number" : 12,
"side" : "SIDE_PIRATE",
"x" : 4000,
"y" : 0
},
{
"type" : "Dart",
"name" : "Dart",
"number" : 12,
"side" : "SIDE_PIRATE",
"x" : 0,
"y" : 6000
}
]
}

View File

@ -0,0 +1,90 @@
{
"name" : "Operation Menelaus",
"description" : "",
"background" : "gfx/backgrounds/background03.jpg",
"planet" : "gfx/planets/spirit.png",
"music" : "music/battleThemeA.mp3",
"objectives" : [
{
"description" : "Eliminate Enemies",
"targetName" : "Enemy",
"targetValue" : 100
}
],
"challenges" : [
{
"type" : "CHALLENGE_NO_LOSSES",
"targetValue" : 0
},
{
"type" : "CHALLENGE_ARMOUR",
"targetValue" : 80
},
{
"type" : "CHALLENGE_PLAYER_KILLS",
"targetValue" : 25
}
],
"player" : {
"type" : "ATAF",
"side" : "SIDE_CSN"
},
"fighterGroups" : [
{
"name" : "Ally",
"type" : "TAF",
"number" : 16,
"side" : "SIDE_CSN",
"x" : 0,
"y" : 0
},
{
"type" : "Jackal",
"name" : "Enemy",
"number" : 10,
"side" : "SIDE_PIRATE",
"x" : 1000,
"y" : 5000
},
{
"type" : "Jackal",
"name" : "Enemy",
"number" : 10,
"side" : "SIDE_PIRATE",
"x" : 2500,
"y" : 5000
},
{
"type" : "Jackal",
"name" : "Enemy",
"number" : 10,
"side" : "SIDE_PIRATE",
"x" : 4000,
"y" : 5000
},
{
"type" : "Sphinx",
"name" : "Enemy",
"number" : 10,
"side" : "SIDE_PIRATE",
"x" : -1000,
"y" : 5000
},
{
"type" : "Sphinx",
"name" : "Enemy",
"number" : 10,
"side" : "SIDE_PIRATE",
"x" : -2500,
"y" : 5000
},
{
"type" : "Sphinx",
"name" : "Enemy",
"number" : 10,
"side" : "SIDE_PIRATE",
"x" : -5000,
"y" : 5000
}
]
}

View File

@ -0,0 +1,22 @@
[
{
"name" : "retry",
"group" : "battleLost",
"type" : "WT_BUTTON",
"text" : "Retry",
"x" : 490,
"y" : 680,
"w" : 150,
"h": 34
},
{
"name" : "quit",
"group" : "battleLost",
"type" : "WT_BUTTON",
"text" : "Quit",
"x" : 790,
"y" : 680,
"w" : 150,
"h": 34
}
]

View File

@ -0,0 +1,22 @@
[
{
"name" : "continue",
"group" : "battleWon",
"type" : "WT_BUTTON",
"text" : "Continue",
"x" : 490,
"y" : 680,
"w" : 150,
"h": 34
},
{
"name" : "retry",
"group" : "battleWon",
"type" : "WT_BUTTON",
"text" : "Retry",
"x" : 790,
"y" : 680,
"w" : 150,
"h": 34
}
]

View File

@ -0,0 +1,43 @@
[
{
"name" : "resume",
"group" : "galacticMap",
"type" : "WT_BUTTON",
"text" : "Resume",
"x" : -1,
"y" : 215,
"w" : 200,
"h": 34
},
{
"name" : "stats",
"group" : "galacticMap",
"type" : "WT_BUTTON",
"text" : "Stats",
"x" : -1,
"y" : 315,
"w" : 200,
"h": 34
},
{
"name" : "options",
"group" : "galacticMap",
"type" : "WT_BUTTON",
"text" : "Options",
"x" : -1,
"y" : 415,
"w" : 200,
"h": 34
},
{
"name" : "quit",
"group" : "galacticMap",
"type" : "WT_BUTTON",
"text" : "Return to Title",
"x" : -1,
"y" : 515,
"w" : 200,
"h": 34
}
]

View File

@ -0,0 +1,43 @@
[
{
"name" : "resume",
"group" : "inBattle",
"type" : "WT_BUTTON",
"text" : "Resume",
"x" : -1,
"y" : 215,
"w" : 200,
"h": 34
},
{
"name" : "options",
"group" : "inBattle",
"type" : "WT_BUTTON",
"text" : "Options",
"x" : -1,
"y" : 315,
"w" : 200,
"h": 34
},
{
"name" : "restart",
"group" : "inBattle",
"type" : "WT_BUTTON",
"text" : "Restart",
"x" : -1,
"y" : 415,
"w" : 200,
"h": 34
},
{
"name" : "quit",
"group" : "inBattle",
"type" : "WT_BUTTON",
"text" : "Quit",
"x" : -1,
"y" : 515,
"w" : 200,
"h": 34
}
]

11
data/widgets/list.json Normal file
View File

@ -0,0 +1,11 @@
[
"data/widgets/galacticMap.json",
"data/widgets/okCancel.json",
"data/widgets/startBattle.json",
"data/widgets/inBattle.json",
"data/widgets/battleWon.json",
"data/widgets/battleLost.json",
"data/widgets/title.json",
"data/widgets/options.json",
"data/widgets/stats.json"
]

View File

@ -0,0 +1,22 @@
[
{
"name" : "ok",
"group" : "okCancel",
"type" : "WT_BUTTON",
"text" : "OK",
"x" : 490,
"y" : 680,
"w" : 150,
"h": 34
},
{
"name" : "cancel",
"group" : "okCancel",
"type" : "WT_BUTTON",
"text" : "Cancel",
"x" : 790,
"y" : 680,
"w" : 150,
"h": 34
}
]

67
data/widgets/options.json Normal file
View File

@ -0,0 +1,67 @@
[
{
"name" : "windowSize",
"group" : "options",
"type" : "WT_SELECT",
"text" : "Window Size",
"options" : "640 x 360;1280 x 720;1600 x 900;1920 x 1080",
"x" : -1,
"y" : 175,
"w" : 400,
"h": 34
},
{
"name" : "soundVolume",
"group" : "options",
"type" : "WT_SELECT",
"text" : "Sound Volume",
"options" : "0;1;2;3;4;5;6;7;8;9;10",
"x" : -1,
"y" : 250,
"w" : 400,
"h": 34
},
{
"name" : "musicVolume",
"group" : "options",
"type" : "WT_SELECT",
"text" : "Music Volume",
"options" : "0;1;2;3;4;5;6;7;8;9;10",
"x" : -1,
"y" : 325,
"w" : 400,
"h": 34
},
{
"name" : "fullscreen",
"group" : "options",
"type" : "WT_SELECT",
"text" : "Fullscreen",
"options" : "Off;On",
"x" : -1,
"y" : 400,
"w" : 400,
"h": 34
},
{
"name" : "vSync",
"group" : "options",
"type" : "WT_SELECT",
"text" : "VSync",
"options" : "Off;On",
"x" : -1,
"y" : 475,
"w" : 400,
"h": 34
},
{
"name" : "ok",
"group" : "options",
"type" : "WT_BUTTON",
"text" : "OK",
"x" : -1,
"y" : 625,
"w" : 100,
"h": 34
}
]

View File

@ -0,0 +1,12 @@
[
{
"name" : "ok",
"group" : "startBattle",
"type" : "WT_BUTTON",
"text" : "OK",
"x" : 640,
"y" : 680,
"w" : 150,
"h": 34
}
]

12
data/widgets/stats.json Normal file
View File

@ -0,0 +1,12 @@
[
{
"name" : "ok",
"group" : "stats",
"type" : "WT_BUTTON",
"text" : "OK",
"x" : 640,
"y" : 635,
"w" : 150,
"h": 34
}
]

42
data/widgets/title.json Normal file
View File

@ -0,0 +1,42 @@
[
{
"name" : "newGame",
"group" : "title",
"type" : "WT_BUTTON",
"text" : "New Game",
"x" : -1,
"y" : 250,
"w" : 200,
"h": 34
},
{
"name" : "continue",
"group" : "title",
"type" : "WT_BUTTON",
"text" : "Continue",
"x" : -1,
"y" : 350,
"w" : 200,
"h": 34
},
{
"name" : "options",
"group" : "title",
"type" : "WT_BUTTON",
"text" : "Options",
"x" : -1,
"y" : 450,
"w" : 200,
"h": 34
},
{
"name" : "quit",
"group" : "title",
"type" : "WT_BUTTON",
"text" : "Quit",
"x" : -1,
"y" : 550,
"w" : 200,
"h": 34
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
gfx/battle/explosion.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
gfx/battle/halo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
gfx/battle/missionStart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
gfx/battle/shieldHit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
gfx/bullets/magBolt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 B

BIN
gfx/bullets/missile.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

BIN
gfx/bullets/plasmaBolt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
gfx/fighters/ataf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
gfx/fighters/dart01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
gfx/fighters/dart02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
gfx/fighters/dart03.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
gfx/fighters/dart04.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
gfx/fighters/dart05.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
gfx/fighters/dart06.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
gfx/fighters/dart07.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
gfx/fighters/firefly.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
gfx/fighters/hammerhead.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
gfx/fighters/hyena.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
gfx/fighters/jackal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
gfx/fighters/khepri.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
gfx/fighters/kingfisher.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
gfx/fighters/leopard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
gfx/fighters/mantis.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
gfx/fighters/nymph.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
gfx/fighters/plasmaODP.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
gfx/fighters/ray.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
gfx/fighters/rocketODP.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
gfx/fighters/rook.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
gfx/fighters/scarab.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
gfx/fighters/sphinx.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
gfx/fighters/taf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 902 B

BIN
gfx/galaxy/starSystem.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 B

BIN
gfx/hud/smallFighter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

BIN
gfx/hud/targetCircle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

BIN
gfx/hud/targetPointer.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

BIN
gfx/planets/adelaide.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
gfx/planets/al-Elfia.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
gfx/planets/arlos.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
gfx/planets/bluePlanet.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
gfx/planets/diso.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
gfx/planets/earth.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
gfx/planets/henninger.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
gfx/planets/hyanik.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
gfx/planets/kaiser.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
gfx/planets/kethlan.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
gfx/planets/mythos.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
gfx/planets/oracleIX.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
gfx/planets/peri.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
gfx/planets/sky.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
gfx/planets/spirit.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
gfx/planets/tigibel.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
gfx/planets/tilli.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
gfx/planets/torelli.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
gfx/planets/xalan.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

BIN
gfx/title/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
gfx/title/pandoran.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Some files were not shown because too many files have changed in this diff Show More