Add original project.

This commit is contained in:
me committed 2025-01-04 12:48:09 -07:00
1 parent 2ea0f8441d
commit 6e7114a24d
92 files changed
+3462

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

+71
View File
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:ads="http://schemas.android.com/apk/res-auto"
android:id="@+id/activity_high_score"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.hyperling.apps.games.HighScoreActivity">
<com.google.android.gms.ads.AdView
android:id="@+id/adViewHighScores"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:visibility="gone"
ads:adSize="BANNER"
ads:adUnitId="@string/interstitial_ad_unit_id_high_score" />
<ScrollView
android:id="@+id/scrollViewHighScore"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_above="@+id/adViewHighScores">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:text="@string/birdScoreHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/textHeaderSize"
android:textStyle="bold"/>
<LinearLayout
android:id="@+id/birdScoreLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"/>
<Space
android:layout_width="match_parent"
android:layout_height="@dimen/spaceSize" />
<TextView
android:text="@string/chickenScoreHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/textHeaderSize"
android:textStyle="bold"/>
<LinearLayout
android:id="@+id/chickenScoreLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"/>
</LinearLayout>
</ScrollView>
</RelativeLayout>
+125
View File
@@ -0,0 +1,125 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:ads="http://schemas.android.com/apk/res-auto"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.hyperling.apps.games.MainActivity">
<com.google.android.gms.ads.AdView
android:id="@+id/adViewMain"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:visibility="gone"
ads:adSize="BANNER"
ads:adUnitId="@string/interstitial_ad_unit_id_main" />
<ScrollView
android:id="@+id/scrollViewMain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_above="@+id/adViewMain">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<Space
android:layout_width="match_parent"
android:layout_height="16dp" />
<TextView
android:text="@string/tvGamesHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="30sp"
android:textStyle="bold"
android:gravity="center"/>
<Button
android:id="@+id/btnBirdGame"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnGameBird"/>
<Button
android:id="@+id/btnGameCow"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnGameCow"
android:enabled="false"/>
<Button
android:id="@+id/btnGamePig"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnGamePig"
android:enabled="false"/>
<Button
android:id="@+id/btnGameChicken"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnGameChicken"/>
<Button
android:id="@+id/btnGameCat"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnGameCat"
android:enabled="false"/>
<Button
android:id="@+id/btnGameSquirrel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnGameSquirrel"
android:enabled="false"/>
<Space
android:layout_width="match_parent"
android:layout_height="16dp" />
<Button
android:id="@+id/btnOptions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnOptions"
android:textSize="30sp"/>
<Space
android:layout_width="match_parent"
android:layout_height="16dp" />
<Button
android:id="@+id/btnHighScores"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnHighScores"
android:textSize="30sp"/>
<Space
android:layout_width="match_parent"
android:layout_height="16dp" />
<Button
android:id="@+id/btnHelp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnHelp"
android:textSize="30sp"
android:enabled="false"/>
</LinearLayout>
</ScrollView>
</RelativeLayout>
+292
View File
@@ -0,0 +1,292 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:ads="http://schemas.android.com/apk/res-auto"
android:id="@+id/activity_options"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.hyperling.apps.games.OptionsActivity">
<com.google.android.gms.ads.AdView
android:id="@+id/adViewOptions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:visibility="gone"
ads:adSize="BANNER"
ads:adUnitId="@string/interstitial_ad_unit_id_options" />
<ScrollView
android:id="@+id/scrollViewOptions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/adViewOptions"
android:layout_centerInParent="true"
android:layout_alignParentTop="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/optionGroupGeneral"
android:textSize="@dimen/textHeaderSize"
android:textStyle="bold"/>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/separatorSize"
android:background="@color/colorPrimaryDark" />
<RelativeLayout
android:id="@+id/optionAdsLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<CheckBox
android:id="@+id/optionAdsCheckBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"/>
<TextView
android:text="@string/optionAds"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/optionAdsCheckBox"
android:layout_toStartOf="@id/optionAdsCheckBox"/>
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/separatorSize"
android:background="@color/colorPrimaryDark" />
<Space
android:layout_width="match_parent"
android:layout_height="@dimen/spaceSize" />
<TextView
android:text="@string/optionGroupInGame"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/textHeaderSize"
android:textStyle="bold" />
<View
android:layout_width="match_parent"
android:layout_height="@dimen/separatorSize"
android:background="@color/colorPrimaryDark" />
<RelativeLayout
android:id="@+id/optionPracticeRoundLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<CheckBox
android:id="@+id/optionPracticeRoundCheckBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:enabled="false"/>
<TextView
android:text="@string/optionPracticeRound"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/optionPracticeRoundCheckBox"
android:layout_toStartOf="@id/optionPracticeRoundCheckBox"
android:textStyle="italic"/>
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/separatorSize"
android:background="@color/colorPrimaryDark" />
<RelativeLayout
android:id="@+id/optionHigherQualityLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<CheckBox
android:id="@+id/optionHigherQualityCheckBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"/>
<TextView
android:text="@string/optionHigherQuality"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/optionHigherQualityCheckBox"
android:layout_toStartOf="@id/optionHigherQualityCheckBox"/>
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/separatorSize"
android:background="@color/colorPrimaryDark" />
<RelativeLayout
android:id="@+id/optionFPSLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<CheckBox
android:id="@+id/fpsCheckBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"/>
<TextView
android:text="@string/optionFPS"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/fpsCheckBox"
android:layout_toStartOf="@id/fpsCheckBox"/>
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/separatorSize"
android:background="@color/colorPrimaryDark" />
<Space
android:layout_width="match_parent"
android:layout_height="@dimen/spaceSize" />
<TextView
android:text="@string/optionGroupOnline"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/textHeaderSize"
android:textStyle="bold"/>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/separatorSize"
android:background="@color/colorPrimaryDark" />
<RelativeLayout
android:id="@+id/optionNicknameLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:id="@+id/optionNicknameEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:enabled="false"/>
<!--android:hint="@string/optionNicknameHint"-->
<TextView
android:text="@string/optionNickname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/optionNicknameEditText"
android:layout_toStartOf="@id/optionNicknameEditText"
android:textStyle="italic"/>
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/separatorSize"
android:background="@color/colorPrimaryDark" />
<RelativeLayout
android:id="@+id/optionUploadLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<CheckBox
android:id="@+id/optionUploadCheckBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:enabled="false"/>
<TextView
android:text="@string/optionUpload"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/optionUploadCheckBox"
android:layout_toStartOf="@id/optionUploadCheckBox"
android:textStyle="italic"/>
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/separatorSize"
android:background="@color/colorPrimaryDark" />
<Space
android:layout_width="match_parent"
android:layout_height="@dimen/spaceSize" />
<TextView
android:text="@string/optionGroupOther"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/textHeaderSize"
android:textStyle="bold"/>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/separatorSize"
android:background="@color/colorPrimaryDark" />
<Button
android:id="@+id/btnDeletePreferences"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnDeletePreferences"
android:gravity="center"/>
<Button
android:id="@+id/btnConfirmDeletePreferences"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/btnConfirmDeletePreferences"
android:gravity="center"
android:enabled="false"
android:visibility="gone"/>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/separatorSize"
android:background="@color/colorPrimaryDark" />
</LinearLayout>
</ScrollView>
</RelativeLayout>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

+6
View File
@@ -0,0 +1,6 @@
<resources>
<!-- Example customization of dimensions originally defined in res/values/dimens.xml
(such as screen margins) for screens with more than 820dp of available width. This
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
<dimen name="activity_horizontal_margin">64dp</dimen>
</resources>
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
-->
<color name="colorPrimary">#330066</color>
<color name="colorPrimaryDark">#333333</color>
<color name="colorAccent">#FF9900</color>
</resources>
+9
View File
@@ -0,0 +1,9 @@
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="textHeaderSize">30sp</dimen>
<dimen name="spaceSize">16dp</dimen>
<dimen name="separatorSize">1dp</dimen>
</resources>
+92
View File
@@ -0,0 +1,92 @@
<resources>
<string name="app_name">Hyper Games</string>
<string name="TAG">apps.hyperling.com.platformer</string>
<!-- Main Activity -->
<string name="tvGamesHeader">Games</string>
<string name="btnGameBird">Betty the Bird (Beta)</string>
<!-- Default Game -->
<!-- Testing only? Flappybird? -->
<string name="btnGameCow">Carly the Cow</string>
<!-- A cow must defend itself to escape the farmers trying to kill it. -->
<!-- Auto-runner. Cow can charge to scare farmers away. (They run off the map, cow does not kill or hit them) -->
<string name="btnGamePig">Patty the Pig</string>
<!-- A pig must hide from pursuers and avoid drying out in the sun using mud baths. -->
<!-- Press down to make the pig walk. Tapping rapidly makes it run for a short amount of time. You must avoid being noticed by patrols of farmers (like Deku Palace). -->
<!-- This is a top-down game? -->
<string name="btnGameChicken">Charlie the Chicken (Unfinished)</string>
<!-- Game where you must jump/fly over obstacles? -->
<!-- Auto-runner. Tapping makes it fly while holding down makes it run. Possible to get a running start and then fly? Avoid farmers and their nets. -->
<string name="btnGameCat">Kitty the Cat</string>
<!-- Full platformer like Super Mario World or Donkey Kong Country. -->
<!-- Tap the direction of the screen you'd like to move. Character is in the middle instead of on the left like an auto-runner. -->
<string name="btnGameSquirrel">Sammy the Squirrel</string>
<!-- Top-down like pig game, but like Frogger -->
<string name="btnOptions">Options</string>
<string name="btnHighScores">High Scores</string>
<string name="btnHelp">Help</string>
<string name="btnHighScoreSubHeader">High Score:</string>
<!-- Options Actvity -->
<string name="optionGroupGeneral">General</string>
<string name="optionGroupInGame">In Game</string>
<string name="optionGroupOnline">Online</string>
<string name="optionGroupOther">Other</string>
<string name="optionAds">Allow Ads on Menu Screens?</string>
<string name="optionPracticeRound">Play Practice Round when Starting New Games?</string>
<string name="optionHigherQuality">Allow Higher Quality Images and Animations?</string>
<string name="optionFPS">Display FPS?</string>
<string name="optionNickname">Nickname for Online Leaderboards:</string>
<string name="optionUpload">Allow Automatic High Score Uploads?</string>
<string name="optionNicknameHint">Type Name Here</string>
<string name="btnDeletePreferences">Delete High Scores and Reset Preferences</string>
<string name="btnConfirmDeletePreferences">Are you seriously sure that you seriously want to seriously delete everything? If so, press here!</string>
<!-- Shared Preferences -->
<string name="sharedPreferencesKey">HyperGames</string>
<!-- Options -->
<string name="adsKey">Ads</string>
<string name="practiceRoundKey">Practice</string>
<string name="higherQualityKey">HigherQuality</string>
<string name="fpsKey">FPS</string>
<string name="nicknameKey">Nickname</string>
<string name="uploadKey">Upload</string>
<!-- High Scores -->
<string name="birdScoreKey">BirdScore009</string>
<string name="cowScoreKey">CowScore</string>
<string name="pigScoreKey">PigScore</string>
<string name="chickenScoreKey">ChickenScore009</string>
<string name="catScoreKey">CatScore</string>
<!-- All Versions High Scores -->
<string name="birdScoreHeader">Bird Game Scores</string>
<string-array name="allBirdScoreKeys">
<item>BirdScore009</item>
<item>BirdScore008(Beta)</item>
<item>BirdScore007</item>
<item>BirdScore005</item>
<item>BirdScore004</item>
<item>BirdScore003</item>
</string-array>
<string name="chickenScoreHeader">Chicken Game Scores</string>
<string-array name="allChickenScoreKeys">
<item>ChickenScore009</item>
<item>ChickenScore008(Alpha)</item>
</string-array>
<!-- -
This is an ad unit ID for an interstitial test ad. Replace with your own interstitial ad unit id.
For more information, see https://support.google.com/admob/answer/3052638
<!- -->
<string name="interstitial_ad_unit_id_main">ca-app-pub-9712416021907617/7877767281</string>
<string name="interstitial_ad_unit_id_options">ca-app-pub-9712416021907617/3307966880</string>
<string name="interstitial_ad_unit_id_high_score">ca-app-pub-9712416021907617/4784700088</string>
</resources>
+15
View File
@@ -0,0 +1,15 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:textAllCaps">false</item>
<item name="android:textSize">18sp</item>
<item name="android:textStyle">normal</item>
</style>
</resources>