Comments (8)
Could you please send me a demo project (including the tilesets) by email (ldtk at deepnight dot net)?
from ldtk.
Ive sent the email
from ldtk.
Can confirm that this is an issue with 1.4.1.
I've got a bunch of auto-layers with lots of rules that aren't stopped. On top of that entities layer, some background & foreground.
If "main" layer is in between those auto-layers - painting slows down to a crawl and undo takes seconds to perform on decent rig. Editor just freezes, no extra CPU time taken.
If main layer set first, it works just fine:
Fortunately, I don't need actual layer to be rendered, so as a workaround this is fine.
from ldtk.
This should be fixed in 1.5. See #1031 for other rules optimizations
from ldtk.
1.5 will have much better perfs overall for rules in large levels.
However, your use-case is a bit extreme, with very large levels + small grid size + many rules. Therefore, there won't be any miracle here: your experience will still be somewhat laggy, even though much more manageable.
from ldtk.
What if there was a setting where when on, drawing to intgrid would not apply rules until mouse is released? Drawing to intgrid is just changing a number and you would not need to apply rules every cell change.
I made map maker back in the day where I could edit level of size 30000x30000 and same tilesets from the project i provided without any slowdown. But it was made in GameMaker, so Im guessing LDtk is limited by programing language performance its using?
from ldtk.
I could totally add a button to disable rendering "as you draw", but each time you would release mouse button, you will have a lag for re-render.
The issue is not the level size, but the combination of level size + many auto-layer rules.
from ldtk.
I found some new culprits and got performances significantly increased with your project file. 👍
from ldtk.
Related Issues (20)
- tileRectsIds populated as `[[null]]`
- Bug encountered when duplicating selection of tiles to another level
- Escaping Charactors in entities corrupts LDtk file | Cannot read properties of null (reading 'externalLevels') HOT 3
- Build request - normal linux executable HOT 1
- editing assistant rules causes loss of selected tiles
- Add Edit layer button to Rules panel
- Kill tiles from multiple source layers
- TMX export looses size of resized entity
- [bug] Limit on tileset dimensions?
- [Bug] Bug with Super Simple Export
- Better worldDepth navigation
- Naming of linux build. HOT 3
- Typo in Super Simple Export json field name
- Failed to capture pixels
- Cannot read properties of null (reading 'getImageExportMode') (TypeError)
- [Feature Request] Custom field groups
- [Bug] Switching Layers resets selected tile's flip settings
- [SUGGESTION] World Layer X-Ray / World Layer Switching QoL Improvements HOT 1
- "Auto-Rendered Tiles" preview impossible to use with black tiles!
- Unable to patch LDTK project file
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 ldtk.