Hi again
This time my problem is that LoadFromFile function from Image library return false while trying to load file.
It seems the error comes from my new class.
Take look at my script:
!Removed!
The result is: 'Can't load file: images/grass.png'
If I try to simply load the same image outside from my class its load successfuly.
EDIT: I remove code because I fix it myself. The problem was that I was trying to access Private variable. Sorry for this topic.. but I'm still learning classes :oops: