Can i ask, how do i set up the plugin? I've been debugging for a while and the projectile just wont spawn. Do i need a string of scripts to spawn the projectile? I have it set on Anchor with 15 directional offset and remove projectile upon collision. What should i do?
Been trying it out, and it looks great, but for some reason it keeps using the wrong variables in my project.
For example, when the projectile is removed, I'm storing the projectile's position in global variables 30 and 31, but when checking the debugger, it stores it in some local variables on an actor that's in a completely different scene. Using the custom behaviour type also doesn't work, as it's likely using the values from the wrong variables too. Using a fresh project works fine at first, but changing local variables can mess everything up.
Additionally, I would also love to see the arc behaviour work in the vertical direction in Adventure and Top Down scenes. Currently, it's doesn't seem to be taking into consideration the projectile's speed property when firing up or down.
(Using GB Studio 4.1.3, plugin version 4.1.2 and above)
Edit:
The offset values in the Anchor behaviour also don't seem to be accurate. It offsets it by roughly 1/3rd of the value I put in.
hi this looks neat. Can a projectile be made to bounce off things like a ball in breakout? thanks. also im using 4.0.0 and downloaded under 4.1.1 but got message: Plugin "CustomProjectile" is based on an unknown engine version and may not work correctly. Plugin authors can fix this issue by making sure `engine/engine.json` exists in the plugin containing at least `{"version": "4.0.0-e0"}`.
← Return to Plugin
Comments
Log in with itch.io to leave a comment.
Is it possible to have projectiles collide with projectiles?
Can i ask, how do i set up the plugin? I've been debugging for a while and the projectile just wont spawn. Do i need a string of scripts to spawn the projectile? I have it set on Anchor with 15 directional offset and remove projectile upon collision. What should i do?
Been trying it out, and it looks great, but for some reason it keeps using the wrong variables in my project.
For example, when the projectile is removed, I'm storing the projectile's position in global variables 30 and 31, but when checking the debugger, it stores it in some local variables on an actor that's in a completely different scene.
Using the custom behaviour type also doesn't work, as it's likely using the values from the wrong variables too.
Using a fresh project works fine at first, but changing local variables can mess everything up.
Additionally, I would also love to see the arc behaviour work in the vertical direction in Adventure and Top Down scenes.
Currently, it's doesn't seem to be taking into consideration the projectile's speed property when firing up or down.
(Using GB Studio 4.1.3, plugin version 4.1.2 and above)
Edit:
The offset values in the Anchor behaviour also don't seem to be accurate. It offsets it by roughly 1/3rd of the value I put in.
hi this looks neat. Can a projectile be made to bounce off things like a ball in breakout? thanks. also im using 4.0.0 and downloaded under 4.1.1 but got message: Plugin "CustomProjectile" is based on an unknown engine version and may not work correctly. Plugin authors can fix this issue by making sure `engine/engine.json` exists in the plugin containing at least `{"version": "4.0.0-e0"}`.
Is it possible to make a projectile that works like Super Mario Bros' fireballs with this plugin?
Does show/hide projectiles deactivate them or are they active but invisible?
Show/hide just turns off the rendering so they should still be active. There’s another event “Pause projectiles” that will stop them.
Does this work for top-down 2D games?
Should work in all scene types!
Arc movement on Projectiles is exactly what I need! Thanks for making these.
This is really impressive. Great work!
this allows so much stuff. thank you man!
Thanks for sharing these
These are amazing! Thanks for making these
Excellent work! Thanks so much for sharing this.