new graphics control

Started by Marc van Cauwenberghe, October 02, 2012, 03:39:09 PM

Previous topic - Next topic

Marc van Cauwenberghe

Hi,

is it possible to have a few more examples of using the new graphics control in FF. something like loading a jpg, showing it and moving it.

Thanks

Marc van Cauwenberghe


José Roca

You can use GDI and/or GDI+. There are tons of examples in my forum:
http://www.jose.it-berater.org/smfforum/index.php?board=417.0

Just look at the GDI+ code, that is almost always in a procedure at the begining of the program.

Marc van Cauwenberghe

Thank you for your reply.
I am able to load a bitmap and show it, but I do not find how to move it.

Marc

José Roca

Don't understand what you mean. Move it where?

Marc van Cauwenberghe

Move it from one position to another within the control. Lets say I load a bitmap as a background and then a smaller one moving from left to right.

Marc

José Roca

I don't have code to manage sprites. Sorry.