taro
taro copied to clipboard
Add 2 new actions about item && Fix bullet start position rotation issue
2 New actions
setItemBulletForce
set (number) as bullet force of (item)
setItemBulletStartPosition
set {x: (number2), y: (number3)} with rotation of (number1) in degrees as bullet start position of (item)
Here are some demos
https://discord.com/channels/303543835345158145/812208366222311434/966641214512312320
Video demo of setItemBulletForce
https://discord.com/channels/303543835345158145/812208366222311434/966646555320922173
Video demo of setItemBulletStartPosition
Bullet start position rotation
I have found out the bulletStartPosition rotation setting is not working so I commit one line in item.js to add it back

Before
https://user-images.githubusercontent.com/62375288/164500094-ccdcf31f-fd08-496f-b575-fd0852d1f826.mp4
After
https://user-images.githubusercontent.com/62375288/164500110-97beee7b-23cf-41fb-aa09-d6459bbda342.mp4