How to emit the direction my mouse clicks?
I have made it attach a block to your guy and it connected to r a “PointAt” in behaviors, and that is the object that emits, let me get you a screenchot…
Use the “Angle-To” bundle in this example.
Mouse (X & Y) → AngleTo → (Angle) Emit
This is the block that rotates to where your mouse is…
This is the guy that attaches the block that rotates…
And make sure you have the alpha hooked up! Otherwise you can see it.
This sometimes dont shoot the right way
But i didnt try JR_1 one yet
And for some reason it keeps crashing
ok nvm it stop crashing. but it still dont work.
You didn’t use my “AngleTo” Bundle.
Use the bundle in that example, but with the mouse block (set to game cordinates).
It still dont work. [20 characters]
Help me plllllzzzzzzz
I don’t understand i did it correctly. And it still dont’ work. And this been going for four hours now.
Object name: gun
Help my dude out. This was made 6 hours ago. I wish i can help but i’m new and cant help cuz everything is new to me.
Ok, I made this quickly, but have one problem, the shots face the opposite way your mouse is. I will work more on it tomorrow, I am running out of time. (and my sprites are bad also because lack of time.)
Why did you make your own bundle?.. (っ °Д °;)っ
It uses math that needs to be copied exactly.
Just copied and import the bundle into your game, I just did it and it works fine.
After you import the bundle set the Emitter to “Angle is Independent”
Let me make a How To Import poster right quick…
This topic seems like chaos lol