aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-10 06:41:23 -0500
committerColin Okay <colin@cicadas.surf>2022-07-10 06:41:23 -0500
commit979ae9de1d0b47ceba368aa472f565b7d22866e9 (patch)
treeaceeb90ed88f031550a3b35af6b6dead34dd978e
parent3b0abf9ffb3cbe08d1646fea4695edbf1e62d229 (diff)
[doc] readme
-rw-r--r--README.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.org b/README.org
index a8f9844..e001033 100644
--- a/README.org
+++ b/README.org
@@ -63,7 +63,10 @@ This defines a subclass of appliation along with some state needed for the pong
**** The Window & Scale & Coordinates
-Wheelwork uses SDL2 to create windows and generate events. The application includes a global scale factor that affects how the game interperets coordinates inside the window. A window, for example, can be 800x600 pixels on your computer monitor, but if the application's scale factor is 2.0, then it will only have a 400x300 logical space of coordinates. If you add a sprite that is 30x30 pixels big, it will appear twice as large, but it will still logically be 30x30.
+Wheelwork uses SDL2 to create windows and generate events. The application includes a global scale factor that affects how the game interperets coordinates inside the window. A window, for example, can be 800x600 pixels on your computer monitor, but if the application's scale factor is 2.0, then it will only have a 400x300 logical space of coordinates. If you add a sprite that is 30x30 pixels big, it will appear twice as large, but it will occupy 30x30 "locial pixels".
+
+The =0,0= coordinate is the bottom left corner fo the game window, and the top right corner is =w,h=, the width and height of the scaled screen, respectively.
+
**** The Boot Method
@@ -136,7 +139,6 @@ More specifically, you can use the following accessor functions on them:
There are a few convenience functions also defined that use the above functions under-the-hood. I'm not including them here because the API is still stabilizing.
-The =0,0= coordinate is the bottom left corner fo the game window, and the top right corner is =w,h=, the width and height of the screen, respectively.
The affine units are things like: