this.tween = this.tweens.add({
	targets: this.container.list,
    y: 800,
    duration: 1800,
    repeat: -1, //무한 반복
    delay: function(target, targetKey, value, targetIndex, totalTargets, tween) {
    	return targetIndex*180;
    }
})
        

'Study > Phaser' 카테고리의 다른 글

[Phaser] mask 생성 및 적용  (0) 2020.07.23

+ Recent posts