23 Jun
2022
23 Jun
'22
9:24 p.m.
i'm kinda paused. i'm at the point of writing a screen matrix to move to the center of the screen . i was thinking of holding a 2x2 matrix as an object member. the plan is to divide the width and height by two, and take the minimum and call it dim. then to scale by dim (first column of matrix) and add the halfwidth and halfheight (second column of matrix) so maybe like screen_mat[1,:] = (self.width, self.height) screen_mat[1,:] *= 2 screen_mat[0,:] = min(screen_max[1:]) dunno