Is it okay to have a SDL_Surface and SDL_Texture for each sprite?

后端 未结 0 788
忘掉有多难
忘掉有多难 2021-02-19 03:54

I\'m trying to build a gameengine in SDL2 with cpp. I have a class called \'entity\' which has some data for movement and also some pointers to a surface and a texture. A functi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题