compose-multiplatform
fruit-economy | compose-multiplatform | |
---|---|---|
4 | 96 | |
2 | 14,706 | |
- | 1.2% | |
5.2 | 9.6 | |
about 1 year ago | 6 days ago | |
HTML | Kotlin | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fruit-economy
-
Sharing Saturday #403
Fruit Economy - itch.io | latest devlog | ghHey Everyone, For the second week in a row things have been rather crazy at work, so I've not been too upset about my disrupted plans... Most of the performance-related code changes I wanted to get done were complete on Wed [0], but there were still some annoying rendering artefacts mostly around resizing the screen and mouse movement. I could hide the mouse movement issue, but I'd rather fix it properly. It's mostly a case of not passing enough context or too much context to the memoisation. Basically, at the moment I'm re-rendering everything if anything changes on the game-state side when I really should be splitting up the re-renders to be more specific to rendering only the subset of tiles that have changed or grouping tiles into small regions and rendering stuff at a region at a time. Also, because of this, I didn't tie re-rendering to non-game-state stuff, things like resizing and mouse movement are waiting on a game tick to actually be updated. Bad on me for being lazy I guess, so that's a thing to get sorted out, but I'd like to also add in a gameplay thing, two weeks is getting dangerously close to going a month without making any gameplay improvements, which is bad. So that's definitely something I need to prioritise for next week.As always, questions welcome!- Folcon `-[0]: You can peak at stuff on github if you're interested ;)...
-
JDeploy – Deploy desktop Java apps as native bundles on Mac, Linux, and Windows
Apologies for how much junk is in here[0], I finally figured out notarization and then lost the will to touch it. I'm planning on circling back to clean it up in a few weeks when that entire pile of stress is a bit more of a distant memory, but hopefully it's helpful? =)...
- [0]: https://github.com/Folcon/fruit-economy/blob/185d49f120bac18...
-
Sharing Saturday #401
Fruit Economy - itch.io | latest devlog | gh
-
Ask HN: What is your “I don't care if this succeeds” project?
Last June I decided to try and figure out how to make a game or bust, I didn't really care what, just that I made something, so I took part in the GMTK 2021, that went ok so I decided to try and take what I learned about focus, scoping and getting a small playable thing up and running asap and made a new project[2].
It's super rough, the gameplay is still sort of non-existent, performance is pretty bad and code quality is kind of all over the place as I'm still really trying to work out how to build stuff like this and I know if I let my dev side have too much leeway it's going to take over and I'll probably no longer be able to figure out what my creative side wants to do.
It's a fiddly balance that I'm still trying to figure out.
I've intentionally not said anything about the game itself, you're welcome to ask me for details, but there are also bits of info littered about here and there[3].
- [0]: https://web.archive.org/web/20130124211012/http://www.dev.gd..., original HN discussion [1]
- [1]: https://news.ycombinator.com/item?id=5096009
- [2]: Itch: https://folcon.itch.io/fruit-economy, GH: https://github.com/Folcon/fruit-economy
- [3]: https://news.ycombinator.com/item?id=22791490
compose-multiplatform
-
Understanding file associations in JVM apps
So, to add file associations, we need to be able to pass both the .properties file and the --file-associations option. At the time of writing this article, the org.jetbrains.compose plugin doesn't provide such a mechanism. There is an open issue on GitHub that describes a possible workaround, which, unfortunately seems to not work on macOS.
-
Compose cannot be used for large amount of text
JetBrains has a simplified example of a general-purpose Compose text viewer here: https://github.com/JetBrains/compose-multiplatform/blob/master/examples/codeviewer/shared/src/commonMain/kotlin/org/jetbrains/codeviewer/ui/editor/Editor.kt
-
[Compose Multiplatform] Disable a button according to a list of flow values
![image](https://github.com/JetBrains/compose-multiplatform/assets/1382241/6747a3f6-53b9-43da-8d97-ab1e1e31170f)
- Compose Multiplatform 1.5.0-beta01
-
Timeline with Scrollbar in LazyColumn Compose
Compose for desktop has a scrollbar component available. You probably can't use that directly on Android, but you could probably steal most of its code.
- How good is Compose Multiplatform in production especially in creating Desktop apps?
-
Kotlin for a desktop App
My company uses https://github.com/JetBrains/compose-multiplatform to make a desktop app in Kotlin. It's amazing and fantastic. It's basically as mature as using Kotlin in an Android app.
-
Kamel v0.5.0 released with Kotlin Native and JS support
Kamel is an asynchronous media loading library for Compose Multiplatform.
-
Ksoup - Kotlin Multiplatform HTML Parser ⚡
Kotlin Compose Multiplatform is the way to do Desktop apps. https://github.com/JetBrains/compose-multiplatform
-
JetBrains Compose is now Compose Multiplatform
As for missing controls, a common one is a grid. They have built in grids, but again they are built for Android and don't make any sense in a desktop app. There is no simple way to create an Excel-like Data Grid like you might see in Windows Forms, although it can be done. https://github.com/JetBrains/compose-multiplatform/issues/344.
What are some alternatives?
endbasic - BASIC environment with a REPL, a web interface, a graphical console, and RPi support written in Rust
javafx-examples - A large collection of JavaFX examples demonstrating basic + advanced features of JavaFX.
roguelike - A stealth roguelike in development phase.
tornadofx - Lightweight JavaFX Framework for Kotlin
jdeploy - Developer friendly desktop deployment tool
skiko - Kotlin MPP bindings to Skia
tcod_tutorial_v2
javafx-gradle-plugin - Gradle plugin that makes it easy to work with JavaFX 11+
json-formatter-live - json formatter live / Keyboard first, privacy-friendly, installable JSON formatter
Jetpack-Compose-Playground - Community-driven collection of Jetpack Compose example code and tutorials :rocket: https://foso.github.io/compose
polyhydra-upm - Creative geometry for Unity
tornadofx2 - TornadoFX 2.0