-
FlappyBird2
大致思路说说,就是在外部SRAM里面做了一个大数组[320][240]做了一帧缓冲,所有屏幕相关操作都是在这一帧上面实现的,使用DMA直接丢数据到FSMC接口上,比I/O快多了,然后就是资源的去背问题,所有的图片都是我从手机版上面截图下来的,然后背景色都是0X4DF9,然后因为jpg转换软件的关系,蓝色的背景色会有偏差所以直接判断把0x4df9不显示不可行,后来想到可以用RGB颜色来入手,虽然不是0x4df9但是还是蓝色,所以蓝色分量肯定比红色多,所以做了一个阈值判断(Roughly speaking, a large array [320] [240] is made in the external SRAM to do a frame buffer. All screen-related operations are implemented on this frame. Using DMA to drop data directly to the FSMC interface is much faster than I/O. Then it is the problem of resource backtracking. All the pictures are taken from the top of the mobile version, and then the background color is 0X4DF9. Later, because of the relationship between JPG conversion software, the blue background color will be biased, so it is not feasible to directly judge that 0x4df9 is not displayed. Later, I thought that RGB color can be used to start with. Although it is not 0x4df9, it is still blue, so the blue component must be more than red, so I made a threshold judgment, and then it is the transition between scene and scene.)
- 2019-06-17 12:06:28下载
- 积分:1
-
井字游戏:为双人对弈游戏,双方轮流放子,单任一行,列,斜线为三个相同的 子时即为胜利!...
井字游戏:为双人对弈游戏,双方轮流放子,单任一行,列,斜线为三个相同的 子时即为胜利!-gridwork game : Chess game for a double, the two sides take turns in taking sons, single-line series of three slash the same firm shall victory!
- 2023-06-06 08:10:03下载
- 积分:1
-
BeginningSQL
This one of the good tutorial about SQL for beginners.
- 2010-08-16 19:17:56下载
- 积分:1
-
creep
FLAC3D蠕变,用于地下工程开挖蠕变模拟研究学习(Study on based mechanical application, including creep time, how to use creep in flac, in underground .)
- 2018-11-07 11:55:25下载
- 积分:1
-
top
利用顶帽变换进行图像增强,能够提取图像细节,增强图像对比度(Using top hat transform to enhance image,which can extract image details and enhance image contrast.)
- 2021-04-29 12:18:43下载
- 积分:1
-
SCMA matlab code
说明: SCMA编码解码的MATLAB实现及相关论文(MATLAB implementation of SCMA coding and decoding and related papers)
- 2021-03-10 16:01:38下载
- 积分:1
-
一个C++.net的华容道游戏, 相信很多朋友都玩过, 在此和大家分享游戏实现源码, 希望大家多多支持....
一个C++.net的华容道游戏, 相信很多朋友都玩过, 在此和大家分享游戏实现源码, 希望大家多多支持.-A C++. Net of Huarong game, I believe many of my friends have played in this game is to achieve and to share source code, I hope everyone can support.
- 2022-03-09 14:20:53下载
- 积分:1
-
WAWS
这是一个谐波叠加法的风速时程曲线模拟程序(a time series code for e wind speed)
- 2018-05-17 22:25:59下载
- 积分:1
-
PSO-bp((matlab
实现粒子群算法优化BP神经网络的预测算法(Particle swarm optimization algorithm to optimize the BP neural network prediction algorithm)
- 2017-07-21 15:05:15下载
- 积分:1
-
用MAXPLUS设计的CMI程序,好不容易弄到的,
用MAXPLUS设计的CMI程序,好不容易弄到的,-MAXPLUS designed by CMI procedures, easy to get, and
- 2023-08-23 00:55:03下载
- 积分:1