搜索插件、代码仓与 APP 分类

插件详情v5.3.0

games_services

一个支持 Game Center 和 Google Play 游戏服务的新 Flutter 插件。

AndroidiOSmacOS
近 30 天下载
2.4万
喜欢数
178
Pub 分数
160

安装插件

flutter pub add games_services

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

games_services 包是一个 Flutter 插件,可实现与 Game Center(iOS)和 Google Play 游戏服务(Android)的集成,使开发者能够在跨平台游戏中实现排行榜、成就和登录功能。它提供了一个统一的 API 来管理跨平台的游戏服务,简化了添加多人游戏和社交功能的过程。该插件支持 macOS,使其应用范围超越移动设备。通过 pub.dev 的简单设置,它有助于为面向主要游戏生态系统的 Flutter 应用简化游戏开发工作流程。

适合场景

  • 在移动游戏中集成排行榜
  • 实现玩家进度的成就
  • 通过 Game Center 或 Google Play 启用用户身份验证
  • 为跨平台游戏添加多人游戏功能
  • 跨设备追踪玩家统计数据
  • 支持游戏进度同步

主要特点

  • iOS 和 Android 的统一 API
  • 对 Game Center 和 Google Play 游戏的支持
  • 跨平台兼容性,包括 macOS
  • 简单的登录和身份验证流程
  • 排行榜和成就管理
  • 跨设备实时同步

适合对象

  • Flutter 开发人员构建移动游戏
  • 面向iOS和Android的游戏创作者
  • 需要玩家进度跟踪的应用
  • 使用 Game Center 或 Google Play Games 的开发者
  • 寻求跨平台游戏服务的团队
  • 需要社交互动功能的项目

使用建议

  • 需要平台特定的设置(例如,Google Play 控制台、Apple 开发者账户)
  • 仅限iOS、Android和macOS平台
  • 取决于外部游戏服务的可用性
  • 可能需要为应用签名和权限进行额外配置
  • 不适用于网页或 Windows 目标
  • 需要在物理设备上进行测试以实现完整功能

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

pub package Telegram Youtube Twitter Coffee

Games Services Logo

A Flutter plugin to support game center and google play games services.

Screenshot

iOS

Android

macOS

Tutorials

Written tutorial

Video tutorial will be added soon.

Apps

Monkey Banana Android, iOS, and macOS by Abedalkareem.
Nonogram Colors by @tommybuonomo.
Ripple Effect Puzzle by @tommybuonomo.
Lights: A Memory Game Android & iOS by @theLee3.
TTG - Through The Galaxies 🚀 casual game . Android & iOS by @imaNNeo

Documentation

Check the docs folder for documentation and how to use the plugin.

Installing

Simply add games_services as a dependency in your pubspec.yaml by running the following command:

flutter pub add games_services

The amazing people that made this plugin possible

Contributors

Support me 🚀

You can support this project by:

1- Checking my apps.
2- Star the repo.
3- Share the repo with your friends.
4- Buy Me A Coffee.

Follow me ❤️

Facebook | Twitter | Instagram | Youtube

所属分类

依赖

依赖清单 1 项

  • games_services_platform_interface^5.3.0

源码仓库

使用此插件的项目