• Welcome to MX Bikes Official Forum. Please login or sign up.
 
March 28, 2024, 01:38:47 PM

News:

MX Bikes beta18j available! :)


MX Bikes beta11b

Started by PiBoSo, July 11, 2019, 11:07:12 AM

Previous topic - Next topic

PiBoSo


MX Bikes beta11b available:
http://www.mx-bikes.com/?page=news

It is possible to download a patch at this link, to avoid having to re-download the whole installer:
http://www.mx-bikes.com/downloads/mxbikes-beta11b_p.zip
To install it, simply unpack the zip file in the MX Bikes installation folder.

Full download:
http://www.mx-bikes.com/?page=downloads
( mirrors would be extremely helpful and welcome )

PiBoSo

July 11, 2019, 11:09:26 AM #1 Last Edit: July 11, 2019, 11:42:24 AM by PiBoSo
Release notes
- Beta11: http://forum.mx-bikes.com/index.php?topic=2769.msg34988#msg34988
- the mods folder setting has been moved to the file "mxbikes.ini": http://forum.mx-bikes.com/index.php?topic=198.msg35071#msg35071
-- please note that the "mxbikes" sub-directory is no longer needed in the custom mods folder

SwarleyRuiz

I use the google translator

Youtube: SwarleyRuiz Video of Games Racing.


HornetMaX

@PiBoSo: I guess the below made it into MXB beta 11/11b, right ?

Quote* GPB / WRS / KRP / MXB: added support for widescreen user interface

I had some magic in my plugins to map your 0.0-1.0 X coord to full screen width and I was hoping your change would allow me to get rid of that.
But if I just use (0.0, 0.0) for a quad position, it doesn't go to top-left corner of the screen (y is OK, X is off, not fully left).

I have a 21:9 screen if that matters.

What did change exactly ?

PiBoSo

Quote from: HornetMaX on July 14, 2019, 06:45:57 PM@PiBoSo: I guess the below made it into MXB beta 11/11b, right ?

Quote* GPB / WRS / KRP / MXB: added support for widescreen user interface

I had some magic in my plugins to map your 0.0-1.0 X coord to full screen width and I was hoping your change would allow me to get rid of that.
But if I just use (0.0, 0.0) for a quad position, it doesn't go to top-left corner of the screen (y is OK, X is off, not fully left).

I have a 21:9 screen if that matters.

What did change exactly ?

The code has been changed to support user interfaces with aspect ratio other than the 4:3 one.
It was then possible to edit the user interface to use the 16:9 ratio.
However, the user interface doesn't dynamically adapt to the screen ratio.

Could it be useful for plugins to receive the screen ratio as a parameter?

HornetMaX

Quote from: PiBoSo on July 17, 2019, 12:43:58 PMThe code has been changed to support user interfaces with aspect ratio other than the 4:3 one.
It was then possible to edit the user interface to use the 16:9 ratio.
However, the user interface doesn't dynamically adapt to the screen ratio.
Thanks ! But what happens then if you run on a 4:3 screen ?

Quote from: PiBoSo on July 17, 2019, 12:43:58 PMCould it be useful for plugins to receive the screen ratio as a parameter?
I'd say yes. At the moment I try to figure it out getting the screen resolution with windows functions (which likely is not the right way all the time).

Even better would probably be if you could provide a couple of functions to map x and y coords from the "UI" space (0..1, but not necessarily covering the whole screen) to the whole screen and viceversa.

No big deal anyway.