Author Topic: SETHANDLE X, Y  (Read 2222 times)

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3606
    • View Profile
    • Space Fractal
SETHANDLE X, Y
« on: 2013-Mar-17 »
Im are aware you can calucate top/left hotspot etc, but when you trying to scaling a sprite with the calucated new hotspot, then you have no control over extract pixel you want to draw. That shown in attachments with two images overlap is no good when using a scaled ZOOMSPRITE image.

Howover a nice alternative trought is simply just draw the scaled image by using POLYVECTOR instead, which gave more control over the image and no overlap happens:

Code: GLBasic [Select]
POLYVECTOR -camm+imagew, bottom+camy, 0, 256
POLYVECTOR -camm, bottom+camy, 1024, 256
POLYVECTOR -camm+imagew, bottom-384*SCALING2+camy, 0, 0
POLYVECTOR -camm, bottom-256*SCALING+camy, 1024, 0
 

So this is just more a idea than a request, nothing else.
« Last Edit: 2013-Mar-18 by spacefractal »
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.