Hi,
I will try to continue to work on the new graphical engine during the
end of the week. I have time at airport but I will have no internet
connexion, so please don't make too more changes, I don't want to spend
time merging...
Bye,
Matt
Victor Stinner a écrit :
Hi,
I worked with gentildemon on new graphical engine. I fix << last >> bugs.
I works well on my computer: jump from 15 fps => 80 fps :-) (when walking with
no wind particules)
Now, we have to find a good solution to invalid cache without changing current
code too much. Eg. Sprite can invalidate the cache if frame changed or
position changed. <= hey, looks interresting, isn't it ? ;-) ... Hum ... No
sure that it would work because Sprite don't know it's position and this is
just one method that is called ... Draw() :-)
JC: If one argument of Blit SDL function is NULL, clipping won't be
used :-( (check the documentation)
Bye, Haypo