打包APK问题
Ren'Py 7.3.5.606
正在更新工程。
正在创建资源目录。
正在打包内部数据。
正在使用 Gradle 构建应用包。
Exception in thread "main" java.lang.NullPointerException
at org.gradle.wrapper.BootstrapMainStarter.findLauncherJar(BootstrapMainStarter.java:38)
at org.gradle.wrapper.BootstrapMainStarter ...
新人帖
文字不能正确显示是怎么回事
RT:我在写文本的时候出现了个别文字无法识别的情况该怎么办求各位大大指点一下(出现报错只是因为没有准备好图片,但测试运行确实出现一些字没法正常显示的情况)
新人帖
那个大佬给我搞个简单的战斗系统模板
看别人的战斗系统,数学不好眼花
只要攻击生命值就好[mw_shl_code=renpy,true]label hit:
$ critroll = renpy.random.randint(1, 5)
$ missroll = renpy.random.randint(1, 5)
if missroll == 1:
"你失手了。"
elif critroll == 5:
$ dmg = atk - defe
$ dmg = (2 * dmg) + renpy ...
关于安卓包生成问题
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/android.rpy", line 483, in
File "game/android.rpy", line 269, in android_build
IOError: [Errno 2] No such file or directory: 'C:\\renpy-7.3.5-sdk\\rapt\\project/app/src/main/res/values/strings.xml'
-- Full Trac ...
新人帖
安卓 打包失败
各位大佬,尝试把the question打包成安卓失败,怎么解决?
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/android.rpy", line 483, in
File "game/android.rpy", line 269, in android_build
error: Couldn't open C:%users\用户\Downloads\Programs\renpy-7.3.5-sdk\ra ...
新人帖
打包apk错误
Ren'Py 7.3.5.606
Updating project.
Creating assets directory.
Packaging internal data.
I'm using Gradle to build the package.
Starting a Gradle Daemon, 1 incompatible and 3 stopped Daemons could not be reused, use --status for details
:app:preBuild UP-TO-DATE
:renpyandroid:preBuild UP-TO-DATE
:r ...
新人帖
安卓打包失败
随机挑选事件发生的问题
首先感谢大佬@yume513和版主@BuErShen在https://www.renpy.cn/forum.php?mod=viewthread&tid=546&extra=page%3D1
帮助解决了实现随机范围内的变量不重复 r的问题_(:з」∠)_
于是有了测试代码:
结果发现报错说没有找到label n....emmm 哪来的n
看了版主大人的
脚本标签(label)和主控流程
https://www.renpy.cn/forum.ph ...
新人帖
安卓打包apk生成问题
Renpy7.3最新版本,一开始先试着打包了The Question,再打包其他游戏的时候生成的apk包名和配置却是The Question的,apk大小也和The Question的大小一样,试了两次都是这样。
obb文件应该没问题,但是和apk也不匹配,无法运作。
想问问如何解决?求助 ...
rpa解包错误帮忙看下
小白一个
unrpa: extracting files.
unrpa: error: This archive doesn't have a header we recognise, if you know the version of the archive you can try using -f to extract it without the header.
用了版主的方式然后。。请问这是为什么
新人帖
怎样让角色从左向右或从右向左出现?
怎样让角色从左向右或从右向左出现
如何实现随机范围内的变量不重复
$randomchoice = renpy.random.randint(1, 100)
randomchoice这个变量从1-100里随机选一个值
然后我想下一次回到这个变量赋值的时候,不再选到重复的值,就是说
100次一定能把这100个变量不带重复地选完,该怎么设计啊
目的是设计100个编好号的事件,每一天都会触发不同的事件,避免重复事件发生的情况...但实在怎么写list ...
新人帖
请问如何临时改变menu选择的位置?
想要临时改变menu下几个选项分支的位置该使用什么语句?
因为只是用到一次,想将选项显示在屏幕底部原本是文本框的地方,之后再恢复回默认的居中,应该怎么做呢?
新人帖
请问用ren'py生成翻译文件,翻译之后没有任何改变
请问用ren'py生成翻译文件,翻译之后没有任何改变是哪里没有设置正确呢
新人帖
想要汉化 renpy youx 拆包 反编译 文件完成以后导入renpy 出错...
显示如下,这个怎么办了
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/cl/class_ui.rpy", line 350: Line is indented, but the preceding tag statement does not expect a block. Please check this line's indentation.
timer 1 acti ...
用ren‘py生成翻译文件翻译后发现翻译的文字全变成口口了
用ren‘py生成翻译文件翻译后发现翻译的文字全变成口口了
在screens.rpy文件添加了如下代码
vbox:
style_prefix "check"
label _("Skip")
textbutton _("Unseen Text") action Preference("skip", "toggle")
textbutton _("After Choices ...
新人帖
安卓打包一个头疼的bug
如图,工程测试没问题,分发版的窗体运行也没问题,个别安卓系统(如mumu模拟器)也没问题。
就大部分安卓设备过完启动画面就报错,资源文件和代码没有问题,前段时间都是正常的。
新人帖
renpy怎么加密配置文件
renpy怎么加密配置文件
如何实现不打断文本显示?
如题,就是点击无法执行下一步代码,需等待特定时间过后才执行。请问要怎样实现?
请问如何让renpy引入python的爬虫模块?
我想让renpy引入python的爬虫模块,用到了import urllib
import json
import sys
import io
import requests
其中多个模块显示无法找到,我猜测是因为renpy启动的python并不是我系统C盘的python,而是renpy本地的python.
查找文档发现用命令行进入游戏所在目录,然后运行如下命令:
pip install --target game/python-packa ...