Arcade game written in Lua using the Solar2D SDK where you have to protect the Earth using a circle O-ZONE. Watch gameplay.
- Supports Android and iOS
- 50 unique levels
- Written in Lua
- Uses Solar2D Game Engine (formerly Corona SDK)
- Google Play Games and Game Center integration
- High score leaderboard
- Appodeal ads integration (interstitial and rewarded ads)
- Consent form implementation for the EU GDPR
- In-App purchase support for removing ads (both Android and iOS)
- Firebase Analytics integration
Google Play Games (Documentation)
- Make sure to setup the app in the Google Play Console, and make sure it is configured with Games Service
- In
build.settings
, set the Google Play Games AppId (e.g.googlePlayGamesAppId = "123456789012"
) - Create a high score leaderboard in the Google Play Console and copy the leaderboard id
- In
gameServices.lua
, set the leaderboard id online 17
(e.g.leaderboardId = "CgkIntj4kbBKRXOLWS"
)
iOS Game Center (Documentation)
- Setup Game Center in the App Store Connect console
- Create a high score leaderboard and copy the id
- In
gameServices.lua
, set the leaderboard id online 21
(e.g.leaderboardId = "high_score"
)
Appodeal Ads (Documentation)
- Configure the app on Appodeal for both Android and iOS (also need to setup AdMob for Appodeal)
- Copy the App keys for both Android and iOS
- Set the App Keys in
ads.lua
online 23
andline 25
(e.g.appKey = "29dj28dj2f63mzb27f92nbcx17f29f20f2f9810m10s02kc9"
) - Appodeal shoud setup the apps in AdMob for you. Go in Admob, and copy the application identifiers for both Android and iOS.
- In
build.settings
, in the Android section, set AdMob the app id (e.g.<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-7323402035723483~2957302052"/>
) - In
build.settings
, in the iOS section, set the AdMob app id (e.g.GADApplicationIdentifier = "ca-app-pub-7323402035723483~2957302053",
)
Android In-App Purchases (Documentation)
- Create a remove ads IAP item in the Google Play Console
- Copy the Base64-encoded license key of your application from the Google Play Console (Services & APIs -> Licensing & in-app billing)
- In
config.lua
, change the license key to the one you copied (e.g.key = "KLLIWdKEBisdwbvuC7d2KFMDHUTYATZ7BNTTAHeUINZFSuhNYwWajcnqKEn7qwVp2wJUfeCjkW34JKE33LkEUmz2..."
) - In
main.lua
, set the proudct name for the item you created (e.g.productNames = { apple="com.yourdomain.ozone.remove_ads", google="remove_ads" },
)
iOS In-App Purchases (Documentation)
- Create a remove ads IAP item in the App Store Connect console
- In
main.lua
, set the proudct name for the item you created (e.g.productNames = { apple="com.yourdomain.ozone.remove_ads", google="remove_ads" },
)
Firebase Analytics (Documentation)
- Setup the firebase project and add platforms for Android and iOS
- Follow the instructions in the documentation link above s
- Set the firebase app id in
build.settings
(e.g.["google_app_id"]= "1:738296057214:android:2034n3saq2low4f6"
) - Add the
google-services.json
andGoogleService-Info.plist
files to the root directory