This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the Bouncing Game to the latest version of CocosSharp, along …
…with all the changes that are necessary in the base classes. Removed some debug code. Removed unused XNB files for fonts.
- Loading branch information
Victor Chelaru
authored and
Victor Chelaru
committed
Jan 31, 2016
1 parent
8680466
commit 74c1112
Showing
35 changed files
with
613 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2012 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BouncingGame.iOS", "BouncingGame\BouncingGame.iOS\BouncingGame.iOS.csproj", "{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BouncingGame.Android", "BouncingGame\BouncingGame.Android\BouncingGame.Android.csproj", "{20C04280-6266-4C31-BBD2-AB1E0D38B940}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BouncingGame.Common", "BouncingGame\BouncingGame.Common\BouncingGame.Common.csproj", "{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|iPhoneSimulator = Debug|iPhoneSimulator | ||
Release|iPhone = Release|iPhone | ||
Release|iPhoneSimulator = Release|iPhoneSimulator | ||
Debug|iPhone = Debug|iPhone | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Debug|iPhone.ActiveCfg = Debug|Any CPU | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Debug|iPhone.Build.0 = Debug|Any CPU | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Release|iPhone.ActiveCfg = Release|Any CPU | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Release|iPhone.Build.0 = Release|Any CPU | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU | ||
{20C04280-6266-4C31-BBD2-AB1E0D38B940}.Release|iPhoneSimulator.Build.0 = Release|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Debug|iPhone.ActiveCfg = Debug|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Debug|iPhone.Build.0 = Debug|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Release|iPhone.ActiveCfg = Release|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Release|iPhone.Build.0 = Release|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU | ||
{335CFAB3-AFB6-4D2A-BEF0-F60156254A83}.Release|iPhoneSimulator.Build.0 = Release|Any CPU | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Debug|iPhone.ActiveCfg = Debug|iPhone | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Debug|iPhone.Build.0 = Debug|iPhone | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Release|Any CPU.ActiveCfg = Release|iPhone | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Release|Any CPU.Build.0 = Release|iPhone | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Release|iPhone.ActiveCfg = Release|iPhone | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Release|iPhone.Build.0 = Release|iPhone | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator | ||
{564DC1C5-1A9A-45CD-ADAB-B95C54D4DA29}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator | ||
EndGlobalSection | ||
EndGlobal | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2012 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BouncingGame.iOS", "BouncingGame\BouncingGame.iOS\BouncingGame.iOS.csproj", "{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BouncingGame.Android", "BouncingGame\BouncingGame.Android\BouncingGame.Android.csproj", "{F86E12A1-1689-43F6-9D03-8C98DFE84E42}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BouncingGame.Common", "BouncingGame\BouncingGame.Common\BouncingGame.Common.csproj", "{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|iPhoneSimulator = Debug|iPhoneSimulator | ||
Release|iPhone = Release|iPhone | ||
Release|iPhoneSimulator = Release|iPhoneSimulator | ||
Debug|iPhone = Debug|iPhone | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Debug|iPhone.ActiveCfg = Debug|Any CPU | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Debug|iPhone.Build.0 = Debug|Any CPU | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Release|iPhone.ActiveCfg = Release|Any CPU | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Release|iPhone.Build.0 = Release|Any CPU | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU | ||
{CFFC49D8-33C7-4944-A9A7-A6D2AEDD7F0E}.Release|iPhoneSimulator.Build.0 = Release|Any CPU | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Debug|iPhone.ActiveCfg = Debug|iPhone | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Debug|iPhone.Build.0 = Debug|iPhone | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Release|Any CPU.ActiveCfg = Release|iPhone | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Release|Any CPU.Build.0 = Release|iPhone | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Release|iPhone.ActiveCfg = Release|iPhone | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Release|iPhone.Build.0 = Release|iPhone | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator | ||
{F573202E-DBA2-4D5C-8DB1-A8D956DB8643}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Debug|iPhone.ActiveCfg = Debug|Any CPU | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Debug|iPhone.Build.0 = Debug|Any CPU | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Release|iPhone.ActiveCfg = Release|Any CPU | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Release|iPhone.Build.0 = Release|Any CPU | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU | ||
{F86E12A1-1689-43F6-9D03-8C98DFE84E42}.Release|iPhoneSimulator.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
Binary file removed
BIN
-570 Bytes
BouncingGame/BouncingGame/BouncingGame.Android/Assets/Content/ball.png
Binary file not shown.
Binary file removed
BIN
-69.2 KB
BouncingGame/BouncingGame/BouncingGame.Android/Assets/Content/fonts/arial-22.xnb
Binary file not shown.
Binary file removed
BIN
-558 Bytes
BouncingGame/BouncingGame/BouncingGame.Android/Assets/Content/paddle.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 56 additions & 16 deletions
72
BouncingGame/BouncingGame/BouncingGame.Android/MainActivity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
BouncingGame/BouncingGame/BouncingGame.Android/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="BouncingGame.Android"> | ||
<uses-sdk /> | ||
<application android:label="BouncingGame.Android"> | ||
</application> | ||
<application android:label="BouncingGame.Android"></application> | ||
</manifest> |
36 changes: 34 additions & 2 deletions
36
BouncingGame/BouncingGame/BouncingGame.Android/Resources/Resource.designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+2.15 KB
BouncingGame/BouncingGame/BouncingGame.Android/Resources/drawable-hdpi/Icon.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
BIN
+1.38 KB
BouncingGame/BouncingGame/BouncingGame.Android/Resources/drawable-mdpi/Icon.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
BIN
+3.16 KB
BouncingGame/BouncingGame/BouncingGame.Android/Resources/drawable-xhdpi/Icon.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
BIN
+5.29 KB
BouncingGame/BouncingGame/BouncingGame.Android/Resources/drawable-xxhdpi/Icon.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
BIN
+7.64 KB
BouncingGame/BouncingGame/BouncingGame.Android/Resources/drawable-xxxhdpi/Icon.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 removed
BIN
-2.51 KB
BouncingGame/BouncingGame/BouncingGame.Android/Resources/drawable/Icon.png
Binary file not shown.
11 changes: 11 additions & 0 deletions
11
BouncingGame/BouncingGame/BouncingGame.Android/Resources/layout/Main.axml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent"> | ||
<CocosSharp.CCGameView | ||
android:id="@+id/GameView" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" /> | ||
</LinearLayout> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="CocosSharp.Android" version="1.4.0.0" targetFramework="MonoAndroid44" /> | ||
<package id="CocosSharp" version="1.7.1.0" targetFramework="MonoAndroid60" /> | ||
</packages> |
Oops, something went wrong.