- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
Slamakans
-
Content Count
16 -
Joined
-
Last visited
-
Days Won
1
Posts posted by Slamakans
-
-
To be honest I actually just screenshotted my editor and colorpicked hahahahha
There's the issue with having to change the palette if you want the exact color, though. -
I wasn't really trying to mimic it, it happened to be the scheme I was using so I just nabbed most (all?) of the colors from it.
I'm rewriting it all now though, so I'm going to add it in. -
I guess that there's competition now... Time to polish my editor, I'll be taking inspiration from your code
-
-
A modified version of edit.lua that I made for personal use. It has syntax highlighting and when you open a file you can specify which line to jump to.
It has a few issues where it misses cases, but generally works quite well. The colors are easily modifiable near the top of the file.
I don't think it has any breaking bugs right now. A bit performance heavy perhaps, but that's it.
Download:
pastebin get LYy2u6HL edit.lua
-
I'm taking into account the max resolution based on the screens as well, not sure were you think I should use that instead of something else?
The current resolution doesn't matter much since I'm setting the resolution anyways. If you mean that I should use it instead of monitor.getResolutionFromTier, I guess I should've named it getMaxResolutionFromTier cuz that's what it does
Forgot to say that monitor.fill() would be what you'd use to fill the screen but maybe you got that
Edit: I forgot that gpu.maxResolution() returns the lowest of the two. A bunch of the code can be removed if that is used instead: https://pastebin.com/1jtwLRQA (untested)
Amazing how you never learn not to code when tired af -
-
I gave this a whirl and it proved to be a bit more challenging than I thought it would be, and I'm not really content with it.
It works to a certain degree, works better for some ratios than others and whatnot. I couldn't seem to find an algorithm that would work properly.
https://pastebin.com/Wq60vHuyI tested with all tier screens and a tier 3 graphics card. It should work with tier 1 and 2 graphics cards as well.
You can run monitor.test() and break/add some screens to see it in action.
If there's any code you're wondering about, feel free to askEdit: It feels like it should be a lot simpler but idk
-
-
What do you mean by interrupt? That they block execution of code, that they eventually die, or something else?
If you could show the code you used to test to show what you mean that'd be spiffing.
-
-
Thank you
-
Is there currently a way of getting the tier of a component?
-
Thank you, it worked!
I will probably create a modified version of OC's HTTPRequest later on because of the huge delay since it's for an interface, but definitely a great help, thanks again.
-
Is there any way to send PUT and DELETE requests, or any mods that add this functionality?
ShEdit - edit.lua, but with syntax highlighting
in Programs
Posted
u've got some tabs there