LuaSTG-Sub icon indicating copy to clipboard operation
LuaSTG-Sub copied to clipboard

LuaSTG Sub, a modern version of the LuaSTG engine. LuaSTG Sub,现代化的 LuaSTG 引擎分支。

Results 15 LuaSTG-Sub issues
Sort by recently updated
recently updated
newest added

Added new API for changing window mode: ```lua -- int, int, bool, int lstg.VideoModeWindowed(width, height, vsync, monitor_index) -- int, int, bool lstg.VideoModeFSExclusive(width, height, vsync) -- int, int, bool, int lstg.VideoModeFSBorderless(width,...

https://github.com/Legacy-LuaSTG-Engine/Bundle-After-Ex-Plus Over here is what it seems like 0.8.22 but in the OneDrive folder the last one is 0.8.21. Is that an error, or intentional, because the THlib from 0.8.22...

i've been facing this strange error during my experience in using LSTGSub. It did not exactly happen before, but it's a prevalent issue ever since, and it prevents me from...

bug
high difficulty

修正拼写到omega,deprecate omiga属性

low priority

在协程中执行 lstg.DoFile 等类似方法会产生以下报错,报错消息为加载的目标文件,导致原因排查不明确 应当修正为 不允许在协程中执行本函数 等类似的消息 ![Snipaste_2023-08-01_11-46-13](https://github.com/Legacy-LuaSTG-Engine/LuaSTG-Sub/assets/35646643/7bd6d02d-2a48-4292-a1a7-1ff3065d8615)

bug
resolved and waiting for review

#### 说明 由于 animation 资源的加载方案只有基于区域完全密铺的方案,导致 animation 资源在实际上是一种对资源空间利用率非常低的结构 #### 现有方案的局限 * 资源必须满足 m*n 的密铺结构 * 没有类似于 margin 的参数,导致无法剔除无用像素 #### 实际使用遇到的问题 * 为了提高利用率会对图像做一些特殊排列,但是不一定能满足 m*n 的密铺,可能会缺少几帧 * 为了提高空间利用率,帧位置可能会出现在不同的位置,且不一定是整齐的 * 为了提升渲染效率,需求剔除空白像素,但由于缩放渲染的时候的边缘问题因此常规需要添加间隔来避免边缘问题 * 为了能使用对象自身的渲染方法/避免自行渲染帧/避免自行设置帧导致各种特殊问题,导致必须使用 animation...

enhancement
resolved and waiting for review

**说明** 目前随机数发生器只有从某seed开始不断取后续值的功能,遇到需要从中间某状态恢复的需求时则较为困难 **现有方案的局限** - 无法复制随机数发生器的状态,只能从种子开始连续取随机次数个随机数 **实际使用遇到的问题** - 为了从某个游戏状态中恢复,随机数发生器作为一个外部系统需要同时可以和其他游戏状态一起回滚 **其他事项** - 建议使随机数发生器的状态可序列化,这样方便进行文件写入等操作

enhancement
resolved and waiting for review

这样就不用为了纯白方块特地带一个png文件了

enhancement

当前引擎默认使用工作路径作为文件系统根路径,但有时候会有特殊的需求,比如保持文件系统根路径为exe可执行文件所在路径,或者32位、64位版本的引擎分别放在x86、x64文件夹内时,需要将文件系统根路径设置为相对exe的上一级路径。 本提案为config.json配置文件添加一个字段,用于引擎初始化时配置文件系统根路径。 示例: ```json { "filesystem_root": "${EngineExeFileDir}/../" } ```

enhancement

1、提供获取当前引擎设置的API,允许查询画布分辨率、全屏等设置 2、提供命令行参数接口来配置画布分辨率、全屏等设置

enhancement