1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Guest, PO has ceased our separate tiering and adopted Smogon tiers for SM. More information and updates here.

    Dismiss Notice
Ajinkya
Joined:
Feb 9, 2012
Messages:
46
Likes Received:
0
Last Activity:
Apr 26, 2015
    1. Iceblade157
      Iceblade157
      Thanks! I just thought up that I should add a basic damage calculator, or at least a precursor to a basic damage calculator to the battling environment. Good luck on your exams by the way!
    2. Iceblade157
      Iceblade157
      Hi! I followed your advice, and rewrote a lot of the old battle system's code. It is much cleaner now and all that. Anyways, here's the updated version of the battle system

      https://www.dropbox.com/s/o1nwgsczq2rb5gk/Battle2 2-23-13.rar

      I could not really figure out how (in the messenger / chat) to make the cursor automatically move up to the beginning line of chat, so I implemented a Robot from AWT as a temporary fix, having it simply press the up key internally whenever a message is sent. A lot of the current things in place are only temporary, and should be changed when more features are available. Ideally, the arraylist containing the user and opponents' pokemon should be obtained through data sent over the server, for example. Outside of making the battle system look more pretty aesthetically, I'm not too sure what else I can work on for it, so please give me suggestions.

      Thanks!
    3. Ajinkya
      Ajinkya
      u could try to continue with the battle system :D
    4. Iceblade157
      Iceblade157
      Hi. So this is the re-uploaded version of all of the project. Please tell me if it works, as well as what I can do next. As I mentioned earlier, I sincerely don't know what to do, and I'm really sorry about that. Perhaps I can try to make another database?

      https://www.dropbox.com/s/aaxhv342le4lsyq/Pokemon2-11-13.rar
    5. Iceblade157
      Iceblade157
      I'm sorry I have not made much changes lately. Around last week when I was trying to share some files with my friends I realized that my rapid share links may have been broken - or so they told me that they were not "authorized" to download the files that I sent my friends. As such I realized that the files I sent you you may have not been able to download, and I sincerely apologize for that. I will try to reupload them sometime later today to a different website that permits others to download without authorization. As for the projects itself, I have been surprisingly busy lately, as well as being unable to come up with new ideas (I seriously don't have any idea on how to progress with the battling environment, and I'm really sorry about that.)

      I would love to continue working on this, but I guess it's a mixture of guilt and business that has kept me from being able to work on it, and I sincerely apologize for that.
    6. Iceblade157
      Iceblade157
      By the way the three folders are all supposed to be their own packages in case it was not made clear!
    7. Iceblade157
      Iceblade157
      Updates incoming!

      The battling environment has been significantly updated - you can now do switches, etc, and the moves change and such. This took me a surprisingly long time to do for some reason. In addition to that, the Pokemon Database (now named "PokemonDatabase", meant to replace the old "PokemonDB) and the Move database (fixed the error where previously the constructors for the moves were default accessor levels, so that ran into a lot of problems. "Psychic" the move is also lower case to avoid confusion with the type Psychic) were also updated.

      http://rapidshare.com/files/1049688529/UpdatesPOJava.rar
    8. Ajinkya
      Ajinkya
      woh, thats great news :D
    9. Iceblade157
      Iceblade157
      I got it working! You can now perform switching and watch the sprites change, as well as see the moves update. The databases for Pokemon and Moves are slightly more updated - the Move database had previously accidentally been generated with non-public constructors, the Pokemon database can now return the pokemon's national dex number which it could not do before. I will send updates probably tomorrow. In the mean time I'll see if I can do anything else to improve it a little before I send you the updates.
    10. Iceblade157
      Iceblade157
      Hi. I've been trying to add a more interactivable interface for a while for the battling environment - such as switching, displaying Pokemon's moves, changing sprites when switching, etc. Unfortunately it's not going quite well... :(
    11. Iceblade157
      Iceblade157
      Hello. I apologize for not getting back to you for quite a while. In addition to that, I've been rather busy with unexpected things around holiday season so I have not been able to get as much time as I would have liked to develop the code. Anyways, with the time I've been able to get, I've worked on the battling environment some more, and made it look prettier in general. I've added the buttons for selecting the moves as well as switching "tabs" for the view on the moves, spectators, and switching Pokemon.

      Anyways, here is the download link for the "Battle" package that I've been working on. The name might be a bit screwed up (It's actually the date as of this writing) due to the fact that otherwise I have compression issues for some odd reason. So be sure to delete the numbers after the package name "Battle" so everything works out well.

      http://rapidshare.com/files/1480762179/Battle122912.rar
    12. Ajinkya
      Ajinkya
      thats very nice :D i've done considerable work on teambuilder and other extra stuff with proformance, eg. testing it on diff. platforms, compatibility and many more :D
    13. Iceblade157
      Iceblade157
      Hello here are the files I've been working on.

      Battle Environment:
      http://rapidshare.com/files/3136901336/Battle.rar

      It creates a JFrame and has all those things in it - it has three individual JPanel inside of the general JFrame: a battle screen (shows the Pokemon and stuff), chat messenger, and an action selector (for selecting moves). The individual JPanels have their own classes, titled appropriately, and all of them extend the more general "GUI", which forms like kind of a base.

      Pokemon Database:
      http://rapidshare.com/files/3136901336/Battle.rar

      I decided to make a Pokemon database using a script, having been inspired by a friend to do so. The database works similar to the move database - each individual Pokemon passes its name, stats, etc to its super class, "Pokemon", which also has getter methods for those stats. At the moment, there are not any images, but I should add them so each entry in the database is more complete.
    14. Iceblade157
      Iceblade157
      Hello! My exams have just finished last Friday, so I can have more time doing this over the vacation. I'll upload the code that I have later :D
    15. Iceblade157
      Iceblade157
      Hello, I have been making decent progress with the battling environment, but unfortunately I have only really gotten the opportunity to work on it this weekend largely due to school. Anyways, here is a snap shot of what it is at the moment:

      http://i.imgur.com/BOtqM.png

      The coloured areas are not final, but merely indicate the areas where the Pokemon sprites are displayed - gray, where the actions such as performing switching etc are performed - blue, and the chat messenger - pink. At the moment, the button in the blue area replaces the current two Pokemon sprites on the screen with two new Pokemon sprites via a method called "imageUpdate", that takes two arguments, which are the two new images to replace the existing ones with. This will be helpful when switches are performed, for example.
    16. Ajinkya
      Ajinkya
      thats fine with me
    17. Iceblade157
      Iceblade157
      Hi! What about I try to start on the battling environment?
    18. Ajinkya
      Ajinkya
      currently nope, but i think once i make the teambuilder, we have a lot of work to do :D take rest and do some stuff till then ;)
    19. Iceblade157
      Iceblade157
      Cool. Is there anything else you'd like me to do?
    20. Iceblade157
      Iceblade157
      Ah also, the start up window looks very nice :D
    21. Iceblade157
      Iceblade157
      Also I apologize for not having been too active recently as I've been weighed down with school work. However, now that I am on a four day vacation, I should be able to get more stuff done :)
    22. Iceblade157
      Iceblade157
      Hi. In the giant "Move" package, hidden deep in the various move classes is "Move.java", which "SpecialMove.java", "PhysicalMove.java", and "StatusMove.java" extend. In turn, every other move extends their respective categories. In each of the individual move files - let's use "Absorb" as an example, upon calling the constructor it passes into the super constructors the following values in this order: damage, power, pp, type, short description, and 'physical'. I plan to change 'physical' into physical contact later - some moves like Earthquake don't exactly touch the opponent, and others like Grass Knot, though a special attack, touches the opponent. Anyways, those values in the super constructor gets passed up all the way to "Move.java", whose constructor sets those values and provides getter and (i think) setter methods for getting the move power and such.
    23. Archerknight
      Archerknight
      My name is archerknight there. Tell me your username and send me a challenge and I'll accept. (Correspondance)
  • Loading...
  • About

    Favourite Pokémon:
    Arceus
    PO Trainer Name:
    Lord Arceus
  • ForumPost count

    Help22 (46.81%)
    Development General5 (10.64%)
    Simulator Suggestions4 (8.51%)
    Database Modifications4 (8.51%)
    Server and Client Scripting3 (6.38%)
    Bug Wasteland3 (6.38%)
    Rate My Team2 (4.26%)
    Arts and Graphics1 (2.13%)
    News1 (2.13%)
    Disciplinary Committee1 (2.13%)
    Pokémon Chat1 (2.13%)