[FIXED] Scaling issues with models added to static buffers fixed
Fauxton 3D » Devlog
Fixed an issue where models added to static buffers would be offset when scaled. That is now fixed. You can read more about my idiocy below. lol.
Read more about it here
THE ISSUE:
Okay, so I found an issue with scaling my vertices to buffers in my fauxton engine and I can't seem to wrap my head around what exactly is going on and how to fix it. Here is some visualizations of what is going on:
GML:
var xx = x; var yy = y;
All of them are at their respective x/y positions, but once I scale up they become exponentially off-centered ( at least I think ).
I (kind of) found a fix for #2 (2x2 scale) like so:
GML:
var xx = x - sprite_width/power(image_xscale, image_xscale); var yy = y - sprite_height/power(image_yscale, image_yscale);
The fix:
Files
Fauxton 3D ( v_2.2.2).zip 9.2 MB
Jun 06, 2021
Get Fauxton 3D
Download NowName your own price
Fauxton 3D
Asset
Status | Released |
Category | Tool |
Author | Gizmo199 |
Tags | 2D, 3D, 3d-engine, 3d-scripts, gamemaker-3d, gm-3d, gms2-3d, gms3d, Sprites, spritestacking |
More posts
- Fauxton is now on github!Jul 15, 2021
- [FIXED] Gamepad camera control fixedJun 05, 2021
- [UPDATE] LIGHTING IS HERE!Jun 04, 2021
- [FIXED] Annoying GM message fixed - 'missing reference id'May 28, 2021
- Version 2.1.0 - Full Demo, Volumetric fog, and more!May 26, 2021
- Fauxton 3D 2.0.0!! Faster, Easier, and Simpler!May 18, 2021
- [UPDATE] v1.1.1 - Soft Shadows & GrassFeb 17, 2021
- [UPDATE] v1.1 - Collisions are here!!!Feb 17, 2021
- [UPDATE] Fauxton 3D v1.0.2Feb 03, 2021
Leave a comment
Log in with itch.io to leave a comment.