hey guys,
I just made a huge mistake in my code. I wrote this:
Just before I started drawing Tiles. I was struggling for a shamingly long time with this, as the Sprite did not get cleared and took a while to realize I simply forgot to add (), so the code of course (as everywhere else in my code) should look like this:
As this is a function call, not a property.
My concern is, I did not get neither compile-time nor run time error. Run time is OK, might be sinked or not, fine. But compile time?
I think this is a bug as -IMHO- compiler should throw an error ("graphics obj. has no 'clear' property. did you mean clear()?" or similar) and considering this should be the case many other places if not everywhere else, I think the issue is severe.
Please let me know if I'm wrong.
Cheers,
Mark