**Ball King — Pixel Hoops, No Mercy** Ball King is a retro pixel-art basketball shooter built for quick sessions and score-chasing. Grab the ball on the left, slingshot it toward the hoop on the right, and chain hits for a combo bonus. Miss and it costs a life — three strikes and you're out. Gameplay - Side-view pixel court: ball starts bottom-left, hoop sits top-right - Long press on the ball to aim, drag down-left to charge (slingshot), release to shoot - Ball flies along a real parabolic arc with gravity - Must drop straight through the rim from above to score (clean swish only) - Backboard and rim collisions bounce the ball realistically — bricks and rim-outs count as misses - Missing a shot costs one life and resets the ball to the start point - Three lives total; zero lives ends the game Scoring & Combos - Each made basket: base 1 point × combo multiplier - Combo multiplier grows with consecutive hits, capping at 5x - Chain milestones: ON FIRE (8), UNSTOPPABLE (16), LEGEND STUFF (32) - A missed shot resets the combo to zero - Watch a rewarded ad to activate 2x points for the rest of the run Pages & Navigation - MainActivity (home: best score, play button, navigation to all sections) - GameActivity (core gameplay with live HUD: score, combo, lives, pause, 2x button) - HowToPlayActivity (step-by-step rules) - HistoryActivity (recent game records ranked by score) - StatsActivity (best score, games played, total points, hit rate, best combo) - SettingsActivity (sound, vibration, reduce-motion toggles, privacy policy) - Secondary pages return to home; home uses double-back-to-exit UX Features - Pure multi-Activity navigation with a shared sub-page base (top bar + back-to-home) - Custom pixel dialog with typewriter text reveal and playful copy - Miss toasts with tongue-in-cheek lines ("Air ball. The crowd goes silent.") - Pause dialog with resume / restart / quit options (back button during game) - Game over dialog with score, best, and revive / restart / home buttons - Edge-to-edge adaptation for status bar and bottom system area - Portrait-locked game screen to prevent SurfaceView rebuilds Visual Design - Pixel Classic (pixel_classic) theme: 8-bit palette, all-zero corner radius, hard pixel shadows - Monospace fonts with ALL CAPS, no anti-aliasing for crisp pixel edges - Soul colors: CRT Orange (#FF6B35) basketball + Phosphor Yellow (#FFBE0B) aim line & score - Custom SurfaceView rendering at 60fps with a dedicated render thread - Aim trajectory shown as glowing yellow pixel dots, updated in real time while dragging - Particle burst on score (yellow/green) and miss (red) Ad Integration - TradPlus SDK integrated through an independent module(12-network mediation) - Rewarded ad: revive one life on game over(once per session) - Rewarded ad: activate 2x score mid-run(once per session) - Interstitial ad: shown before restart on game over(once per session) - Frequency-capped per session to stay Google Play policy-friendly - Ad unit IDs injected via manifest meta-data; graceful fallback when ads not ready Technical Notes - Kotlin - XML Layout + custom Views(PixelButton / PixelTextView / PixelDialog) - MVVM architecture(ViewModel + StateFlow/SharedFlow) - Multi-Activity structure - SurfaceView self-drawn rendering with GameRenderer(no anti-alias, integer-pixel alignment) - Coroutine-based fixed-step game loop(~60fps) - Pure-function physics & scoring(AimTrajectory, Scoring)for unit testing - SharedPreferences for statistics and history(JSON-serialized) - Java 17 - minSdk 26 / targetSdk 36 / compileSdk 36 - Android 16KB memory page alignment (useLegacyPackaging = false) - Pixel Classic theme with CRT orange+phosphor yellow color scheme - Lint abortOnError disabled to avoid blocking on ad SDK dependencies Accessibility - WCAG AA contrast (on_background vs background =15:1) - Minimum 12sp text, minimum 48×48dp touch targets - Reduce-motion toggle to flatten frame animations - Vibration toggle for shot / score / miss feedback
| 母公司 | |||
|---|---|---|---|
广告与变现20 | |||
AppLovin 应用内广告聚合变现 SDK | 广告聚合 | AppLovin | — |
Facebook广告变现SDK | 广告网络 | Facebook [merged→Meta] | Meta |
Bigo 程序化广告 SDK | 广告网络 | Bigo | — |
Chartboost 游戏广告 SDK | 广告网络 | Chartboost | — |
DT Ignite 广告 | 广告网络 | Digitalturbine | — |
Fyber Inneractive 广告 | 广告网络 | Fyber | — |
Google 移动广告变现平台 | 广告网络 | Google Ads | 谷歌 |
Google 广告聚合适配器 | 广告聚合 | Google Ads | 谷歌 |
移动应用标签与像素管理 | 广告归因 | Google Tag Manager | 谷歌 |
IAB 广告开放测量 SDK | 广告网络 | OMID | IAB Tech Lab |
InMobi 隐私同意管理平台 | 广告网络 | Inmobi | — |
IronSource广告质量SDK | 广告网络 | ironSource Mobile | Unity |
IronSource 广告聚合平台 SDK | 广告聚合 | ironSource Mobile | Unity |
应用内广告变现平台(Vungle) | 广告网络 | Liftoff | — |
汇量科技移动广告变现 SDK | 广告网络 | Mintegral | — |
TradPlus ADX广告SDK | 广告网络 | TradPlus | — |
TradPlus 广告聚合融合 SDK | 广告聚合 | TradPlus | — |
Unity 广告变现 SDK | 广告网络 | Unity | — |
Unity 广告聚合 SDK | 广告聚合 | Unity | — |
Unity ironSource 广告聚合 | 广告聚合 | Unity | — |
开发框架7 | |||
Android 官方兼容支持库 | 跨平台框架 | Android | 谷歌 |
Google 核心服务框架 | 原生框架 | Google Play | 谷歌 |
Google 核心 Java 工具库 | 开发工具 | Guava | 谷歌 |
Kotlin 协程库 | 跨平台框架 | Kotlin | JetBrains |
Kotlin 反射库 | 跨平台框架 | Kotlin | JetBrains |
Google Material Design 组件库 | 开发工具 | Material Design | 谷歌 |
Google JSON 解析库 | 开发工具 | 谷歌 | |
网络库4 | |||
Chromium 网络栈 SDK | 网络请求 | The Chromium Authors | — |
Square HTTP 客户端 | 网络请求 | Square | Block |
Square 图片下载与缓存库 | 图片加载 | Square | Block |
Square RESTful HTTP 客户端 | 网络请求 | Square | Block |
支付与电商3 | |||
Google 移动应用综合开发平台 | 平台业务对接 | Firebase | 谷歌 |
PayPal 支付 SDK | 支付网关 | Paypal | — |
Unity 官方游戏云服务套件 | 平台业务对接 | Unity | — |
安全与风控1 | |||
Google Play 应用防破解保护 | 移动安全 | 谷歌 | — |
数据管理1 | |||
Google 结构化数据序列化协议 | 数据存储 | 谷歌 | — |
音视频处理1 | |||
Android 应用级媒体播放器 | 视频播放器 | ExoPlayer | 谷歌 |
基于应用中检测到的 URL 域名,表示该应用与这些第三方服务存在通信
| 母公司 | |||
|---|---|---|---|
IAB 开放测量URL 检测 IAB 广告可见性测量 | 广告监测 | IAB Tech Lab | — |
阿里云开放平台URL 检测 阿里云服务接入点 | 后端云服务 | 阿里云 | 阿里巴巴 |
Google FontsURL 检测 谷歌字体服务 | 界面组件 | 谷歌 | — |
微软 OAuthURL 检测 微软账号登录服务 | 社交登录 | 微软 | — |
Google 账号登录URL 检测 谷歌账号登录服务 | 社交登录 | 谷歌 | — |
Yahoo 登录URL 检测 雅虎账号登录服务 | 社交登录 | Yahoo | — |
Google APIsURL 检测 谷歌开放接口服务 | 网络请求 | 谷歌 | — |