godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.13k stars 92 forks source link

Add a feature to make complex script themes for readable . . #3923

Open charlesmlamb opened 2 years ago

charlesmlamb commented 2 years ago

Describe the project you are working on

A car - game . . :-OO

Describe the problem or limitation you are having in your project

Well, I have this atm. theme, my favorite . .

image

The problem is, bec. the bar is sort-of white, then, it's difficult to read text . . I was thinking, could one add a section, for easier reading . . .

image

Now, that's sort-of the idea . . Been thinking, it might be nice for people, have trouble seeing, one could also make something that reads, to audio, the stuff in the code, some auto-voice generator, based on the code, etc . . It's sort-of for me, but it might be nice, for people that have trouble seeing, etc . .

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Well, not sure, just wish there was a bar, that was a toggle, where one could see each line of code, in big text, prob., at the end, etc . .

I'd like it to have a different font, maybe, it's not important, from code font, either way, well it'd be a big help, thanks . . . :-OO

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Well, like above, a sort-of big bar, with clear text, big letters, so on . . .

If this enhancement will not be used often, can it be worked around with a few lines of script?

I can't do this, etc . .

Is there a reason why this should be core and not an add-on in the asset library?

Not sure, was for me, guess it'd also be a neat accessibility feature . . Thanks . . . !

Mickeon commented 2 years ago

Interesting. It sounds like a magnifying glass feature of some sort?

charlesmlamb commented 2 years ago

Yea, a magnifying glass would be annoying, one would have to move it, all the time . . .

But, that might be nice for some, what I know, Windows has a magnifying glass, not sure . . . .

It'd be, like a magnifying glass feature, sort-of the picture, or so . . :-OO

Add : It was mostly for me, but, it might be ' code ' accessibility etc . .

fire-forge commented 2 years ago

This sounds like a neat idea for an addon, not sure if it would get used by enough people to be in core. If it's hard to read the text you can use Control + scroll wheel in the script editor to zoom in, or you can change font size or editor scale in the Editor Settings.

About reading the script out loud, there is someone who's working on text-to-speech which means this might be added in the future. https://github.com/godotengine/godot/pull/56192

Zireael07 commented 2 years ago

@fire-forge: Godot doesn't play very well with the OS built-in accessibility features, so having our own is pretty much the only way to go. That feature would be useful to many people with fairly poor vision...

charlesmlamb commented 2 years ago

One could add it to the debugger, prob. is in 1080p, it has a certain vertical size, it'd just take ton, of space . .

Maybe, next to output, debugger, have an ' Accessibility ' panel, ' Readability ', don't know . . .

That way, one could see it while coding, and, see output, during testing, so on . . .

I have 4K, not a problem there, the panel, with debugger, etc . . Thx . . . !

charlesmlamb commented 2 years ago

Having an Accessibility panel would be nice, for visual aid, however, for text-to-speech it'd be nice, one could scroll in code window, one could see text larger, or, hear it . .

If no one needed it, they'd never click it . . If nothing else, it'd be very simple to code, just the line, of current code, then, in a bigger font . . .