Giter VIP home page Giter VIP logo

webgal's People

Contributors

bcqsd avatar c6h5-no2 avatar caleb891004 avatar callofblood avatar ch1ny avatar dependabot[bot] avatar generalfreed avatar hisokanogon avatar hshqwq avatar huaizz-shawen avatar hundun000 avatar labiker avatar loliko114514 avatar lykl avatar lylelove avatar makinoharashoko avatar mikezzb avatar murasame0721 avatar nini22p avatar robert2333 avatar sliyoxn avatar tinyadapter avatar yanggum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webgal's Issues

一些建议

存档相关

  • 现有的删除存档只能同时清除所有存档和所有设置选项。希望能在存档/读档界面中每个存档项的邮编增加一个删除按钮,点击该按钮出现确认框,确定的话就会删除该存档记录,否则不做改动。

BGM相关

  • 希望可以有标题界面BGM:进入标题界面开始播放,进入游戏(开始、继续、读档等停止播放)。
  • 希望可以在设置界面调整BGM和语音音量。
  • 现有的游戏中的BGM会在返回到标题界面后继续播放,希望可以在标题界面停止播放游戏内BGM。

有关贡献代码的更详细的说明

问题描述

DEV_NOTE.md 中对于开发计划的描述如下:

bug fix new feature
支持更多全局特效(红视、闪烁、眨眼等)
脚本支持函数
(提案)引入WebGL 3D 演出
加入音量控制
设法使得UI可定制化

部分计划缺乏必要的标准(例如,脚本新语法的格式),可能对其他贡献者贡献代码造成影响。

怎样才能让源代码跑起来呢?

WebGAL/src/Components/UI/Menu/MenuPanel/MenuPanel.tsx
你好,我们更改了源代码这个文件的内容,请问:更改后,怎样才能让源代码跑起来呢?
image
请问开发指引文档里的这段描述具体应该怎么做呢?

游戏脚本文件的扩展名对语法高亮有影响

问题描述

对于 VS Code 或 Sublime Text 等文本编辑器用户,若要对游戏脚本文件进行语法高亮,一般需要对文件的扩展名进行限定,避免对其他扩展名的文件的语法高亮造成影响。而目前其扩展名为 .txt,会与 Plain Text 格式支持的扩展名相冲突。故建议更改游戏脚本文件的扩展名。

原因

  1. 对与部分文本编辑器内建的语法高亮产生冲突;
  2. 项目开发者和用户均可以快速作出更改,而不需要大面积重构。

关于intro使用

(可恶的B站私信限制...Github号绑定的邮箱密码又丢没看见了只好现注册一个新号...)

