So ive been trying to messed with the code examples provided in the installer. Main goal is to create a pong and have a feel on the engine.
Question is on the code example sprite entity
private const float gameWidthX = 16f; // from -8f to 8f
Where on earth can u get the 16f? Im too confuse? is this like youre gonna guess the number until it fits right? I really hate having a magic number on my code as it is really confusing. Is there a way to dynamically get the screen size for collision checking?
and the comment > -8f to 8f? what does that even mean? isnt that from 0 - maximum number of width? like for example 0-800 x coordinates with 0 being on top left or bottom left?
The example code lacks enough comment about a certain code and the documentation doesnt have a 2D section.