官术网_书友最值得收藏!

Chapter 3. Graphics – Common Methods

This chapter will cover the following recipes:

  • Creating a window in libSDL
  • Creating surfaces
  • Surfaces manipulation
  • Using colors
  • Cursor manipulation
  • Initializing the graphics mode with OpenGL
  • Getting OpenGL information
  • Using OpenGL extensions with GLEW and Lua
  • Loading images with SDL_image
  • Creating textures
  • Loading and using bitmap fonts
  • Loading and using TrueType fonts
  • Displaying the text
  • Creating texture atlas with the rover-design pattern
  • Using tiles and tilesets in the game
主站蜘蛛池模板: 崇礼县| 苍梧县| 突泉县| 彭阳县| 全南县| 南郑县| 昭平县| 正蓝旗| 都安| 北宁市| 鄱阳县| 秦皇岛市| 天祝| 桓台县| 五家渠市| 巴东县| 井研县| 贺州市| 荔浦县| 措勤县| 周至县| 江津市| 汉寿县| 临海市| 汤阴县| 策勒县| 临猗县| 纳雍县| 元谋县| 读书| 东乌珠穆沁旗| 彩票| 庄浪县| 牟定县| 合阳县| 旌德县| 北海市| 毕节市| 六安市| 合阳县| 朝阳区|