13,100
社区成员
发帖
与我相关
我的任务
分享
mBgY ++;
mBgY = sClampShortLoop((short)0, mBgY, (short)160);
//***************
graphics.drawImage(mBg, 0, mBgY, Graphics.LEFT|Graphics.TOP);
graphics.drawImage(mBg, 0, mBgY-160, Graphics.LEFT|Graphics.TOP);
graphics.drawImage(mBg, 0, mBgY+160, Graphics.LEFT|Graphics.TOP);
//仙人掌出现的位置
cLeftPos = new int[][]
{
{
53, 53, 53, 51, 48, 46, 43, 39, 34, 29,
24, 18, 12, 7, -1, -7
},
{
100, 95, 93, 95, 97, 98, 102, 105, 106, 111,
115, 115, 120, 126, 126, 131
}
};
cRightPos = new int[][]
{
{
115, 115, 115, 117, 120, 122, 126, 129, 135, 139,
144, 149, 154, 160, 165, 171
},
{
100, 95, 93, 95, 97, 98, 102, 105, 106, 111,
115, 115, 120, 126, 126, 131
}
};