Ca y est j'ai fait quelques essais et vous allez pouvoir en faire aussi !!
Apparement Remainder a des effets bizzares mais n'est pas un rapport de sur-zoom.
Recuperez l'exemple ici :
ExempleIl y a un prog pour le Bjl (ZOOM_SPR.TOS), les sources au cas ou et l'image converties joyeusement avec Ellipse, image provenant du jeu Blood Money.
Si vous lancez le code, vous avez 6 compteurs, ceux a gauche partie fractionel et ceux de droite partie entiere. La premiere ligne c'est le Remainder, les deux autres Hscale et Vscale.
Touche 1 et 4 pour modifier le Remainder
Touche 2 et 5 pour modifier le Hscale
Touche 3 et 6 pour modifier le Vscale
On dirait que cela fonctionne a l'envers, la partie fractionnel est divisé par l'entiere pour avoir un rapport de zoom !! Faites votes essais par vous meme on attend vos remarques avec plaisir !!
Avec une image zoomé, si on modifie le Remainder cela fait des 'cochonneries' sur l'image !!!
Les compteurs sont en decimal (Je trouvais plus ma fonte hexa codé a la main !), les parties fractionnels sont décalés (de 3) avant affichage, cela pour avoir un chiffre compréhensible pour en tirer des conclusions.
Et tout a zero on a plus rien !!
[
english]
I have done some trys and now you can do it too !!
At first sight REMAINDER do some strange effects
Pick up the example here !
ExampleThere is a prog for Bjl, source and the picture (converted by Ellipse) coming from the game Blood Money.
If you run it, you've got 6 counters, the left one are fractional part and right one integer part.
First line : REMAINDER, the two others HSCALE and VSCALE
Key 1 and 4 to modify Remainder
Key 2 and 5 to modify Hscale
Key 3 and to modify Vscale
I'am thinking that will run in bad direction !! Fractionnal part is divied by the integer part for getting a zoom ratio. Try by ourself !!
With a scaled picture, if we modify the Remainder, that give some dirty things on it.
Counter are in decimal (I have lost my hexa font, coded with my little hand !), the fractionnal part are shifted of 3 before displaying, in way to got understanding number.
And everything at zero, nothing on screen !!
GT Turbo :yes: