c - Can SDL sprites be drawn without SDL_Image?
问题描述
Say I wanted to make a game where the graphics were just drawing pixels with SDL_Surface in a 16 bit game visual, instead of loading images. Could this be done, and could it be more efficient than loading images?
解决方案
推荐阅读
- python - 如何使用python将csv文件上传到API
- typescript - 使用类组件在 Vue mixin 中实现 typescript 泛型
- visual-studio-code - Visual Studio Code - 通过跨多个页面的一行中的数学运算更改特定整数的值
- javascript - 在 jquery 加载此元素后使用 javascript 修改元素
- typescript - 在 TypeScript 中,我可以指定对象字段的类型,同时还能推断出文字键类型吗?
- javascript - 使用 jQuery 更改 data.color 不透明度
- android - amplify push 导致错误:push 操作时出错 \app\src\main\res\raw 包含无效的WIN32 路径字符
- node.js - 尝试缓存 UnhandledPromiseRejectionWarning discord.js
- ios - cordova run ios - 模拟器打开但应用程序未安装 - 错误操作无法完成。FrontBoard 不知道应用程序“myApp”
- c++ - c ++通过函数内部的索引更改数组