Go Back   The PokéCommunity Forums > ~JV~

Notices
For all updates, view the main page.



Conversation Between ~JV~ and venom12
Showing Visitor Messages 11 to 20 of 37
  1. ~JV~
    January 4th, 2010 04:15 AM
    ~JV~
    well, it works with my script...
  2. venom12
    January 4th, 2010 03:22 AM
    venom12
    Icon are showing but not animate
  3. venom12
    January 3rd, 2010 06:29 AM
    venom12
    Thanks alot dude.
  4. ~JV~
    January 3rd, 2010 06:11 AM
    ~JV~
    def show_partyicons
    if $Trainer.party.length>=1
    @pokemon1 = $Trainer.party[0]
    if @pokemon1 != nil
    @sprites["pokemon1"].bitmap=pbLoadPokemonIcon(@pokemon1)
    #######icon animation#########
    if @frame == nil
    @frame = 0
    end
    @frame += 1
    if @frame >= 20
    @frame = 0
    end
    if @frame >= 10
    @sprites["pokemon1"].src_rect.set(64,0,64,64)
    else
    @sprites["pokemon1"].src_rect.set(0,0,64,64)
    end
  5. venom12
    January 3rd, 2010 06:03 AM
    venom12
    I dont need to set any graphic and how to set pokemon from party? can you show me whole code?
  6. ~JV~
    January 2nd, 2010 05:42 PM
    ~JV~
    yes, then just adapt that for the other 5 pokémon
  7. venom12
    January 2nd, 2010 04:41 PM
    venom12
    And it's just that?
  8. ~JV~
    January 2nd, 2010 04:36 PM
    ~JV~
    well, I don't know if it will be compatible but anyways...

    if @frame == nil
    @frame = 0
    end
    @frame += 1
    if @frame >= 20
    @frame = 0
    end
    if @frame >= 10
    @sprites["pokemon1"].src_rect.set(64,0,64,64)
    else
    @sprites["pokemon1"].src_rect.set(0,0,64,64)
    end

    pretty simple xD
  9. venom12
    January 2nd, 2010 04:32 PM
    venom12
    You can't just show me how you maked that xD
  10. ~JV~
    January 2nd, 2010 04:15 PM
    ~JV~
    hmm send me your script and I'll see what I can do, it really depends on how you wrote it.

All times are UTC -8. The time now is 07:52 AM.