Comments (11)
True, no point to compress single PNG.
Actually this class is still half done, I didn't pay much attention to it for a relative long time.
I planned to make PNGs compressed with dictionary.
Because most PNGs are small, but they shall some similarity, use a well-training dictionary shall help a lot.
from mir2x.
我想请教一下关于绘制地图上的问题,我用平滑移动方式绘图,但是绘制到建筑的影子的时候会出现阴影闪烁的问题,不知道是哪里问题
http://cdn.vvxy.cn/downloads/demo.avi
from mir2x.
Can not access your video file.
But most likely same issue I used to see, not coding issue, I guess it's caused by screen resolution.
setup your monitor to lower resolution (800x600), then it will be good.
It's an old game.
from mir2x.
就像这样的。房子的影子会 红绿蓝交替闪烁。
https://github.com/etorth/mir2x/assets/57646967/28350244-eb3c-4190-8309-d157aa821e84
分辨率不会影响这个问题,滚动地图的时候就会出现。
from mir2x.
I also saw this in other implementation.
My feeling is for sure it's not a coding issue, I don't have a good solution.
In mir2x I just de-mosaic by following function:
Line 14 in f31ce2a
from mir2x.
谢谢,处理后效果好多了,但是还是有一些小块的闪烁,我再去想想办法完善一下。
from mir2x.
谢谢,处理后效果好多了,但是还是有一些小块的闪烁,我再去想想办法完善一下。
My experience is if the project is still in its initial stage, I usually doesn't pay much attention to this kind of fine art things.
from mir2x.
是的,细节后面再完善,只是我每次测试的时候眼睛都快被闪瞎了,看代码都模糊了,所以就先处理一下
from mir2x.
是的,细节后面再完善,只是我每次测试的时候眼睛都快被闪瞎了,看代码都模糊了,所以就先处理一下
oh you can compile and run with windows now ?
from mir2x.
是的,细节后面再完善,只是我每次测试的时候眼睛都快被闪瞎了,看代码都模糊了,所以就先处理一下
I didn't optimize any for text print, slowing down is expected.
will work on it later, currently every character get rendered individually, pretty slow and naive.
from mir2x.
是的我在Windows下编译成功了,但是 这套UI绘制文本有问题,FPS不到60,我借用了你的SDLDevice 自己重写了一套(我不懂DX这些,让你见笑了)。性能还可以,GT1030显卡下,FPS能到 800.
from mir2x.
Related Issues (20)
- 需要sudo apt install libsdl2-gfx-dev HOT 1
- 作者可以留下一个联系方式么? HOT 1
- test account can not login in. HOT 1
- no NPC name display HOT 3
- git clone failed with git-lfs over its data quota HOT 1
- server launch exception bad_alloc HOT 1
- 二进制文件 HOT 1
- resource lfs not found HOT 1
- 有兴趣加入我的公司一起搞mir2x吗 HOT 1
- 编译流程出问题 HOT 4
- client res error HOT 9
- is the actor framework a third-party open-source software like "orca“ or implemented by yourself? HOT 1
- Have you considered supporting mac os? HOT 5
- Can I compile it on a Mac HOT 2
- Is this project to be compiled on WSL and then run on winxp? Have you ever thought of developing on VS2019 directly HOT 25
- Resources are always loading on Ubuntu 20.04. HOT 3
- resouce llink is not working
- 编译错误 HOT 1
- WSL编译libpinyin依赖问题 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mir2x.