Topic: AppGraphics, load image?

Hi, how do I load image using AppGraphics? There seems to be 'readimagefile' subroutine but it also draws the image. I would like to load images at program startup and use for drawing later on.

Re: AppGraphics, load image?

Unfortunately, at this time, there is not an API for this, which I also find frustrating.  Let me see about sneaking it in before the next release.

Jeff Armstrong
Approximatrix, LLC

Re: AppGraphics, load image?

Thanks, I was going to port my minesweeper game for AppGraphics but I think, I now write Tetris  game first.

Re: AppGraphics, load image?

Thanks for adding loadimage() function! I now have almost fully working Minesweeper game done. I still need to add mouse handling support, everything else works.

Are mouse coordinates always relative to window or does it take viewport into account?

Re: AppGraphics, load image?

jali.heinonen wrote:

Are mouse coordinates always relative to window or does it take viewport into account?

I believe all mouse coordinates, including callbacks and direct requests for position using mousex and mousey, do not take the viewport into account.

Jeff Armstrong
Approximatrix, LLC