Skip to content

Commit

Permalink
- Added Exercise support (SSGD-36)
Browse files Browse the repository at this point in the history
- Integrated Templates, Exercise, and Games Location icons from Tim
  • Loading branch information
KyleNMiller-GG committed Oct 30, 2014
1 parent 21b6bd8 commit cc6d5a9
Show file tree
Hide file tree
Showing 252 changed files with 12,635 additions and 14 deletions.
Binary file added Exercises/Exercise1/Default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Exercises/Exercise1/Exercise1.exe
Binary file not shown.
12 changes: 12 additions & 0 deletions Exercises/Exercise1/Exercise1.exercise.taml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<ModuleDefinition
ModuleId="{Exercise1}"
VersionId="1"
Description="Exercise 1"
Purchased="1"
Synchronized="1"
Dependencies="{PhysicsLauncher}=1"
Type="Exercise"
Genre="Physics"
Icon="Exercise1Icon"
Creator="GGInteractive"
/>
23 changes: 23 additions & 0 deletions Exercises/Exercise1/Game.torsion
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<TorsionProject>
<Name>iTorque2DGame</Name>
<WorkingDir/>
<EntryScript>main.cs</EntryScript>
<DebugHook>dbgSetParameters( #port#, "#password#", true );</DebugHook>
<Mods/>
<ScannerExts>cs; gui</ScannerExts>
<Configs>
<Config>
<Name>Release</Name>
<Executable>3StepStudioGame.exe</Executable>
<Arguments/>
<HasExports>true</HasExports>
<Precompile>true</Precompile>
<InjectDebugger>true</InjectDebugger>
<UseSetModPaths>false</UseSetModPaths>
</Config>
</Configs>
<SearchURL/>
<SearchProduct>TGB</SearchProduct>
<SearchVersion>HEAD</SearchVersion>
<ExecModifiedScripts>true</ExecModifiedScripts>
</TorsionProject>
Binary file added Exercises/Exercise1/OpenAL32.dll
Binary file not shown.
10 changes: 10 additions & 0 deletions Exercises/Exercise1/game/Template/ReferencedAssets.manifest.taml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<AssetManifest>
<AssetManifest.Search>
<Location
Path="^PhysicsLauncherTemplate/data/levels"
Extension="scene.taml" />
<Location
Path="^PhysicsLauncherTemplate/managed"
Extension="taml" />
</AssetManifest.Search>
</AssetManifest>
58 changes: 58 additions & 0 deletions Exercises/Exercise1/game/Template/Tags.Manifest.taml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<AssetTagsManifest>
<AssetTagsManifest.Tags>
<tag
Name="Backgrounds" />
<tag
Name="Terrain" />
<tag
Name="Projectiles" />
<tag
Name="Objects" />
<tag
Name="Win Conditions" />
</AssetTagsManifest.Tags>
<AssetTagsManifest.Assets>
<tag
assetID="{PhysicsLauncherAssets}:PL_DefaultWorldObjectAnim0"
Name="Objects" />
<tag
assetID="{PhysicsLauncherAssets}:PL_GorillaIdleProjectileAnim"
Name="Projectiles" />
<tag
assetID="{PhysicsLauncherAssets}:PL_DefaultWorldObjectAnim2"
Name="Objects" />
<tag
assetID="{PhysicsLauncherAssets}:PL_DefaultWorldObjectAnim1"
Name="Objects" />
<tag
assetID="{PhysicsLauncherAssets}:PL_DefaultBoxAnim0"
Name="Objects" />
<tag
assetID="{PhysicsLauncherAssets}:PL_BananaBunchAnim"
Name="Win Conditions" />
<tag
assetID="{PhysicsLauncherAssets}:PL_DefaultPathAnim"
Name="Projectiles" />
<tag
assetID="{PhysicsLauncherAssets}:PL_GorillaFlightProjectileAnim"
Name="Projectiles" />
<tag
assetID="{PhysicsLauncherAssets}:PL_DefaultBoxAnim1"
Name="Objects" />
<tag
assetID="{PhysicsLauncherAssets}:PL_DefaultBoxAnim2"
Name="Objects" />
<tag
assetID="{PhysicsLauncherAssets}:PL_GorillaTumbleProjectileAnim"
Name="Projectiles" />
<tag
assetID="{PhysicsLauncherAssets}:PL_DefaultDustAnim"
Name="Projectiles" />
<tag
assetID="{PhysicsLauncherAssets}:PL_DefaultWorldObjectAnim3"
Name="Objects" />
<tag
assetID="{PhysicsLauncherAssets}:PL_DefaultBoxAnim3"
Name="Objects" />
</AssetTagsManifest.Assets>
</AssetTagsManifest>
243 changes: 243 additions & 0 deletions Exercises/Exercise1/game/Template/data/levels/Level1.scene.taml
Original file line number Diff line number Diff line change
@@ -0,0 +1,243 @@
<Scene
Name="MainScene"
Gravity="0 -9.81"
layerSortMode0="Batch"
layerSortMode1="Batch"
layerSortMode2="Batch"
layerSortMode3="Batch"
layerSortMode4="Batch"
layerSortMode5="Batch"
layerSortMode6="Batch"
layerSortMode7="Batch"
layerSortMode8="Batch"
layerSortMode9="Batch"
layerSortMode10="Batch"
layerSortMode11="Batch"
layerSortMode12="Batch"
layerSortMode13="Batch"
layerSortMode14="Batch"
layerSortMode15="Z Axis"
layerSortMode16="Batch"
layerSortMode17="Batch"
layerSortMode18="Batch"
layerSortMode19="Batch"
layerSortMode20="Batch"
layerSortMode21="Batch"
layerSortMode22="Batch"
layerSortMode23="Batch"
layerSortMode24="Batch"
layerSortMode25="Batch"
layerSortMode26="Batch"
layerSortMode27="Batch"
layerSortMode28="Batch"
layerSortMode29="Batch"
layerSortMode30="Batch"
layerSortMode31="Batch"
AvailProjectile0="NewProjectile1"
cameraPosition="0 0"
cameraSize="16 12"
levelSize="32 16"
music="{PhysicsLauncherAssets}:music_gameplay_finalSound"
NumAvailable0="2"
NumAvailable1="0"
NumAvailable2="0"
NumAvailable3="0"
NumAvailable4="0"
RewardScore0="3000"
RewardScore1="3100"
RewardScore2="3200"
RewardScore3="3300"
RewardScore4="3400"
Tutorial0="NewProjectile1Tutorial"
Tutorial1="Box1Tutorial">
<Scroller
Name="Sky"
SceneLayer="31"
size="32 16"
FixedAngle="1"
BodyType="static"
Awake="0"
CollisionSuppress="1"
GravityScale="0"
ImageMap="@asset={PhysicsLauncherAssets}:SkyImageMap"
Frame="0">
<Scroller.Behaviors>
<ParallaxObjectBehavior
Id="1"
horizontalScrollSpeed="0"
verticalScrollSpeed="0"
tileable="1" />
</Scroller.Behaviors>
</Scroller>
<Scroller
Name="Background2"
SceneLayer="30"
size="32 16"
FixedAngle="1"
BodyType="static"
Awake="0"
CollisionSuppress="1"
GravityScale="0"
ImageMap="@asset={PhysicsLauncherAssets}:Background2ImageMap"
Frame="0">
<Scroller.Behaviors>
<ParallaxObjectBehavior
Id="1"
horizontalScrollSpeed="0.5"
verticalScrollSpeed="0"
tileable="1" />
</Scroller.Behaviors>
</Scroller>
<Scroller
Name="Background1"
SceneLayer="29"
size="32 16"
FixedAngle="1"
BodyType="static"
Awake="0"
CollisionSuppress="1"
GravityScale="0"
ImageMap="@asset={PhysicsLauncherAssets}:Background1ImageMap"
Frame="0">
<Scroller.Behaviors>
<ParallaxObjectBehavior
Id="1"
horizontalScrollSpeed="1"
verticalScrollSpeed="0"
tileable="1" />
</Scroller.Behaviors>
</Scroller>
<Scroller
Name="Foreground"
SceneLayer="10"
size="32 16"
FixedAngle="1"
BodyType="static"
Awake="0"
CollisionSuppress="1"
GravityScale="0"
ImageMap="@asset={PhysicsLauncherAssets}:ForegroundImageMap"
Frame="0">
<Scroller.Behaviors>
<ParallaxObjectBehavior
Id="1"
horizontalScrollSpeed="2"
verticalScrollSpeed="0"
tileable="1" />
</Scroller.Behaviors>
</Scroller>
<Sprite
Name="ground"
Prefab="WorldObjectPrefab2"
size="32 1"
Position="0 -7.5"
currentSound="15" />
<Sprite
internalName="DefaultEnemy"
Prefab="WorldObjectPrefab0"
Position="-4.23028 -3.30926"
Angle="-0.00464742"
currentSound="16" />
<Sprite
internalName="DefaultEnemy"
Prefab="WorldObjectPrefab0"
Position="-7.90599 -6.8225"
Angle="1.62409e-005"
currentSound="17" />
<Sprite
internalName="DefaultEnemy"
Prefab="WorldObjectPrefab0"
Position="-6.641 -6.8225"
Angle="2.1835e-005"
currentSound="18" />
<Sprite
internalName="DefaultBox"
Prefab="WorldObjectPrefab1"
size="3 3"
Position="-4.24617 -4.48045"
Angle="-0.00409119"
currentSound="19" />
<Sprite
internalName="DefaultBox"
Prefab="WorldObjectPrefab1"
size="3 3"
Position="-4.26371 -5.65158"
Angle="-0.00300663"
currentSound="20" />
<Sprite
internalName="DefaultBox"
Prefab="WorldObjectPrefab1"
size="3 3"
Position="-4.28051 -6.82261"
Angle="-0.000682935"
currentSound="21" />
<Trigger
Name="WorldBoundary"
class="WorldTrigger"
size="32 16"
BodyType="static"
GatherContacts="1"
CollisionCallback="1">
<Trigger.CollisionShapes>
<Polygon
Sensor="1"
Point0="16 -8"
Point1="16 8"
Point2="-16 8"
Point3="-16 -8" />
</Trigger.CollisionShapes>
</Trigger>
<SceneObject
Name="GameMaster"
BodyType="static"
Projectile0Count="2"
Projectile1Count="3"
Projectile2Count="1"
Projectile3Count="1"
Projectile4Count="3"
Score="0"
WinObjectiveCount="0">
<SceneObject.Behaviors>
<PhysicsLauncherGMBehavior
Id="1"
scoreDisplayObject="ScoreDisplay"
projectileSlot0IconObject="ProjectileSlot0"
projectileSlot0CountDisplayObject="ProjectileSlot0CountDisplay" />
</SceneObject.Behaviors>
</SceneObject>
<SceneObjectGroup
Name="LauncherSceneGroup"
internalName="Default Launcher">
<SceneObject
internalName="BuilderObject"
Prefab="LauncherObjectPrefab0"
Position="-12 -5.5" />
<SceneObject
internalName="collisionObject"
Prefab="CollisionObjectPrefab0"
size="4 4"
Position="-12 -5.5" />
<Sprite
internalName="SlingshotForegroundObject"
Prefab="ForkForgroundObjectPrefab0"
size="4 4"
Position="-12 -5.5" />
<Sprite
internalName="SlingshotBackgroundObject"
Prefab="ForkBackgroundObjectPrefab0"
size="4 4"
Position="-12 -5.5" />
<Sprite
internalName="seatObject"
Prefab="SeatObjectPrefab0"
size="1.5 1.5" />
<Sprite
internalName="BandObject0"
Prefab="Band0ObjectPrefab0"
size="1.5 0.5" />
<Sprite
internalName="BandObject1"
Prefab="Band1ObjectPrefab0"
size="1.5 0.5" />
</SceneObjectGroup>
</Scene>
Loading

0 comments on commit cc6d5a9

Please sign in to comment.