itch.io is community of indie game creators and players

Devlogs

[FIXED] Scaling issues with models added to static buffers fixed

Fauxton 3D
A browser Demo made in HTML5

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;
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
Download Fauxton 3D
Leave a comment