搜索资源列表
pintugaga
- 本练习制作拼图游戏,运行效果如图99-1所示。执行本实例后,用鼠标拖动选中的小图片进行拼接,可以拼成一幅完整的图片。本实例的知识点有:鼠标事件的监听,Graphics类和Image类的应用。-pieces of the jigsaw operation results as shown in Figure 99-1. The implementation of this example, using the mouse Drag the selected small mosaic images,
puzzle
- 打开任意一个图片,按照可以设定的切片数进行分割,并打乱排序;然后可以利用鼠标 拖动切片到不同位置进行互换,直到拼合出原来图像。-Open any a picture, and in proportion to the number of slices can be set to break up, and disrupted sort And then can make use of the mouse Drag the slice to different locations to