Having tried several game launcher apps, I've decided it would be easier to make my own with the added benefit of taking up minimal space without the hundreds of thousands of files, the massive task of setting it all up and far more reliable. Retroarch was good, at first, then it just got more and more problematic. LaunchBox is very good, but your just adding all of that fancy interface on top of the standard emulator programs.
Then I thought I'd have a go at making my own...
I've not long started and am stuck as to why the Clamp function isn't working correctly. It allows the setting to go below zero, to -5 and up to 260 despite being clamped from 0-255. What's wrong here that doesn't affect the other skins I use it on? I just don't get it!
Also, I can never seem to figure out the correct way to get percentage values for the Bars! A few weeks ago, I looked up how to do it, followed the instructions and it still didn't work. That's when I came here and requested help. Again, I am asking for help, because the very same formula that is explained on the site, that should surely work for everything you want to turn to a percentage, but it doesn't! Isn't there a standard way of getting a percentage value no matter what the source?
Code: Thanks for your help
Then I thought I'd have a go at making my own...
I've not long started and am stuck as to why the Clamp function isn't working correctly. It allows the setting to go below zero, to -5 and up to 260 despite being clamped from 0-255. What's wrong here that doesn't affect the other skins I use it on? I just don't get it!
Also, I can never seem to figure out the correct way to get percentage values for the Bars! A few weeks ago, I looked up how to do it, followed the instructions and it still didn't work. That's when I came here and requested help. Again, I am asking for help, because the very same formula that is explained on the site, that should surely work for everything you want to turn to a percentage, but it doesn't! Isn't there a standard way of getting a percentage value no matter what the source?
Code:
Statistics: Posted by sl23 — Yesterday, 12:51 pm — Replies 22 — Views 656