[Request] PO Battle Animations

Discussion in 'Arts and Graphics' started by coyotte508, Sep 15, 2011.

  1. Seiki

    Seiki :derp:

    Joined:
    Aug 20, 2011
    Messages:
    117
    Likes Received:
    0
    But, how would we get a Minimal version of OpenGL? :/ (derp)
     
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    by having a computer from at least 2006
     
  3. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    I need a bone picture for bonemerang!
     
  4. Croak

    Croak 20/20 hindsight

    Joined:
    Aug 31, 2011
    Messages:
    273
    Likes Received:
    0
    [​IMG]
    ^ Couldn't you just use the Thick Club sprite?
     
  5. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    looks good
     
  6. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    Use it for Bone Rush too.
     
  7. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    ok, i did it. And multi-hit moves work correctly now! See Bonemerang/Bonerush.qml for two different handling of multihit moves.

    Since i am going to release soon with animations as a not-so-hidden feature, it may be good to do some more moves!
     
  8. Galblade

    Galblade FAT PRINCESS

    Joined:
    Sep 9, 2010
    Messages:
    1,417
    Likes Received:
    2
    Is it possible for you to make a separate version of the animations client without OpenGL? If its only used for showing status conditions on the pokemon (like ingame) it shouldn't be too much effort to make an alternate download for the people with ancient (and not so ancient) computers. Thats IF its only used for that and not based entirely around it :S
     
  9. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    There's always the option to use the old battle window. And status is precisely the only thing that requires open gl set the moment.
     
  10. Galblade

    Galblade FAT PRINCESS

    Joined:
    Sep 9, 2010
    Messages:
    1,417
    Likes Received:
    2
    Would it be hard to make an alternate version then? I played the animated version on my laptop (which I don't have access to all the time) and enjoyed it thoroughly.
     
  11. brainard52

    brainard52 New Member

    Joined:
    Jun 22, 2011
    Messages:
    14
    Likes Received:
    0
    Are you going to release a version for Linux as well?
     
  12. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Linux people often build from source... otherwise mystra will have to wake up. Sorry.

    Galblade, sorry, it's only alpha now so I don't know how it'll evolve, maybe by the time it becomes more standard you'll have a better computer or the option will be included x)
     
  13. Galblade

    Galblade FAT PRINCESS

    Joined:
    Sep 9, 2010
    Messages:
    1,417
    Likes Received:
    2
    Thats all I'm after. An option in the finished version. I can live without it until then.
     
  14. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
  15. ChichoBeatles95

    ChichoBeatles95 New Member

    Joined:
    Feb 6, 2012
    Messages:
    3
    Likes Received:
    0
    Hello, I have a question, download the version that brings the animations but it says that the customer does not have the current version of the game, and when I enter a fight I can not do anything, not fight, the watch is in 00 ...

    Another question, there remains the project of the animations? it takes time but I would love to play with animations, if so, take out the final version soon? Thank you.

    PD: Sorry for my bad english.
     
  16. Fosco

    Fosco .dancin

    Joined:
    Jan 10, 2012
    Messages:
    190
    Likes Received:
    6
    ChichoBeatles95: try to uncheck "Old battle window" and then recheck it.

    Btw, i think the main goal before making animations is to respect prospective. Player's pokemon has to be larger than the foe's. Good job anyway.
     
  17. Blastcore

    Blastcore Developer

    Joined:
    Jul 19, 2010
    Messages:
    763
    Likes Received:
    1
    But let's think that this is not a 3D Battle Window. So most likely those "3D" effects aren't applied here.
     
  18. kevin123

    kevin123 Banned

    Joined:
    Mar 10, 2012
    Messages:
    3
    Likes Received:
    0
    That's AWESOME!
     
  19. inigomontoya

    inigomontoya Slightly Less Well-Known Member

    Joined:
    May 13, 2012
    Messages:
    344
    Likes Received:
    56
    PO Trainer Name:
    Yveltal / ddrox13
    I needs a MAC version, but cool
     
  20. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    New request:

    I need a zoom in and a zoom out icon.
     
  21. D-21

    D-21 Lurking

    Joined:
    Apr 11, 2011
    Messages:
    279
    Likes Received:
    0
    PO Trainer Name:
    D-21
    Are you talking about standared Zoom in
    [​IMG][/Hide] and out
    [​IMG][/HIDE] image? Or just a simple + and -...I'm prob way off sorry :x
     
  22. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    yes, something i can put at the bottom right of the battle window to zoom in / zoom out (i.e resize it)
     
  23. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    [​IMG]

    I need better colors for player names, can anyone help me?
     
  24. Nexus

    Nexus Legend Killer

    Joined:
    Oct 12, 2010
    Messages:
    1,287
    Likes Received:
    2
    Player names in? Battle or the Player list tab?
     
  25. Lamperi

    Lamperi I see what you did there

    Joined:
    Apr 25, 2010
    Messages:
    2,647
    Likes Received:
    11
    In the battle window, they are near pokemon images
     
  26. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
  27. Nexus

    Nexus Legend Killer

    Joined:
    Oct 12, 2010
    Messages:
    1,287
    Likes Received:
    2
    #225d76 for Opponenet Name Border Color

    #e53733 For your name Border Color

    #061632 For text color of you and Opponent

    Would this Suffice?
     
  28. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    [​IMG]

    Maybe I like the current better =?

    Anyway once you download the new version (you can already) then all you have to do is open qml/battlescene.qml and change the colors.

    For info this is mine:

    Code (javascript):
    1.  
    2.     Rectangle {
    3.         z: -100
    4.         anchors.left: parent.left
    5.         anchors.leftMargin: 10
    6.         anchors.bottom: parent.bottom
    7.         anchors.bottomMargin: 5
    8.  
    9.         width: 130
    10.         height: 25
    11.  
    12.         border.width: 2
    13.         radius: 5
    14.         border.color: "#b04924"
    15.         color: "transparent"
    16.  
    17.         Rectangle {
    18.             z: -10
    19.             anchors.fill: parent
    20.             anchors.rightMargin: (300-battle.data.team(playerBack).time) * parent.width/300
    21.             color: "#ecb6a3"
    22.             radius: parent.radius
    23.             opacity: 0.7
    24.         }
    25.  
    26.         Text {
    27.             anchors.centerIn: parent
    28.             text: battle.data.team(playerBack).name
    29.             color: Qt.darker(parent.border.color, 3)
    30.         }
    31.     }
    32.  
    33.     Rectangle {
    34.         z: -100
    35.         anchors.right: parent.right
    36.         anchors.rightMargin: 10
    37.         anchors.top: parent.top
    38.         anchors.topMargin: 5
    39.  
    40.         width: 130
    41.         height: 25
    42.  
    43.         opacity: 0.7
    44.         border.width: 2
    45.         radius: 5
    46.         border.color: "#6890f0"
    47.         color: "transparent"
    48.  
    49.         Rectangle {
    50.             z: -10
    51.             anchors.fill: parent
    52.             color: Qt.lighter(parent.border.color)
    53.             radius: parent.radius
    54.             opacity: 0.7
    55.         }
    56.  
    57.         Text {
    58.             anchors.centerIn: parent
    59.             text: battle.data.team(playerFront).name
    60.             color: Qt.darker(parent.border.color, 5)
    61.         }
    62.     }
    63.  
    And yours:

    Code (javascript):
    1.     Rectangle {
    2.         z: -100
    3.         anchors.left: parent.left
    4.         anchors.leftMargin: 10
    5.         anchors.bottom: parent.bottom
    6.         anchors.bottomMargin: 5
    7.  
    8.         width: 130
    9.         height: 25
    10.  
    11.         border.width: 2
    12.         radius: 5
    13.         border.color: "#e53733"
    14.         color: "transparent"
    15.  
    16.         Rectangle {
    17.             z: -10
    18.             anchors.fill: parent
    19.             anchors.rightMargin: (300-battle.data.team(playerBack).time) * parent.width/300
    20.             color:  Qt.lighter(parent.border.color)
    21.             radius: parent.radius
    22.             opacity: 0.7
    23.         }
    24.  
    25.         Text {
    26.             anchors.centerIn: parent
    27.             text: battle.data.team(playerBack).name
    28.             color: "#061632"
    29.         }
    30.     }
    31.  
    32.     Rectangle {
    33.         z: -100
    34.         anchors.right: parent.right
    35.         anchors.rightMargin: 10
    36.         anchors.top: parent.top
    37.         anchors.topMargin: 5
    38.  
    39.         width: 130
    40.         height: 25
    41.  
    42.         opacity: 0.7
    43.         border.width: 2
    44.         radius: 5
    45.         border.color: "#225d76"
    46.         color: "transparent"
    47.  
    48.         Rectangle {
    49.             z: -10
    50.             anchors.fill: parent
    51.             color: Qt.lighter(parent.border.color)
    52.             radius: parent.radius
    53.             opacity: 0.7
    54.         }
    55.  
    56.         Text {
    57.             anchors.centerIn: parent
    58.             text: battle.data.team(playerFront).name
    59.             color: "#061632"
    60.         }
    61.     }
    (only the color lines change)

    Actually, you can change the whole design of the new battle window by editing the qml file if you wanted to, like the width / shape of stuff etc.
     
  29. Syrex

    Syrex Banned

    Joined:
    Oct 31, 2010
    Messages:
    67
    Likes Received:
    0
    will this only be available as a...sort of an "addon" to po? or will it be installed into the next version?
     
  30. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    You can already edit the new battle window by editing qml files in your qml folder, and so will you in the next version. A bit is explained here. You are welcome to customize your own battle window, or even to add new move effects.
     
  31. KM007

    KM007 Banned

    Joined:
    Nov 20, 2012
    Messages:
    520
    Likes Received:
    44
    Don't think there is a shadow ball sprite yet but a recolor of the current aura sphere sprite would work well. And electro ball could be a yellow recolor. Gunk shot purple... and on and on.
     
  32. MajoraZ

    MajoraZ New Member

    Joined:
    Sep 10, 2013
    Messages:
    2
    Likes Received:
    0
    So, uh, what happened to this?
     
  33. Hannah

    Hannah Come a little closer

    Joined:
    Nov 10, 2010
    Messages:
    985
    Likes Received:
    237
    PO Trainer Name:
    Hannah
    There are already a few battle animations within the client. They're accessible by using the New Battle Window on the Battle Options tab.

    To contribute your own battle animations, post within this thread.
     
  34. MajoraZ

    MajoraZ New Member

    Joined:
    Sep 10, 2013
    Messages:
    2
    Likes Received:
    0
    Can't ripped animations from the games be used?
     
  35. ROMaster2

    ROMaster2 Member

    Joined:
    Oct 29, 2013
    Messages:
    63
    Likes Received:
    0
    PO Trainer Name:
    ROMaster2
    For those who are making battle animations for the new battle window, these might be useful:

    I've gathered information from this month so far over the most commonly used moves in any battle. If you want to make animations partly based on their frequency of use, you can use this list as a reference:
    1. Earthquake*
    2. Swords Dance
    3. Stealth Rock*
    4. Hidden Power
    5. Ice Beam
    6. Substitute*
    7. U-turn*
    8. Toxic
    9. Protect*
    10. Thunderbolt
    11. Stone Edge
    12. Roost
    13. Shadow Ball
    14. Flamethrower
    15. Psychic
    * means they already have an animation. A full list is available here.
     
    Last edited: Nov 20, 2013
  36. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    Surprised Draco Meteor isn't on there. I've been trying to find a rip for it and can't come across it but I have some of the meteor sprites from it.

    Stone Edge can be done with Stealth Rock sprite. Same with Rock Slide, just add some of the orange particles (the ones shown when stats are raised, and I don't have them :x)

    Toxic can be done with any of the Pretty Wing/Genius Wing/etc. sprites, just enlarge them by 200% and it should work.

    Psychic and Shadow Ball are in this thread too btw: http://www.serebiiforums.com/showthread.php?351936-Klnothincomin-s-Real-Pokemon-Attack-Rips
     
  37. Pumone

    Pumone Member

    Joined:
    Aug 30, 2015
    Messages:
    63
    Likes Received:
    14
    Does PO have a function that plays a sound when a move is done? For example when we use a fire type move, can PO play a sound for it? I know this is not the correct place to ask, but it concern to moves.
     
  38. Pumone

    Pumone Member

    Joined:
    Aug 30, 2015
    Messages:
    63
    Likes Received:
    14
    Ok I made an animation for every type, for example all fire moves have the same animation of a flame hitting the pokemon, all electric moves have a thunderbolt etc.

    At the moment I made every special move, and every "other" move (swords dance, calm mind...) so I need to work on the physical ones.

    I took the sheet from this great site https://mrbubblewand.wordpress.com/category/animations/

    If anyone want, I'll write a short guide how to "install" the new content, it's just some .gif and some codes to replace with the new one.