感谢先生制作了如此简单易用的Galgame工具,赞美!
主要是问个问题...
intro“独白”部分在使用时候,是默认不需要鼠标操控,直接自动播放的。
能不能在之后的更新中,加入鼠标点击一次换一行的功能,或者独白部分可选择不是整段整段出现而是与正常对话类似的文字显示机制呢?
对于我这种从型月入坑的Galgame玩家,如果真的能用上这种方法,那真的感激不尽(倒

添加变量插值、随机值、获取用户输入

我看开发指引中只有条件执行使用到了变量,是只有这一种用法吗?
让玩家输入变量,在对话中输出变量,变量获得随机值,全局或者传递变量在WebGAL中能实现吗?如果可以的话应该怎么写脚本?
比如允许玩家自定义角色名等情况应该有这类需求。

NVL.

(使用谷歌翻译,抱歉!)

是否在考虑 NVL 模式?和INTRO差不多,所以不知道实现起来会不会有问题?

你已经完成的工作是惊人的!谢谢!

关于脚本文件的编辑

  1. 在编写剧本文件时,如果使用中文的角色名和中文对白,需要多次切换输入法:

角色名 切换英文输入法 切换中文输入法 对白内容 切换英文输入法 ; 切换中文输入法

即便是省略分号,也需要两次切换,这样写未免太繁琐。

而且在同一个角色有连续对话的时候,会重复输入角色名。

我认为可以试着像yml那样,依靠缩进来区分角色和对白,通过换行来结束语句。强制换行另说。

  1. 在读取图片资源时,如果资源未找到,原因可能有很多,如格式不正确,文件名写错等。在运行时会在上方出现默认的缺省图标,可以尝试在控制台打印异常信息。

连续对话的问题

Grandmaster Marti:So, I'm a very beginner editor and was happy to come across capcut seeing as that it was free and had great reviews.;
I have almost mastered this app completely and don't want to leave and switch over to something that's paid when capcut is doing things that every other editing service is doing.;
However, there is always room to grow, especially for the editors who's skills are growing faster and wanting more.;
A few of my recommendations is having more advanced and better options for speed.;
Please add more filters (specifically in the border area), and add ones that are different and will give our videos good quality(I'm pretty sure y'all can come up with something!).;
I ask that we get more font options and allow us to use more than 1 animation for out fonts PLEASEE!!;
Those are just a few of my recommendations.;
Now, on to my concerns the app does lag a little, and constantly says that I'm out of storage and I delete a lot of previous edits just to make new ones, and I'm getting concerned that the app will just not be enough for me.;
It's already taken up most of my storage andI really want it to be worth it, but all these glitches, lags, and thirst for storage is not going to make using this app worth it.;
I hope someone sees this, and I hope you have a great rest of your day/night.;
jasᵔᴥᵔ◡̈:I love capcut!;
I appreciate how everything is free and how you can remove the watermark at the end.;
I have been using this app for like a year now and i think its great and easy to use. i do have some recommendations though because i do find some little issues or something i would like to be better/fixed. so my first recommendation is that you guys should maybe add more animations to both, texts and clips. for the texts, i think itd be cool to have more varieties to choose from. i know there's a lot of choices already but i mean that maybe if possible, there could be combos like there is for clips. i think itd look great on edits and would be very useful. and now for clips, i think if you could add more ins and out transitions, it would be fun to be able to have more transitions. maybe you could even add more combos as well. id also think a new great addition would be if there were to be more shakes and stuff.;
I dont think theres many shakes to add to your edits so i think more would be cool. another suggestion is to make the speed adjusts cleaner. sometimes when i make it slower, it looks blury or just doesnt look like it has the same quality as it would with normal speed. i do hsve more recommendations id like to share but i dont really know exactly how to explain it but if you could add/fix those things, i think the app would be 5x better! :);
Lol_what_the_heck:Sadly, I can't do animation, like how I do it in KineMaster, but this is still AMAZING. the stickers are beyond adorable (some are like- uhm y'know that kind of EdGy but anyways-) it's a great app.;
It's actually a step up from KineMaster, which I did not expect.;

实际展示只显示了第一个字符 是我引入了特殊字符导致截断了吗
https://user-images.githubusercontent.com/2363295/170898828-e7179c56-2663-4e4f-a930-61f041e2e61e.mp4

dev 脚本动态更新的显示

如果你使用源代码进行调试,你可以通过 npm run build 或 yarn run build 来创建一个静态网页(在/dist 文件夹),然后将这个文件夹内的内容部署到 GitHub Pages 或你的云服务器上。
clone 以后 npm install
然后run dev
会生成public文件夹 下面有个start.txt
请问如何实现改变start里面的内容 在3000端口动态刷新查看结果呢
不弄个webgal create 然后balabala各种配置 生成一个demo game吗 然后就是dev 和release两种情况

有考虑上 TypeScript 吗?

方便维护和重构。如果这个项目现在没有别的事项,我可以 PR 一个用了 TypeScript 的版本过来。

清除冗余状态表内项目

对于带id的立绘、背景、效果音等,应当在目标被设定为 none 或 '' 时被从状态表清除掉,以防止随着id增加造成的内存泄露

demo中空旷的场景/黑屏

点击 ‘继续游戏’ 后场景黑屏,再次操作后才恢复正常。
初次加载后(无存档)可稳定复现

问两个关于视频的问题

1.引入视频播放,怎么刷特殊字幕在视频上面 同时播放语音看到已经有了
2.大多数游戏都有一些新手引导类的,我们的这个有没有可能集成intro.js这种

Control option availability using variables

choose:MaDescription:Chapter-2.txt:when=a>1|AutreDescription:Chapter-3.txt:when=a<1|... etc..;

This would allow limiting the number of choices on the screen or hiding certain choices.
(这将允许限制屏幕上的选择数量或隐藏某些选项。)

Safari游玩中出现剧情文本显示异常

我朋友使用Safari游玩制作的游戏时出现了剧情文字不会自动换行的问题。
之后我使用iPhone6(iOS 12)上的Safari游玩时,也发现了同样的问题。
关于这个,作者先生遇到过类似的情况吗?
如果有,之后的版本更新中会对其进行专门修正吗?

动画的 Scale和rotate 实现的不好,原点是左上角,考虑在 Sprite 加载完成后重设Container 的 pivot 和 position,完成改造

并且,可以考虑将作用 position change 前的 basePosition 绑在 Container 对象上,用代理劫持了,设置 position 时做一个相加运算。
pivot : 720 1080, position 1080 720(之前试验的参考,pivot要横纵相反,具体数值再用 Pixi Dev Tools 测出来)

Pixi Dev Tools: window.__PIXI_APP__ = app; window.PIXI = PIXI;

关于播放动画时的问题

demo里面的重播和自动点击都没有反应
播放动画的时候无论点击什么按钮动画都在继续播放,bgm也在响。点击返回标题之后也有bgm,感觉不太合适诶。

一点点建议

希望能够提供一个倒退的功能,有时候不小心点太快,就跳过去了😂😂
(be from:B站小伙伴儿)

localStorage 存储问题

localStorage是有大小限制的,而且网页端应该是同一个域名吧,多gal就要共用一个storage了。
此外在未来肯定会遇到pc端和移动端的同步问题,这个地方需要再斟酌一下。

还有看了下项目架构,其实可以使用react官方提供的create-react-app脚手架,打包配置和环境配置就不需要自己配了。

如果是一个前端的练手项目的话挺好的,继续迭代吧

krkr兼容层 libtjs

视频底下有说从krkr迁移的
krkr2的脚本语言tjs由js派生,做个兼容层应该能用

`npm run build` 报 'error:03000086:digital envelope routines::initialization error' 错误

问题描述

Node.js 17.x 版本运行 npm run buildyarn run build 时会报 'error:03000086:digital envelope routines::initialization error' 错误。

解决方法

参考链接 Node.js 17.0.1 Gatsby error - "digital envelope routines::unsupported ... ERR_OSSL_EVP_UNSUPPORTED"。需要在 package.json"scripts" 字段作如下修改:

"build": "react-scripts --openssl-legacy-provider build"

之后再执行 npm run build

请求添加小信息弹窗功能

在游戏中,可能需要解释专业术语、切换bgm等需求,希望能有简易的小弹窗功能

1.布局:默认九宫格位置选择,自定义位置
2.是否自动关闭(默认5s关闭,可以手动关闭
3.皮肤(背景图片):默认乳白色,可自定义
4.进入方式:默认淡入,可选择滑入

消息可以以card形式出现,分为title和content两部分。若title未设置,则不渲染title

希望能够适配移动端

现在跨平台的语言有很多,Gal引擎也有不少,真正能发挥Web的优势应该是PC/移动端的跨平台,我试了下,貌似目前没有适配移动端UI,希望开发者能够适配下移动端。

下面是个人想法:这款开发引擎的应用场景是什么呢?是帮助Gal开发者将文本、图像、音频打包成网页,方便分发?还是在服务端直接搭建,用户直接远程访问?如果是前者不用考虑懒加载问题,如果是后者,那可能还需要考虑一下,这个引擎服务的是免费Gal还是收费Gal。免费Gal无需多言,收费Gal可能还需要考虑下资源加密问题,比如音频用ts序列加密下。图像用临时token等等。

网页懒加载问题

通常情况下懒加载确实可以提高网站浏览体验,但是我觉得在网页galgame游戏中过分的使用懒加载会降低游戏体验质量,毕竟不是所有的用户网速就能xiu的一下在一段话的时间里加载好所有的游戏资源。更多情况是在已经看完这段剧情后庞大场景资源仍在加载中而导致只有文字出现,场景仍在祈祷中的情况。所以建议作者在开始游戏前以及在游戏进行的一个时机(如即将跳转到第二章内容时)能有一个读条等待一部分(比如一章)的资源预加载完毕后再进入游戏(预加载在游戏中使用蛮普遍的)。

Feature request 剧本的格式

有无可能适配
https://fountain.advjs.org/guide/

目前的图形化非常棒,但一些基础的配置加载工作其实可以靠剧本自动化的导入,类似导入一个剧本模板,模板的定义我猜测目前使用咱们自定义的格式,为了降低上手成本,进一步丰富生态,标准化的格式其实是一个更好的选择

我有意愿参与这部分工作

1.做一个fountain 2 现有剧本的转换

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.