Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Magic Skill Problem

This is my last question and hopefully I will be done pestering people.

I need help figuring this out, I have made a common event that basically is linked to my spell. I need the spell to sap SP from him every turn and turn back to normal when the SP is to low or battle is over, or by casting the cancel spell. (which would cost 0)

I get him to transform in battle, but when he comes out of it, hes invisable and his graphic is still that of the transformed version of him.
 
How does your transformation work?  Is it a state, or did you change characters?

Changing characters seems to cause that "Invisibility" glitch.  One solution that I can think of is making the transformation a state, instead.  You could change the graphic by importing it to an animation frame, and make state animation erase the original character and use the new character graphic over it.  (If you do this, set the state priority to '10', of course.)  This would also save you some time coding things like turning back when the battle ends, and you wouldn't have to worry about the "Transformed" character getting experience, and similar issues.

This won't work with any kind of animated battle system or an ABS, of course, but from your description, it doesn't sound like you're using one.

I hope this is helpful to you.
 
I dont quite understand about the animation part as far as erasing character graphic to replace it and all that. If possible I need like a step by step for this. lol

And Yes, I am using the original battle system. I havnt messed with this enough to try any other yet.
 
Okay, step by step it is!

1)  Create an animation graphic that includes the "Transformed Character" image in one of the frames.  To do this, you can either just create a graphics file of the right dimensions from the ground up, or export an existing animation set, and copy/paste the graphic that you want to use in an open space (Or one you don't intend to use) into the animation set, and then re-import the new image. 

2)  Now we create the animation.  In the "Animations" tab, pick the graphic that includes Transformed Hero Dude. 

Select the cell with the THD image and move it over the Battler of the target.  (This works best if you select the battler to be the Hero Dude in question, of course.)  Make sure that the cell is set for "Normal" blending-- the default is "Add," but that's translucent, which we probably don't want, in this case.

Now, in the "SE and Flash Timing" section, pick "Erase Target," and make it last longer than the number of frames.  Ta da!  This state will now replace the original graphic with a different one.

(Want to get fancy?  Go ahead and add some minor cool animation stuff to the state animation.  Why not?  Don't you want "Super Ultimate Silver Dragonling Mode" to look awesome?)

3)  Create the "State" for being transformed.  Rating 10, check the "Nonresistance" box, give it whatever outlandish bonuses you'd like.  Make the State Animation the one you just created there, and you're good to go! 

Here's a screenshot of what I'm talking about, from my current project.

http://i234.photobucket.com/albums/ee10 ... enshot.png[/img]

In case my image tags aren't set up right for this board, here's the direct link:

http://i234.photobucket.com/albums/ee10 ... enshot.png

Did that help?
 
Alright, that definatly helps but now the newest problem to arrive. I have exported, added in a picture of my new transformation but now the place for the animation wont show now.

Thing is, in the dark spell part there is one empty slot so I just pasted him there. When I uploaded it, the entire spell but the bottom (the top part of my picture) wont show, so I tried just copying that part and I a blank blue bar.

I have clicked on the background to make it transparent and I have even tried just copying and pasting that section, copying the darker color of "spell" and filling in the character that way so its not the true black that gets erased. Once i get this problem I think I will be set.

Just a quick FYI, im using face maker to create all the battler graphics.

This is the basic problem (cut and pasted both to one)
http://i9.photobucket.com/albums/a91/ju ... xample.png[/img]
 
Okay, it took me a minute to figure out what you were saying, but that blue bar normally only appears when you don't have an animation graphic selected.  I've never seen it not show the frames once you've selected a graphic. 

This suggests to me that something odd happened when you were re-importing the animation graphic somehow.  I don't know what, but it looks like the program is treating it as, well, not existing.  Perhaps you could try re-importing it?  Could it be an issue of the art program that you're using?  (I use the free and easy Paint.net, personally, but I'm no pro artist-- I just use it for cutting and pasting, for the most part.)

Also, the format that you save the new graphic in might be an issue.  I prefer to save my graphics as .png files, because that supports transparency.  (Others may well have better suggestions.  I'm not an expert.)  If it's saved in a format that the game will recognize, of the dimensions of an animation graphic, then the game should split it into frames. 

Anyway, make sure that the graphic is in a format that the game can recognize, and try re-importing it.  I didn't see anything in the graphic itself that should be a problem.
 
Sorry about the confusion, I fiddled around with gimp and got the thing to work finally.

I did as you said in hide target and make it longer than the frames, but now it continues to repeat the skill over and over. I can still attack and all but the animation continues to go.
 
I think I understand.  If you make the animation the State animation, then yes, it's going to repeat endlessly.

You don't want to make the "This is the hero transforming" animation the State animation.  Instead, you can just make the State animation one frame of the new graphic on top of the old one, as in the example I posted the screenshot of.  (Yes, that's an actual state animation in my current project.)  Use the flashy stuff in the animation for the skill that activates it.

Hope this clears things up.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top