TimeControl
TimeControl copied to clipboard
port to ui-lib
- port to ui-lib
- indentation
- use slider instead of 50 button functions
I made this mod to be as Mobile compatible as possible, as I also originally was a mobile player. So here are the some major drawbacks:
- In mobile, one mod or two mod makes a substantial difference. Make the ui-lib optional(and this is why I frown upon libs in general).
- Make the slider be fold-able(into a square, while retaining its core functions), like the buttons currently.
- Buttons are more pretty, and is bigger, so you don't need to fiddle with 3 or 4 pixels separating x2 and x4 apart.
- no they dont, ui lib doesnt do much cpu-wise
- ?
- i agree
no they dont, ui lib doesnt do much cpu-wise
- Downloading mods take a long time.
- Mobile phones are not guaranteed to have something that can be classified as a decent(or even working cpu), unlike computers.
- Some players may not understand what "missing dependancy" is, or not bother at all.
(Below is my rant)
ui-lib is good, its just my(and some players') preference to not bother with them(unless you have a lib fetish). It should be optional, if added. I am not against it being added, if it is not a requirement.
Also, working with pu and seeing some libs made by others, many times I have felt the "libs" should be distributed in .js/.java form, and not a complete mod. (For one thing, if the latter was true for PU, it would require at least 30 dependancies).
Examples are the localized description lib(I forgot the repo) and such. Since you are the main distributor of mindustry mods(I mean holy router that is a lot of libs in your repo list), I really wanted to tell this to you. I have plans to release my libs to the public(yes, under dat gpl), and they will all hopefully be in js form, so that modders will take js/java libs as granted(and easier to use, too).
if every mod had its own ui lib then the entire point of being compatible with eachother would be broken instantly
- you only have to do it once
- doesnt matter, ui lib uses very little cpu and unless you show me a profiler i wont believe otherwise
- fuck em, reading is a basic skill
Okay I was drunk, yes, it would break the entire point of ui-lib, I wonder how that slipped my mind...
I'm in some exam stuff rn, exect a push/implementation this weekend!
you only have to do it once
Oh yeah, really lovin this, unlike someone that requires both the lib and mod to be updated cough younggam/multi-lib cough
@DeltaNedas didnt you make a mod that auto installs its dependecies?
no they dont, ui lib doesnt do much cpu-wise
- Downloading mods take a long time.
- Mobile phones are not guaranteed to have something that can be classified as a decent(or even working cpu), unlike computers.
- Some players may not understand what "missing dependancy" is, or not bother at all.
(Below is my rant)
ui-libis good, its just my(and some players') preference to not bother with them(unless you have a lib fetish). It should be optional, if added. I am not against it being added, if it is not a requirement. Also, working with pu and seeing some libs made by others, many times I have felt the "libs" should be distributed in .js/.java form, and not a complete mod. (For one thing, if the latter was true for PU, it would require at least 30 dependancies). Examples arethe localized description lib(I forgot the repo) and such. Since you are the main distributor of mindustry mods(I mean holy router that is a lot of libs in your repo list), I really wanted to tell this to you. I have plans to release my libs to the public(yes, under dat gpl), and they will all hopefully be in js form, so that modders will take js/java libs as granted(and easier to use, too).
https://github.com/DeltaNedas/yes
you could just reuse that