刚接触不久,gms2如何绘制瓦片?
gamemaker吧
全部回复
仅看楼主
level 6
教程看了一下午,创建并绘制瓦片始终搞不懂啊[不高兴]
2017年06月22日 08点06分 1
level 14
瓦片是?地砖吗?
2017年06月22日 09点06分 2
level 14
tile_add(background,left,top,width,height,x,y,depth)
tile_set_position(id,x,y) 设置指定 id 的贴图的坐标为(x,y)。
tile_set_region(id,left,right,width,height) 设定指定 id 的贴图在背景上的矩形区域。
tile_set_background(id,background) 设定指定 id 的贴图的背景 background 。
以上4个函数基本能满足你的要求。
2017年06月22日 09点06分 3
谢谢,回去就试试
2017年06月22日 13点06分
大佬,这几个在gms2弃用了
2017年06月22日 15点06分
@鬼魂在流浪 查看一下帮助手册,应该有替代的同类函数。
2017年06月22日 21点06分
@宋异人 手册我看了半天,那几个函数翻来覆去的搞就是不好使啊,搞不懂正确姿势
2017年06月23日 01点06分
1