Sukotto42
Member
Here's as much information I have so far, as I haven't been able to figure this out since I started working on this, and would love to come up with a solution.
Sorry for lack of sound, I keep forgetting to make sure that's coming through in OBS. Not important here, though.
The projectile fires just fine in all four directions with either zero, or one monster onscreen.
Up/down projectile fires just fine with two monsters onscreen.
the big problem:
With *more than one* monster onscreen, left/right projectile causes all sorts of strange weapon positioning issues, as if adding some sort of cascading values to its position. Basically, after firing a couple shots left/right while 2 monsters are onscreen, i can melee myself to death! lol. Also kept jamming A at one point when it was sloppy and NPC text popped up! If I bash one of them to death with melee, and then proceed to use projectile left/right, it acts fine. All sorts of strange behavior can occur, including even warping out.
I am not sure where this issue is occurring. I have added drawOrder stuff from the advanced brawlerbase tutorial, as my character is 4x2 and needs to give some semblance of depth with other sprites. I basically put that in right at the beginning. I have had this issue since before I added other functionalities, but I haven't pulled out the drawOrder stuff to rule it out. I have done several things to otherwise perfect the projectile script, but this has been happening with it just like this since the very early stages, and I just can't figure it out.
The projectile fires just fine in all four directions with either zero, or one monster onscreen.
Up/down projectile fires just fine with two monsters onscreen.
the big problem:
With *more than one* monster onscreen, left/right projectile causes all sorts of strange weapon positioning issues, as if adding some sort of cascading values to its position. Basically, after firing a couple shots left/right while 2 monsters are onscreen, i can melee myself to death! lol. Also kept jamming A at one point when it was sloppy and NPC text popped up! If I bash one of them to death with melee, and then proceed to use projectile left/right, it acts fine. All sorts of strange behavior can occur, including even warping out.
I am not sure where this issue is occurring. I have added drawOrder stuff from the advanced brawlerbase tutorial, as my character is 4x2 and needs to give some semblance of depth with other sprites. I basically put that in right at the beginning. I have had this issue since before I added other functionalities, but I haven't pulled out the drawOrder stuff to rule it out. I have done several things to otherwise perfect the projectile script, but this has been happening with it just like this since the very early stages, and I just can't figure it out.
Last edited: