-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 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,25 +1,26 @@ | ||
# WebGAL Android | ||
[![example workflow](https://github.com/nini22p/WebGAL-Android/actions/workflows/android.yml/badge.svg)](https://github.com/nini22P/WebGAL-Android/actions) | ||
|
||
一个将 WebGAL 游戏打包到安卓平台的简易模板 | ||
A simple template for packaging WebGAL games to Android platform | ||
|
||
本模板使用的图标来自:[MakinoharaShoko/WebGAL](https://github.com/MakinoharaShoko/WebGAL) | ||
The icons used in this template are from: [MakinoharaShoko/WebGAL](https://github.com/MakinoharaShoko/WebGAL) | ||
|
||
## 如何打包游戏 | ||
## 如何打包 WebGAL 游戏 | ||
|
||
* 安装 [android studio](https://developer.android.com/studio) 并导入本项目 | ||
* 将游戏移动到 `app\src\main\assets\webgal`。默认加载 `app\src\main\assets\webgal\index.html`,如有需要自定义加载链接请修改 `app\src\main\res\values\values.xml` 文件里面的 `load_url` 字段 | ||
* 更改包名以及游戏名和图标 | ||
* 点击菜单栏 `Build` -> `Generate Signed Bundle or APK` 构建 apk | ||
|
||
## How to build the game | ||
## How to package WebGAL games | ||
|
||
* Install [android studio](https://developer.android.com/studio) and import this project | ||
* Move the game to `app\src\main\assets\webgal`. Load `app\src\main\assets\webgal\index.html` by default, if you need to customize the load link, please modify the `load_url` field inside the `app\src\main\res\values\values.xml` file | ||
* Change the package name and the game name and icon | ||
* Click `Build` -> `Generate Signed Bundle or APK` in the menu bar to build the apk | ||
|
||
### 更多信息 / More Info (Chinese only at the moment) | ||
### 更多信息 / More Info | ||
|
||
[打包 WebGAL 游戏到 android 平台](https://docs.openwebgal.com/guide/android.html) | ||
[https://docs.openwebgal.com/guide/android](https://docs.openwebgal.com/guide/android) |