阅读背景:

我的渲染窗口中没有绘制我的精灵数组

来源:互联网 

So I am trying to make a chessgame, and of course I am starting out with just making the board. For this I am creating a two-dimensional array like 8x8. Each tile has their own object sprite called tileSprite and I am trying to define them as 1/8th of the width and height of the screen, which has a fixed size of 1024x768. The textures that are loaded in are just 1 pixel black or white. The program gives no definitive error, but the drawn tiles aren't getting displayed onto my window, and all I see is a red screen, which I get from clearing the screen (following the standard clear/draw/display cycle of SFML).So I am trying to make a chessgame, and of cour




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: