Bennu Game Development

English Forums => Suggestions => Topic started by: Grew on January 25, 2011, 03:26:06 PM

Title: Scale_mode more than 2x
Post by: Grew on January 25, 2011, 03:26:06 PM
Bonjour,
Do you think there is a way to change scale mode more than 2x?
4x or 8x, to make some pixel's games for exemple!
Title: Re: Scale_mode more than 2x
Post by: handsource-dyko on January 25, 2011, 03:29:37 PM
Currently that is not possible, but it would sure be a nice feature to have. I know some other sdl based games/emulators support 3x and 4x
scale modes.
Title: Re: Scale_mode more than 2x
Post by: Drumpi on January 25, 2011, 07:20:10 PM
Yes, you can!!!
Just use global variable SCALE_RESOLUTION (if i dont remember wrong): you must input your resolution in XXXXYYYY format (8 digits, 4 for width and 4 for height), so you can scale to 2x, 4x, 8x, 5x, 0.5x, 3.7x or deform it, whatever you want.

Is one of the lastest additions to Bennu languaje (like SCALE_RESOLUTION_ASPECTRATIO and SCALE_RESOLUTION_ORIENTATION) ;)

PD: it don't support any kind of filter, i think.
Title: Re: Scale_mode more than 2x
Post by: Grew on January 25, 2011, 07:45:58 PM
Yeah! that's works very well!! :)
How did you know that?
Title: Re: Scale_mode more than 2x
Post by: josebita on January 25, 2011, 09:30:58 PM
http://www.bennugd.org/node/27
:)
Title: Re: Scale_mode more than 2x
Post by: Drumpi on January 26, 2011, 12:43:48 AM
http://forum.bennugd.org/index.php?topic=270.0
http://forum.bennugd.org/index.php?topic=102.0
And reading the forum all days ^^U
Title: Re: Scale_mode more than 2x
Post by: handsource-dyko on January 26, 2011, 09:12:58 AM
Didn't know it was possible. Is this a recently made improvement?
Title: Re: Scale_mode more than 2x
Post by: Drumpi on January 26, 2011, 01:32:49 PM
As josebita pointed, it's from release r101.
Actual release is r224 ;D
Title: Re: Scale_mode more than 2x
Post by: josebita on January 26, 2011, 02:46:45 PM
23rd august 2009 :)
Title: Re: Scale_mode more than 2x
Post by: handsource-dyko on January 26, 2011, 04:24:41 PM
Wow! It seems it exists a lot longer then I thought. Is this on the wiki?
::)
Title: Re: Scale_mode more than 2x
Post by: Windgate on January 26, 2011, 08:37:43 PM
Quote from: handsource-dyko on January 26, 2011, 04:24:41 PM
Wow! It seems it exists a lot longer then I thought. Is this on the wiki?
::)

Bennu is infinite, trust me :P
Title: Re: Scale_mode more than 2x
Post by: josebita on January 26, 2011, 11:23:54 PM
Quote from: handsource-dyko on January 26, 2011, 04:24:41 PM
Wow! It seems it exists a lot longer then I thought. Is this on the wiki?
::)
No, it's not in the wiki. I believe we should do something to fix this sort of things... Let me think of something.