The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply
 
Thread Tools
  #1    
Old January 17th, 2012 (03:37 PM).
korjamer's Avatar
korjamer
Pixel Artist
 
Join Date: Apr 2011
Age: 21
Gender: Male
Nature: Relaxed
Hi, Does anyone know where in the script pokebattle_actualscene the code for moving the Pokemon and HP box up and down a pixel while you select an attack is? If so, do you know how to disable it and keep the box/Pokemon from moving? I included animated GIF files for the Pokemon sprites in my game and it looks really bad animating AND bouncing up and down.
Any ideas? I'd be really grateful for some help. Thanks in advance!
Reply With Quote
  #2    
Old January 26th, 2012 (11:48 AM).
venom12's Avatar
venom12
Pokemon Crystal Rain Relased
 
Join Date: Sep 2006
Age: 23
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to venom12
Simple find in Pokebattle_actualscene this class PokemonBattlerSprite < RPG:prite

then in this code
Code:
def update
   @frame+=1
   @updating=true
   if ((@frame/9).floor&1)==1 && @selected==1 # When choosing commands for this Pokémon
     @spriteYExtra=2
   else
     @spriteYExtra=0
   end
  
 end
change @spriteYExtra=2 to @spriteYExtra=0

This is for pokemon sprite now for hp box

in class pokemondatabox search for def update

search for this

Code:
 if ((@frame/10).floor&1)==1 && @selected==1 # When choosing commands for this Pokémon
     self.x=@spriteX
     self.y=@spriteY+2
   elsif ((@frame/5).floor&1)==1 && @selected==2 # When targeted or damaged
     self.x=@spriteX
     self.y=@spriteY+2
and both self.y=@spriteY+2 change to self.y=@spriteY or self.y=@spriteY+0

hope i help
__________________
This signature has been disabled.
Exceeds signature height limit because of broken images.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #3    
Old January 27th, 2012 (06:27 PM).
korjamer's Avatar
korjamer
Pixel Artist
 
Join Date: Apr 2011
Age: 21
Gender: Male
Nature: Relaxed
Wow, that was pretty easy! Thank you!
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 10:38 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
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, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.