cursor relative scaling.
Moderator: Moderators
cursor relative scaling.
I like that they maintain the pixel size but if it would be possible can you guys allow for some relative scaling for the cursors?
Here is the problem. I am working on cursors and when I created my first one several users screamed about the cursors being huge, however, I wanted them to be good and visible on my wide screen monitor. After all if I make them comfortable for users of low res I will have a spec. On the other hand if I make them comfortable for me, they are huge. could you guys make the cursors have a scale value per axis so I can set a % based on say the x size of the screen? I don't want it to stretch to the screen on both axis i want it to stay the same square shape it already was.
please?
Here is the problem. I am working on cursors and when I created my first one several users screamed about the cursors being huge, however, I wanted them to be good and visible on my wide screen monitor. After all if I make them comfortable for users of low res I will have a spec. On the other hand if I make them comfortable for me, they are huge. could you guys make the cursors have a scale value per axis so I can set a % based on say the x size of the screen? I don't want it to stretch to the screen on both axis i want it to stay the same square shape it already was.
please?
Re: cursor relative scaling.
sounds like a good candidate for ... luafication?
Re: cursor relative scaling.
i was trying for a non lua solution. We are already having our projects become lua nightmares. It seems that this is a feature that could benefit all of us. It's ok, I kinda expect the response to be thus.
Re: cursor relative scaling.
did you know that lua can easily swap cursors dynamically?
check the screen size, swap the cursors ...
check the screen size, swap the cursors ...
Re: cursor relative scaling.
Swap is simple, but we already discussed swapping, and smoth wanted to ask about keeping one cursor a fixed size. Keeping a fixed size with lua is not as friendly even if doable afaik.
Re: cursor relative scaling.
yar, gnomre gave me some code to even do the faction specific cursors but I was making a general request.
I kinda knew the answer would just be "lua" which is why I stopped asking anything. I thought up a few ways to do it just wanted to ask. Lua it has become the standard response to all requests that involve in game behaviors. I actually didn't want to post but was told try anyway.
I guess it is no big deal to swap them, just adding 3 times the work for new cursors. Thanks Trepan, that solution is less expensive that what I planned.
I kinda knew the answer would just be "lua" which is why I stopped asking anything. I thought up a few ways to do it just wanted to ask. Lua it has become the standard response to all requests that involve in game behaviors. I actually didn't want to post but was told try anyway.
I guess it is no big deal to swap them, just adding 3 times the work for new cursors. Thanks Trepan, that solution is less expensive that what I planned.
Re: cursor relative scaling.
Add SVG image support with a host of scaling options
(pixels, screen percentage, maxspect percentage, etc...)
The cursor feature should naturally fall out from that :)
(pixels, screen percentage, maxspect percentage, etc...)
The cursor feature should naturally fall out from that :)
Re: cursor relative scaling.
I'm curious - why don't we hear this complaint about the default cursors, only Smoth's cursor - is the default cursor inscrutable on high-spec screens?
If so, that sounds like a universal problem, and unversal problems would be nicely handled by the engine.
If so, that sounds like a universal problem, and unversal problems would be nicely handled by the engine.
Re: cursor relative scaling.
because I ran into it fooling with my cursor when I was looking possible ui issues. However, yes, the reason I brought it up was because I was thinking more that just myself could benefit.Pxtl wrote:I'm curious - why don't we hear this complaint about the default cursors, only Smoth's cursor - is the default cursor inscrutable on high-spec screens?
If so, that sounds like a universal problem, and unversal problems would be nicely handled by the engine.
Trepan, photoshop has no svg format (as awesome as it would be to save my image as an xml file) Know of any editors?
Re: cursor relative scaling.
Inkscape is a nice OSS SVG editor.
http://inkscape.org/
http://inkscape.org/
Re: cursor relative scaling.
cool, I have liked the idea of svgs and I had a class on adobe's vector tool actually aced that class. anyway, really tired, I don't know if anyone will impliment that but I don't know if that is really a good solution as vector image is not the "look" I want.
Re: cursor relative scaling.
...talking about SVG support for the engine...
this means, we need C/C++ code to convert SVG to bitmap?
there should be something like this somewhere on the net, no?
or is it just that it is not really needed?
this means, we need C/C++ code to convert SVG to bitmap?
there should be something like this somewhere on the net, no?
or is it just that it is not really needed?
Re: cursor relative scaling.
there's plenty of svg renderers, cairo is the most well-known afaik.
Re: cursor relative scaling.
well.. what else would it be usefull for if we had this in the engine?
i mean.. if it is so easy...
only to rescale cursors may not be enough to justify integrating SVG, i guess.
i mean.. if it is so easy...
only to rescale cursors may not be enough to justify integrating SVG, i guess.
Re: cursor relative scaling.
svg is good for any types of scalable icons and gui. it's got 'scalable' in the name for a reason ^^
Re: cursor relative scaling.
They could have named it "vg"
Re: cursor relative scaling.
soo.. all kind of GUI elements with SVG eg? also through LUA, so widgets and gadgets can use them too?
is it just like adding one more image format in a central place, or would it need lots of additions everywhere in hte code?
is it just like adding one more image format in a central place, or would it need lots of additions everywhere in hte code?
Re: cursor relative scaling.
actually, i have no idea. svg should be treated a little bit differently - there should be a way to request a rendered bitmap of requested size.
- thesleepless
- Posts: 417
- Joined: 24 Oct 2007, 04:49