Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create csproj & sln, update main scene file. #2

Merged
merged 1 commit into from
Nov 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
!*.csproj
!*.sln
67 changes: 67 additions & 0 deletions coa.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{DCAAD19B-C08C-4F81-9ABF-62976EB0B26E}</ProjectGuid>
<OutputType>Library</OutputType>
<OutputPath>.mono/temp/bin/$(Configuration)</OutputPath>
<RootNamespace>coa</RootNamespace>
<AssemblyName>coa</AssemblyName>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<GodotProjectGeneratorVersion>1.0.0.0</GodotProjectGeneratorVersion>
<BaseIntermediateOutputPath>.mono/temp/obj</BaseIntermediateOutputPath>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)/$(Configuration)</IntermediateOutputPath>
<ApiConfiguration Condition=" '$(Configuration)' != 'ExportRelease' ">Debug</ApiConfiguration>
<ApiConfiguration Condition=" '$(Configuration)' == 'ExportRelease' ">Release</ApiConfiguration>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ExportDebug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ExportRelease|AnyCPU' ">
<DebugType>portable</DebugType>
<Optimize>true</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(GodotDefineConstants);GODOT;DEBUG;TOOLS;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies">
<Version>1.0.0</Version>
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<Reference Include="GodotSharp">
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="GodotSharpEditor" Condition=" '$(Configuration)' == 'Debug' ">
<HintPath>$(ProjectDir)/.mono/assemblies/$(ApiConfiguration)/GodotSharpEditor.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Cliffs.cs" />
<Compile Include="Player.cs" />
<Compile Include="TileSet.cs" />
<Compile Include="Tools.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>
19 changes: 19 additions & 0 deletions coa.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "coa", "coa.csproj", "{DCAAD19B-C08C-4F81-9ABF-62976EB0B26E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
ExportDebug|Any CPU = ExportDebug|Any CPU
ExportRelease|Any CPU = ExportRelease|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DCAAD19B-C08C-4F81-9ABF-62976EB0B26E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DCAAD19B-C08C-4F81-9ABF-62976EB0B26E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DCAAD19B-C08C-4F81-9ABF-62976EB0B26E}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
{DCAAD19B-C08C-4F81-9ABF-62976EB0B26E}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
{DCAAD19B-C08C-4F81-9ABF-62976EB0B26E}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
{DCAAD19B-C08C-4F81-9ABF-62976EB0B26E}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
EndGlobalSection
EndGlobal
34 changes: 17 additions & 17 deletions main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -169,28 +169,28 @@ extents = Vector2( 960, 64 )
[sub_resource type="RectangleShape2D" id=33]
extents = Vector2( 960, 64 )

[sub_resource type="RectangleShape2D" id=38]
[sub_resource type="RectangleShape2D" id=34]
extents = Vector2( 960, 1920 )

[sub_resource type="RectangleShape2D" id=39]
[sub_resource type="RectangleShape2D" id=35]
extents = Vector2( 960, 64 )

[sub_resource type="RectangleShape2D" id=40]
[sub_resource type="RectangleShape2D" id=36]
extents = Vector2( 960, 64 )

[sub_resource type="RectangleShape2D" id=41]
[sub_resource type="RectangleShape2D" id=37]
extents = Vector2( 960, 64 )

[sub_resource type="RectangleShape2D" id=42]
[sub_resource type="RectangleShape2D" id=38]
extents = Vector2( 960, 64 )

[sub_resource type="RectangleShape2D" id=43]
[sub_resource type="RectangleShape2D" id=39]
extents = Vector2( 64, 4288 )

[sub_resource type="RectangleShape2D" id=44]
[sub_resource type="RectangleShape2D" id=40]
extents = Vector2( 64, 4288 )

[sub_resource type="RectangleShape2D" id=45]
[sub_resource type="RectangleShape2D" id=41]
extents = Vector2( 63.9966, 960 )

[node name="Main Scene" type="Node2D"]
Expand All @@ -216,7 +216,7 @@ __meta__ = {
scale = Vector2( 8, 8 )
frames = SubResource( 26 )
animation = "player_idle_left"
frame = 3
frame = 2
playing = true

[node name="Camera2D" type="Camera2D" parent="Player" groups=[
Expand Down Expand Up @@ -412,7 +412,7 @@ tile_data = PoolIntArray( -3735549, 2, 0, 131072, 23, 0, 131073, 22, 0, 131074,
]]
visible = false
position = Vector2( 960, 2176 )
shape = SubResource( 38 )
shape = SubResource( 34 )

[node name="Lower Cliffs Top Ground Static Collider" type="StaticBody2D" parent="Lower Cliffs" groups=[
"Cliffs",
Expand All @@ -430,7 +430,7 @@ collision_mask = 29
"Ground",
]]
position = Vector2( 0, -1856 )
shape = SubResource( 39 )
shape = SubResource( 35 )
one_way_collision = true

[node name="Lower Cliffs Top Ground Area Collider" type="Area2D" parent="Lower Cliffs" groups=[
Expand All @@ -446,7 +446,7 @@ collision_mask = 29
"Ground",
]]
position = Vector2( 960, 320 )
shape = SubResource( 40 )
shape = SubResource( 36 )

[node name="Lower Cliffs Bottom Ground Static Collider" type="StaticBody2D" parent="Lower Cliffs" groups=[
"Cliffs",
Expand All @@ -462,7 +462,7 @@ collision_mask = 29
"Ground",
]]
position = Vector2( 960, 4032 )
shape = SubResource( 41 )
shape = SubResource( 37 )
one_way_collision = true

[node name="Lower Cliffs Bottom Ground Area Collider" type="Area2D" parent="Lower Cliffs" groups=[
Expand All @@ -478,7 +478,7 @@ collision_mask = 29
"Ground",
]]
position = Vector2( 960, 4160 )
shape = SubResource( 42 )
shape = SubResource( 38 )

[node name="Scene Boundary - Left" type="StaticBody2D" parent="."]
visible = false
Expand All @@ -492,7 +492,7 @@ __meta__ = {

[node name="CollisionShape2D" type="CollisionShape2D" parent="Scene Boundary - Left"]
position = Vector2( 128, -192 )
shape = SubResource( 43 )
shape = SubResource( 39 )

[node name="Scene Boundary - Right" type="StaticBody2D" parent="."]
visible = false
Expand All @@ -505,7 +505,7 @@ __meta__ = {

[node name="CollisionShape2D" type="CollisionShape2D" parent="Scene Boundary - Right"]
position = Vector2( 1984, -64 )
shape = SubResource( 44 )
shape = SubResource( 40 )

[node name="Scene Boundary - Top" type="StaticBody2D" parent="."]
visible = false
Expand All @@ -519,7 +519,7 @@ __meta__ = {
[node name="CollisionShape2D" type="CollisionShape2D" parent="Scene Boundary - Top"]
position = Vector2( 960, -4288 )
rotation = 1.5708
shape = SubResource( 45 )
shape = SubResource( 41 )
[connection signal="timeout" from="Player/ClimbingReadyTimer" to="Player" method="_OnClimbingReadyTimerTimeout"]
[connection signal="area_entered" from="Upper Cliffs" to="Upper Cliffs" method="_on_cliffs_area_entered"]
[connection signal="area_exited" from="Upper Cliffs" to="Upper Cliffs" method="_on_cliffs_area_exited"]
Expand Down