maxgui: how to make a tile editor

BlitzMax Forums/BlitzMax Programming/maxgui: how to make a tile editor

Hi all,

How can I make a list of graphic tiles to choose from and a small area to paste them back down on? I have loaded the images using loadImage...?

Thanks!

Create a canvas (vertical).
Put a slider next to it.
Now use the slider position to virtually move the images (by simply modifiying all images y coordinate).

To choose a specific one, you would need to calculate which tile would be there at that time.

I don't know if the problems with 2 DX canvas are solved in 1.20, so it might be needed that you switch to OpenGL

What problem with 2 DX canvases?

Maybe this problem?

http://www.blitzbasic.com/Community/posts.php?topic=59170

OEJ is using 1.20 (I'm fairly sure) so it's not solved, if this is the same problem (sounds like it).

Nope. Thats a different problem.

Confirmed dreamoras bug though, and posted in bug reports. Had 2 canvases and the memory of the second is overwriting the first!

This does not happen under opengl!