Commit d27e2c33 authored by fallenstardust's avatar fallenstardust

禁用历史进程单独启动game

加入房间不再重复创建游戏
parent b3edecf5
......@@ -11,6 +11,7 @@
android:name="cn.garymb.ygomobile.YGOMobileActivity"
android:clearTaskOnLaunch="true"
android:configChanges="orientation|keyboardHidden|screenSize"
android:excludeFromRecents="true"
android:exported="true"
android:label="YGOMobile"
android:process=":game"
......
......@@ -15,28 +15,19 @@
特别感谢: 菜菜,尸体,废话多,大毛,龙道香姐,晓L,幻兽L 的支持与努力.
</pre>
<ul>
<li style="color:#ffff00">3.6.5</li>
<li style="color:#ffff00">3.7.0</li>
</ul>
<pre>
更新:
1.更新ygo内核;
2.新卡VB22+SD38+DUOV+VJ;
优化:
1.搜索通常怪兽不会再搜索到衍生物;
(可以在专门搜索衍生物)
变更:
1.ygopro进程将不再能从
历史进程中被单独唤起。
游戏途中切回请点击
“点此返回决斗”
</pre>
<h3 style="color:#ff0000">注意</h3>
<pre>
下个版本起,
不仅是变更为大师规则2020,根据谷歌隐私策略要求,将迁移
ygocore文件夹到Android/data/cn.garymb.ygomobile/file下
解决误删卡图脚本和权限问题引起的问题
解决ygopro2占用文件夹引起的黑屏,闪退,文件损坏问题
但这样会导致卸载本APP会同时丢失卡组文件
可以登陆萌卡平台→编辑卡组,自动在线云备份卡组到你的萌卡账户
如果在萌卡注册和登陆遇到问题的,可以加测试群一起配合测试
希望大家及时备份,以免损失。
①:文字出现黑块可以点击左侧卡图去除;
②:背景音乐播放流畅性视手机性能强度而定
如果使用过程中感觉卡顿,掉帧,或者不习惯,是可以辅助功能里关闭的;
......
......@@ -8,8 +8,8 @@ android {
applicationId "cn.garymb.ygomobile"
minSdkVersion 21
targetSdkVersion 28
versionCode 360500328
versionName "3.6.5"
versionCode 370000408
versionName "3.7.0"
flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true
ndk {
......
......@@ -433,6 +433,12 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
builder.setLeftButtonText(R.string.join_game);
builder.setLeftButtonListener((dlg, i) -> {
dlg.dismiss();
if (ComponentUtils.isActivityRunning(this, new ComponentName(this, YGOMobileActivity.class))) {
Toast toast = Toast.makeText(getApplicationContext(), R.string.tip_return_to_duel, Toast.LENGTH_SHORT);
toast.setGravity(Gravity.CENTER, 0, 0);
toast.show();
openGame();
} else {
//保存名字
String name = editText.getText().toString();
if (!TextUtils.isEmpty(name)) {
......@@ -448,6 +454,7 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
simpleListAdapter.notifyDataSetChanged();
}
joinGame(serverInfo, name);
}
});
builder.setOnCloseLinster((dlg) -> {
dlg.dismiss();
......
......@@ -276,4 +276,5 @@
<string name="already_top">첫번째</string>
<string name="already_end">마지막</string>
<string name="tip_expansions_image">카드의 고화질 이미지가 없습니다.</string>
<string name="tip_return_to_duel">이미 돌아 가기 현재 게임</string>
</resources>
......@@ -275,4 +275,5 @@
<string name="already_end">已经是最后一张啦</string>
<string name="tip_redownload">重新下载?</string>
<string name="tip_expansions_image">非自带卡片没有大图</string>
<string name="tip_return_to_duel">已回到当前游戏</string>
</resources>
......@@ -278,4 +278,5 @@
<string name="already_end">Already the last card</string>
<string name="tip_redownload">Redownload\?</string>
<string name="tip_expansions_image">no Large image for pre-released data</string>
<string name="tip_return_to_duel">Current game has been Returned</string>
</resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment