Having a small issue with the plugin, so I'm trying make a game where the character can shoot directional projectiles, no fancy mouse use or anything, basically a conditional branch in a parallel processing event asking if I'm pressing spacebar to fire a projectile in the direction the player is facing.
I have this mechanic currently in place that allows the player to slowly strafe from side to side using
this common event.
and this is the present I'm currently testing
This has resulted in a little issue, where when I strafe from side to side the projectiles originating from the player no longer go on a straight path, but start randomly spewing every which way so long as I strafe. I have had no success finding a good method or work around for this, if anyone here has an idea of how I can insure that the projectiles move in a straight line while I strafe, I would appreciate it very much (especially considering it's a rather specific thing to ask... ^^')
◆If:Button [OK] is being triggered
◆Script:Galv.PROJ.quickTar(2);
◆
:EndI have this mechanic currently in place that allows the player to slowly strafe from side to side using
this common event.
◆If:Button [Pageup] is being pressed
◆Script:$gamePlayer.setDirectionFix(true);
:Script:$gamePlayer._moveSpeed = Math.max(3, $gamePlayer._moveSpeed - 0.5)
◆
:Else
◆Script:$gamePlayer.setDirectionFix(false);
:Script:$gamePlayer._moveSpeed = Math.min(4, $gamePlayer._moveSpeed + 1)
◆
:Endand this is the present I'm currently testing
{"name":"Shoot forward from player","sid":"-1","tid":"d0","speed":"10","dist":"7","graphic":"bullet0","anim":"3","eAction":"","pAction":"","regions":"5,6","terrains":"6","z":"3","pid":"1","size":""}This has resulted in a little issue, where when I strafe from side to side the projectiles originating from the player no longer go on a straight path, but start randomly spewing every which way so long as I strafe. I have had no success finding a good method or work around for this, if anyone here has an idea of how I can insure that the projectiles move in a straight line while I strafe, I would appreciate it very much (especially considering it's a rather specific thing to ask... ^^')