Did you look at these examples? Flowlab Game Creator - Flowlab Game Examples
yeah i looked at that homing missisle example
That one works though, right? I don’t understand the issue I guess.
no whenever i shoot the first on works but the second one dosnt
to say something i should have already i need my player to shoot it and it is a side scrolling game
oh and also when you shoot to the left it doesn’t work right
put code in homing missile that extracts the pos of the target through proximity → closest and then make it point at that. then 1 → velocity forwards.
can you send an example picture?
ill link my game again
always → (check) proximity [closest] (x,y) → pointat (x,y)
always → number [1] → (forwards) velocity
each is separate code
What @Galactian said.
This’ll work for now, but this is definitely a bug that @grazer should fix
you got your player x and y mixed up
Oh. My bad, chief
Wouldn’t that make it go after the player
I need the player to fire the rocket
No, because your spider is the one setting the PlayerX and PlayerY, which kinda sounds like a you problem
Which object are you coding on?
The plasma bullet thing
it still goes up when you shoot it
its following the same pattern maybe i need to delete some code?
nevermind i got rid of the old code and it works now
thanks!
(Waiting patiently for the solution marker)
I had instructions made if you click the link below the homing missile example
Homing Missile Example.
But also I’m going to looking into simplifying this example soon.
A new version of the bundle I have in mind would input X, Y, and turn rate.
Actually scratch that, I just remade my homing missile example so it’s a lot easier to use.
Everything can now be controlled by the bundle inputs now.
Flowlab Game Creator - Homing Missile 2.0