kriteus Posted March 28, 2021 Share Posted March 28, 2021 how can I make my projectile reach more than one tile? Example: it’s very difficult to hit a skill with just one tile, and creating multiple projectiles spoils the animation sorry english, i brazilian Link to comment Share on other sites More sharing options...
0 Blinkuz Posted March 28, 2021 Share Posted March 28, 2021 To do this you will have to modify the code, I have achieved it by taking advantage of the projectile spawns system and eliminating the animations of the others, for example, I have a 3-frame fireball I generate 3 projectiles in the same direction and I only make it the center has animation and the other 2 are invisible, so you have a collision of more than 1 tile. Link to comment Share on other sites More sharing options...
0 nvh Posted June 23, 2021 Share Posted June 23, 2021 On 3/28/2021 at 9:46 PM, Blinkuz said: To do this you will have to modify the code, I have achieved it by taking advantage of the projectile spawns system and eliminating the animations of the others, for example, I have a 3-frame fireball I generate 3 projectiles in the same direction and I only make it the center has animation and the other 2 are invisible, so you have a collision of more than 1 tile. how to do it, it just goes diagonal!! Link to comment Share on other sites More sharing options...
0 Blinkuz Posted June 23, 2021 Share Posted June 23, 2021 21 minutes ago, nvh said: how to do it, it just goes diagonal!! As I said before, you are going to need to modify the code in the client and add a new entry in the projectile editor to assign which is the projectile that will be visible here I leave an example image, you also need a check to know if all the spawns generated should be eliminated when at least 1 of them collides, this is done to prevent the enemy from being hit by more than 1 spawn. About the diagonal in my project I have implemented the system that goes here in the forum for version 6.2, I have updated / improved it so that it works correctly in 7.x and for now I have not had problems with the projectiles in the diagonal. Link to comment Share on other sites More sharing options...
0 nvh Posted June 23, 2021 Share Posted June 23, 2021 Just now, Blinkuz said: As I said before, you are going to need to modify the code in the client and add a new entry in the projectile editor to assign which is the projectile that will be visible here I leave an example image, you also need a check to know if all the spawns generated should be eliminated when at least 1 of them collides, this is done to prevent the enemy from being hit by more than 1 spawn. About the diagonal in my project I have implemented the system that goes here in the forum for version 6.2, I have updated / improved it so that it works correctly in 7.x and for now I have not had problems with the projectiles in the diagonal. Oh thanks you so much. how to relato animation ?? Link to comment Share on other sites More sharing options...
Question
kriteus
how can I make my projectile reach more than one tile?
Example:
it’s very difficult to hit a skill with just one tile, and creating multiple projectiles spoils the animation
sorry english, i brazilian
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now