In Battle: HP subtracts all damage at once, speed of exp bar + show damage amount

Notices

Welcome to the PokéCommunity!

Hi there! Thanks for visiting PokéCommunity. We’re a group of Pokémon fans dedicated to providing the best place on the Internet for discussing ideas and sharing fan-made content. Welcome! We’re glad you’re here.

In order to join our community we need you to create an account with us. Doing so will allow you to make posts, submit and view fan art and fan fiction, download fan-made games, and much more. It’s quick and easy; just click here and follow the instructions.

PGM is all set for February. This month, we're playing through a game known as Eevee's Tile Trial. If you wish to earn rewards, please head over to our event thread by clicking on the provided link and give yourself a shot at the game!

Hey Unregistered! How fast can you game? The Marathon II is up and running in Video Game's - compete against your friends to see how quickly you can complete sixty intense in-game challenges. See you there!

if @animatingHP
if @currenthp<@endhp
@currenthp+=1
elsif @currenthp>@endhp
@currenthp-=1
end
refresh
@animatingHP=false if @currenthp==@endhp
end
if @animatingEXP
if !@showexp
@currentexp=@endexp
elsif @currentexp<@endexp
@currentexp+=1
elsif @currentexp>@endexp
@currentexp-=1
end
refresh
if @currentexp==@endexp
if @currentexp==PokeBattle_Scene::EXPGAUGESIZE

Yes. So I guess its a lot of work then, could you maybe direct me to some kind of tutorial where I may be able to figure out how to do it? I tried searching for a tutorial on how to write scripts but have had no luck so far. I am looking for something like the websites that show you had to do CSS or html. All I have been able to figure out so far is basic editing like moving things and changing some text.

if @animatingHP
if @currenthp<@endhp
@currenthp+=1
elsif @currenthp>@endhp
@currenthp-=1
end
refresh
@animatingHP=false if @currenthp==@endhp
end
if @animatingEXP
if !@showexp
@currentexp=@endexp
elsif @currentexp<@endexp
@currentexp+=1
elsif @currentexp>@endexp
@currentexp-=1
end
refresh
if @currentexp==@endexp
if @currentexp==PokeBattle_Scene::EXPGAUGESIZE

Yes. So I guess its a lot of work then, could you maybe direct me to some kind of tutorial where I may be able to figure out how to do it? I tried searching for a tutorial on how to write scripts but have had no luck so far. I am looking for something like the websites that show you had to do CSS or html. All I have been able to figure out so far is basic editing like moving things and changing some text.

You probably need to create a variable to put the damage number and put a update method in 'def pbGraphicsUpdate', something like:

Code:

if @damagenumber!=0
do animation
@damagenumber=0 if animation ended
end

I made a guide that show how simple scenes works in essentials http://www.pokecommunity.com/showthread.php?t=286554. I can't link here to others forums, so I can't post links to RGSS tutorials. Try to find on google. Note that to you make this damage pop up effect you needs a certain experience with programming.

Quote originally posted by IceGod64:

Um.... What?

Would'nt it be more efficient to just change

Code:

if @animatingHP
if @currenthp<@endhp
@currenthp+=1
elsif @currenthp>@endhp
@currenthp-=1
end
refresh
@animatingHP=false if @currenthp==@endhp
end

You probably need to create a variable to put the damage number and put a update method in 'def pbGraphicsUpdate', something like:

Code:

if @damagenumber!=0
do animation
@damagenumber=0 if animation ended
end

I made a guide that show how simple scenes works in essentials http://www.pokecommunity.com/showthread.php?t=286554. I can't link here to others forums, so I can't post links to RGSS tutorials. Try to find on google. Note that to you make this damage pop up effect you needs a certain experience with programming.

For question 1: Yes! I only pasted a code that I made to my game a long time ago to HP bar speeds up.

Well maybe in the future I will do it. As of now I have no idea where I would start or what to do. I did a Google search for the tutorial found some right away. I wasn't sure what the coding was called so that why I could not find any before.

I am curious would it be more simple to have the damage show on the HP bar? For example: The bar would shake and show the damage that was done.

The PokéCommunity

Meta

Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, or The Pokémon Company International. We just love Pokémon.