openwebgal / webgal Goto Github PK
View Code? Open in Web Editor NEWA brand new web Visual Novel engine | 全新的网页端视觉小说引擎
Home Page: https://openwebgal.com
License: Mozilla Public License 2.0
A brand new web Visual Novel engine | 全新的网页端视觉小说引擎
Home Page: https://openwebgal.com
License: Mozilla Public License 2.0
DEV_NOTE.md 中对于开发计划的描述如下:
bug fix new feature 支持更多全局特效(红视、闪烁、眨眼等) 脚本支持函数 (提案)引入WebGL 3D 演出 加入音量控制 设法使得UI可定制化
部分计划缺乏必要的标准(例如,脚本新语法的格式),可能对其他贡献者贡献代码造成影响。
这样可以让游戏有更多的互动性
能不能让miniavatar和figure一样 支持left right
对于 VS Code 或 Sublime Text 等文本编辑器用户,若要对游戏脚本文件进行语法高亮,一般需要对文件的扩展名进行限定,避免对其他扩展名的文件的语法高亮造成影响。而目前其扩展名为 .txt
,会与 Plain Text 格式支持的扩展名相冲突。故建议更改游戏脚本文件的扩展名。
便于直接跳转到指定章节,此功能可以被选择启用或禁用
(可恶的B站私信限制...Github号绑定的邮箱密码又丢没看见了只好现注册一个新号...)
感谢先生制作了如此简单易用的Galgame工具,赞美!
主要是问个问题...
intro“独白”部分在使用时候,是默认不需要鼠标操控,直接自动播放的。
能不能在之后的更新中,加入鼠标点击一次换一行的功能,或者独白部分可选择不是整段整段出现而是与正常对话类似的文字显示机制呢?
对于我这种从型月入坑的Galgame玩家,如果真的能用上这种方法,那真的感激不尽(倒
比如linux,android等平台
我看开发指引中只有条件执行使用到了变量,是只有这一种用法吗?
让玩家输入变量,在对话中输出变量,变量获得随机值,全局或者传递变量在WebGAL中能实现吗?如果可以的话应该怎么写脚本?
比如允许玩家自定义角色名等情况应该有这类需求。
虽然自带的UI很好,但是我还是想要自定义UI(),求求了呜
(使用谷歌翻译,抱歉!)
是否在考虑 NVL 模式?和INTRO差不多,所以不知道实现起来会不会有问题?
你已经完成的工作是惊人的!谢谢!
最新版本main pull 下来 没有src文件夹,老哥有群没有加群交流一下
角色名 切换英文输入法 : 切换中文输入法 对白内容 切换英文输入法 ; 切换中文输入法
即便是省略分号,也需要两次切换,这样写未免太繁琐。
而且在同一个角色有连续对话的时候,会重复输入角色名。
我认为可以试着像yml那样,依靠缩进来区分角色和对白,通过换行来结束语句。强制换行另说。
如果可能还可以增加以下功能就更完美了
1限时选项
2定位点选项
3选项在视频最后一帧出现
这块功能能有吗 还是说我得借助外部工具
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
如果你使用源代码进行调试,你可以通过 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两种情况
方便维护和重构。如果这个项目现在没有别的事项,我可以 PR 一个用了 TypeScript 的版本过来。
对于带id的立绘、背景、效果音等,应当在目标被设定为 none 或 '' 时被从状态表清除掉,以防止随着id增加造成的内存泄露
点击 ‘继续游戏’ 后场景黑屏,再次操作后才恢复正常。
初次加载后(无存档)可稳定复现
1.引入视频播放,怎么刷特殊字幕在视频上面 同时播放语音看到已经有了
2.大多数游戏都有一些新手引导类的,我们的这个有没有可能集成intro.js这种
如题标题页面的音量有bug
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游玩制作的游戏时出现了剧情文字不会自动换行的问题。
之后我使用iPhone6(iOS 12)上的Safari游玩时,也发现了同样的问题。
关于这个,作者先生遇到过类似的情况吗?
如果有,之后的版本更新中会对其进行专门修正吗?
并且,可以考虑将作用 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是有大小限制的,而且网页端应该是同一个域名吧,多gal就要共用一个storage了。
此外在未来肯定会遇到pc端和移动端的同步问题,这个地方需要再斟酌一下。
还有看了下项目架构,其实可以使用react官方提供的create-react-app脚手架,打包配置和环境配置就不需要自己配了。
如果是一个前端的练手项目的话挺好的,继续迭代吧
例如bgm:test.mp3 -vol=1;
这样就能很好的把握音量了
视频底下有说从krkr迁移的
krkr2的脚本语言tjs
由js派生,做个兼容层应该能用
一般来说galgame都是用滚轮玩的吧)
应该好改,就没有pr提交了……
Node.js 17.x 版本运行 npm run build
或 yarn 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的一下在一段话的时间里加载好所有的游戏资源。更多情况是在已经看完这段剧情后庞大场景资源仍在加载中而导致只有文字出现,场景仍在祈祷中的情况。所以建议作者在开始游戏前以及在游戏进行的一个时机(如即将跳转到第二章内容时)能有一个读条等待一部分(比如一章)的资源预加载完毕后再进入游戏(预加载在游戏中使用蛮普遍的)。
为保证在高对比度下文字显示正常,但又要避免文本框存在感太强,需要找到一个平衡
有无可能适配
https://fountain.advjs.org/guide/
目前的图形化非常棒,但一些基础的配置加载工作其实可以靠剧本自动化的导入,类似导入一个剧本模板,模板的定义我猜测目前使用咱们自定义的格式,为了降低上手成本,进一步丰富生态,标准化的格式其实是一个更好的选择
我有意愿参与这部分工作
1.做一个fountain 2 现有剧本的转换
标题UI的选择有点少,希望能提供更多选择
Change emergency screen, and neta something.
@C6H5-NO2
方便在切换BGM时,过渡不会那么违和。
期待~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.