62Fermer64
Mega ShockedLe 15/10/2018 à 17:13
Hi HPMAN!

The way you built the Sprite Pool feature is good on so many levels. I wouldn't know where to begin to write a custom renderer. I was hoping to use what you had and build in a solution for scaling as an interim solution. Are you planning on incorperating scaling to sprite pools at a later time?

The s variable is only in place so that every variable within the scroll struct initializes to zero when it is first declared in main. "Glinkie Games" hooked me up with this technique when I inquired about initializing several variables to 0 as a start point. I use this frequently and haven't encountered any issues.

Do you have any insight on how to better anchor the scale in the demo? When anchoring a standard picture or sprite to its center the math in the scale function seems to work.