Buttons
Space Trader re-Factor » Devlog






Basically made everything clickable and movable... I learned something that was in front of my face the entire opengl journey... POINTS (not lines or triangles, just to be super clear) are rendered in opengl from the center (that's the position that you give opengl, the center of the point), and aspect ratio-corrected positioning of the square shape of the point itself. So mouseover determination must be aspect ratio adjusted on the x axis, given the size of pixels in the opengl coordinate system (-1 to 1 on both axes).
That is all for now, have fun moving things around the solar system if you happen to try out the re-factor, more on the custom gui when the coding mood hits me.
Thanks,
Programmer_Jeff
Files
rebuild.zip 286 kB
63 days ago
Get Space Trader re-Factor
Download NowName your own price
Space Trader re-Factor
Demo or Prototype
Status | Prototype |
Author | programmer_jeff |
Genre | Shooter |
More posts
- Recap and Update58 days ago
- Minor Fix to Left Click Movement Mechanic61 days ago
- Oct 28th 2024 UpdateOct 28, 2024
Leave a comment
Log in with itch.io to leave a comment.