Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Where also what function is responsible for rotate sprite in edititme if at me flag OF_ALLOWANGLES is established?
Develop games in your browser. Powerful, performant & highly capable.
The layout editor handles all the rotations; if you enable the flag it just means that your plugin's angle can be changed (this can be accessed in the SDK the same as the x/y/width/height).
When I enable flag OF_ALLOWANGLES TileBG looks so
Canvas rotates and the picture is not present
i think enabling rotations just allows you to change the internal value of info.angle, but it does not handle actually drawing the rotations. if you want the tiled background to actually draw rotation, you would have to alter the ExtObject::Draw function to read info.angle and draw it differently according to the angle.