Oneoxus Posted May 8, 2024 Posted May 8, 2024 Hey guys, i'd like to know if it's possible and how to create a beam system with the projectiles tool . Imagine the Kamehameha from DBZ for example.Â
Seshy Posted May 10, 2024 Posted May 10, 2024 Yes - this is possible.  The trick I had used was the following: 1. Create an animation of the beam extending, see below example image. Notice the large whitespace of the bottom half of the image, this is because the character will be in the center of the image when the animation is played and we want the beam projecting from the character, not from behind him.  2. Create the spell for Kamehameha. The spell must be an event and the event does the following. 2.1. Sets the player variable "In Cast" to True (we need to make sure if the player tries any other action, it is denied. The "In Cast" variable will change to False when finished). 2.2. Hold the player still (we don't want the player moving when the Kamehameha beam animation is playing). 2.3 Set the player sprite to be the image of Goku with his hands out (essentially holding the Kamehameha). 2.4 Play the beam animation 2.5 Set a wait timer until the animation is complete 2.6 Set the sprite back to normal Goku 2.7 Release the player 2.8 Set In Cast to False so that any other action that checks if the In Cast is False will now be successful 3. Create the projectile for Kamehameha. The projectile is independent of animation. The projectile will have no image. In my example, I made 5 projectiles all invisible but you can see when they hit in the video example.  any questions let me know  Embedded Video Link  Vio, RaalB and megafrom 3
Vio Posted May 10, 2024 Posted May 10, 2024 That above is an option, or you could set the projectile speed really fast and have a beam sprite that looks good, or you could hard code something into the engine
Gibier Posted May 10, 2024 Posted May 10, 2024 1 hour ago, Vio said: That above is an option, or you could set the projectile speed really fast and have a beam sprite that looks good, or you could hard code something into the engine  But the last suggestion couldn't be good since he's asking to doing it in the projectile editor ^^ Vio 1
Oneoxus Posted May 10, 2024 Author Posted May 10, 2024 Wahou thanks a lot Seshy for this really good explanation ! I'll try to do this and i'll let you know ! Vio 1
Quineya Posted December 6, 2024 Posted December 6, 2024 I'm not sure about a direct "beam" effect with the projectiles tool, but you might be able to fake it with a really fast-moving, long projectile and some particle effects. Â
annabeltbaxter Posted June 3, 2025 Posted June 3, 2025 Tried building a beam like that using the projectiles tool—took a mix of a fast-moving mesh with a looping particle trail and a timed damage trigger. Not perfect, but pretty close to a Kamehameha effect! Also, keeping track of all the textures, sounds, and versions got messy until I started using blueberry-ai.com. Makes it so much easier to stay organized while testing different beam styles and scripts.
Mario91 Posted April 9 Posted April 9 The system still hasn't solved this? Do we still have to use a system that prevents animation collisions?
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