Thursday, March 17, 2016

Codename: Ikaruman


Basic movement test. Gotta work in the variable jump height later.
Also, I came across a graphical bug that happened occasionally when I flip the object’s xscale to -1. Some odd texture UV issue where the entire texture is shifted one pixel to the right. I figure it was just an issue with floating point imprecision - the fact that the game is running in a small 320x180 resolution resized to 960x540 amplifies the bug.
Anyway the problem is fixed once I rounded off the x and y position of the object in the draw event before draw_self(). 

No comments: