汪汪 发表于 2018-4-18 22:39 大佬,只能显示文字吗?不能显示图片吗?这个是没问题的。但是我想显示图片啊。 |
lqsg123 发表于 2018-4-18 14:48 s2 = $gameScreen.mapPictures2() s2.showPicture(1,'t/[100,100,"下层"]',0,0,0,100,100,255,0) s2.setPicturePositionType(1,[1,[3,5],0.5,1,0.5,1]) s2.setPictureMethod(1, [{name:"move",params:[0,0 , 100,100,100,255,0,100]},{name:"move",params:[0,100,0,100,100,255,0,100]}],true) 放事件的脚本里 |
lqsg123 发表于 2018-4-17 22:14 显示图片的没有范例呀大佬。输入这个 $gameScreen.mapPictures2(1)没有反应啊! 我想知道如何显示图片,大佬给个范例吧!showPicture(pictureId, 1, origin, x, y, scaleX, scaleY, opacity, blendM ... 我是这样输入的,可是会显示 is not defined |
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2025-1-10 03:58
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.