Created
May 22, 2022 20:00
-
-
Save SET001/e2aaaa9060af49033c0e72a5e9971fe1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
YellowLaser: BulletConfig( | |
damage: 234.0, | |
shoot_rate: 12.0, | |
speed: 123.0, | |
assets: BulletAssets( | |
animations: BulletAnimations( | |
hit_splash: Directional(( | |
left: Animation( | |
sprite_sheet: SpriteSheetDescriptor( | |
config: SpriteSheetConfig(256., 256.,4,1), | |
path: "images/bullets/yellow_laser/hit_splash_left.png", | |
), | |
animation: AnimationSettings( | |
duration: 12, | |
range: RangeInclusive( | |
start: 0, | |
end: 3 | |
) | |
) | |
), | |
right: Animation( | |
sprite_sheet: SpriteSheetDescriptor( | |
config: SpriteSheetConfig(256., 256.,4,1), | |
path: "images/bullets/yellow_laser/hit_splash_right.png", | |
), | |
animation: AnimationSettings( | |
duration: 12, | |
range: RangeInclusive( | |
start: 0, | |
end: 3 | |
) | |
) | |
) | |
)), | |
shot_splash: Directional(( | |
left: Animation( | |
sprite_sheet: SpriteSheetDescriptor( | |
config: SpriteSheetConfig(256., 256.,4,1), | |
path: "images/bullets/yellow_laser/shot_splash_left.png" | |
), | |
animation: AnimationSettings( | |
duration: 12, | |
range: RangeInclusive( | |
start: 0, | |
end: 3 | |
) | |
) | |
), | |
right: Animation( | |
sprite_sheet: SpriteSheetDescriptor( | |
config: SpriteSheetConfig(256., 256.,4,1), | |
path: "images/bullets/yellow_laser/shot_splash_right.png" | |
), | |
animation: AnimationSettings( | |
duration: 12, | |
range: RangeInclusive( | |
start: 0, | |
end: 3 | |
) | |
) | |
) | |
)) | |
), | |
texture: Directionless("images/bullets/yellow_laser/bullet.png") | |
) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment