So, as some of you may know. I have made the game “Survive the Zamboodles”. There is a shotgun in said game. However it is not unique from the pistol. I would like to know if anyone knows how to make it to where 3 bullets go out: 1 going diagnolly upwards, 1 going diagnolly downwards and 1 going straight. Please and thank you.
Hi Magma,
Add two more emits to your trigger and adjust the angles to the direction you want them to go. You will need to pay attention to the direction the emitting sprite is facing and also the angle independent setting. It took me a while to figure out the angles, but I have a sprite with a diagonal two-shot that uses 150 and 210 You can check it out in my new WIP: http://www.flowlab.io/game/play/1073163 (it’s the “purple” sprite)
Thank you but this only works with shooting backwards. Is there a way to make it do the spread shot in all directions?
maybe turn off angle independent? then the 210 and 150 angles will rely on the direction the emitter is facing (gun? player?). It always takes me a lot of trial and error to get things dialed in.
Once again thank you for the suggestion but I happened to have tried it and it still shot behind the character
I would add the bullet angles on the gun to 12 and 348.
Any angle under 12 or over 348 (-12) will collide with the middle spawned bullet and deleting each other.
If you want a smaller spread, you need to make bullets to not delete bullets and possibly not solid so they don’t bump into each other.
(also I added a vertical flip on yor left input cause the gun is upside down)
Thanks, this really helps. The shotgun and minigun are now updated