# KnifeLight **Repository Path**: zygameui/KnifeLight ## Basic Information - **Project Name**: KnifeLight - **Description**: OpenFLHaxe水果忍者刀光效果 - **Primary Language**: Haxe - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-25 - **Last Updated**: 2021-10-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 概述 这是可直接依赖OpenFL使用的刀光效果。 # 测试 ```haxe lime test html5 ``` # 示例 ```haxe var knife = new KnifeLight(Assets.getBitmapData("assets/color2.png"),20,0.2); //位图,粗细,持续时间 this.addChild(knife); ```