Nuclear Nezz 2040 Share Posted November 15, 2018 21 hours ago, DeadmanVlei said: float map(x_or_y, float original_width_or_height, float new_width_or_height){ return x_or_y / original_width_or_height * new_width_or_height } Then go around changing everything that uses x to map(x,originalgamewidth,currentgamewidth) and everything that uses y to map(y,originalgameheight,currentgameheight) So if it's about the math can we get full-screen mode now 😛 Unfortunately, because of how we have some of our stuff set up, that doesn't work. I did that for a quick fix on some things, but on our model it doesn't. Plus zoom breaks that, which also requires us to update things in how we handles models. Overall it would require a decent amount of rewriting to make that all work without risk of breaking something else somewhere. This is one of the goals to fix with dreambot 3. Link to comment Share on other sites More sharing options...
Almonds 110 Share Posted November 15, 2018 On 11/14/2018 at 3:06 PM, DeadmanVlei said: float map(x_or_y, float original_width_or_height, float new_width_or_height){ return x_or_y / original_width_or_height * new_width_or_height } Then go around changing everything that uses x to map(x,originalgamewidth,currentgamewidth) and everything that uses y to map(y,originalgameheight,currentgameheight) So if it's about the math can we get full-screen mode now 😛 That isn't going compensate for scripts; a majority would be broken. Nonetheless, nicely concluded- unfortunately there is no positive purpose that would serve. Link to comment Share on other sites More sharing options...
DeadmanVlei 1 Share Posted November 22, 2018 I gotcha, sometimes things are more complicated than they seem. Do many scripts really rely on the mouses absolute position on the screen? I know the internal api functions rely on that but they could be updated with the forementioned. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.