Created
July 24, 2018 02:38
-
-
Save pavelvlasov/d2142628056d23bf8bc28d1e52551f41 to your computer and use it in GitHub Desktop.
Player component
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
<Container> | |
<Gun top={15} left={18}> | |
<Tile src={gun} state={0} tile={{ width: 17, height: 17 }} /> | |
</Gun> | |
<Sprite | |
src={sideAnimation} | |
states={4} | |
tile={{ width: 20, height: 24 }} | |
scale={1.5} | |
framesPerStep={8} | |
/> | |
</Container> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment