Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old September 2nd, 2012 (10:16 AM). Edited September 30th, 2012 by ☆Rei☆.
☆Rei☆'s Avatar
☆Rei☆ ☆Rei☆ is offline
  • Platinum Tier
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 20
Gender: Female
Nature: Calm
Posts: 1,749
Pokemon Java Kit


Intro:
Have you ever wanted to create your own pokemon game but your to lazy to program your own or don't know how? To cheap for rpg maker xp or another professional rpg system? WRONG! I am now creating a game engine dedicated to pokemon for.... FREE!


Current Features:
Smooth map movement/scrolling (like an rpg should) (include player movements/turning)
Complete NPC support (movement/teleporting/messages/erase/self switches/ect.)
Bike (only the speed movement not graphics)
Multipul region badge support (Like G/S/C)
Sub Script engine of Javascript (used for events and it binds the main essentials too)
A neatly organized system for easy to use/change system (ummm not a feature really)
FULL keyboard support (wouldn't be a good system without it)
FULL mouse support (even the little things like moving/entering the window/ect.)

Comming Soon Features:
Battle System (Includes the pokemon/item class)
Data Bank (Stores data on externals (items/pokemon/tms/trainers/ect.) like poke_essentials' compiler script)
Region Maps (Support for displaying region maps)
Menu Support (displays main menus)


Comming Later On....
Anything I can think of while I finish the comming soon feature list.

Images and Videos:
Spoiler:

Cpu Tests
Also note my debug text V (if you wanted to keep track on my positions)
Mocks you for no badge...


I have no tree sprite, the little kid does fine for now (not being cruel on purpose if you think that)


To lazy to make a better badge text but it works fine

He says something different now


Now you don't mock me...


It's gone (again this was only because I had no tree sprite and I needed to give a visual)


No videos yet


Bugs:
Compiling to a JAR won't load any files (This is actually reading from the jar's filepath)
The main bugs can be found in the download

Credits:
Hansiec -- Complete scripting of the WHOLE system (excluding that from what is included with java)
Who ever ripped the graphics from pokemon g/s to Pokemon: Metallic Silver (includes the sprites) and a very little amount of referencing (mainly for the JFrame)
Completely programmed with: Eclipse

Releases:
Current release: Version 1.0
Reply With Quote

Relevant Advertising!

  #2    
Old September 2nd, 2012 (1:02 PM).
Xavier_PokeNation's Avatar
Xavier_PokeNation Xavier_PokeNation is offline
     
    Join Date: Sep 2011
    Gender: Male
    Posts: 50
    Good luck with this. I suggest you to use tiled for maps instead of that
    __________________

    Reply With Quote
      #3    
    Old September 5th, 2012 (6:03 PM).
    ☆Rei☆'s Avatar
    ☆Rei☆ ☆Rei☆ is offline
    • Platinum Tier
     
    Join Date: Aug 2009
    Location: Nearby my feet.
    Age: 20
    Gender: Female
    Nature: Calm
    Posts: 1,749
    Quote:
    Originally Posted by Xavier_PokeNation View Post
    Good luck with this. I suggest you to use tiled for maps instead of that
    I agree, I already implemented poke-tiles which is a modified version of tiled for Java


    I've also added simple trainer/wild battles
    Reply With Quote
      #4    
    Old September 5th, 2012 (11:58 PM).
    Imags's Avatar
    Imags Imags is offline
       
      Join Date: Aug 2012
      Location: Norway
      Gender: Male
      Nature: Calm
      Posts: 17
      I may use this then you have implemented more features.
      __________________
      The new guy...
      Reply With Quote
        #5    
      Old September 6th, 2012 (1:45 AM).
      KingCharizard's Avatar
      KingCharizard KingCharizard is offline
      C++ Developer Extraordinaire
         
        Join Date: Dec 2009
        Location: Pennsylvania
        Age: 29
        Gender: Male
        Nature: Bold
        Posts: 1,250
        Uhh I love how it always seems people create more than one account to bump their topics.. anyways good luck with this
        __________________
        Reply With Quote
          #6    
        Old September 6th, 2012 (7:39 AM).
        ☆Rei☆'s Avatar
        ☆Rei☆ ☆Rei☆ is offline
        • Platinum Tier
         
        Join Date: Aug 2009
        Location: Nearby my feet.
        Age: 20
        Gender: Female
        Nature: Calm
        Posts: 1,749
        Quote:
        Originally Posted by KingCharizard View Post
        Uhh I love how it always seems people create more than one account to bump their topics.. anyways good luck with this
        Honestly, I only have 1 account.
        Reply With Quote
          #7    
        Old September 7th, 2012 (7:03 PM).
        Flameguru's Avatar
        Flameguru Flameguru is offline
        Pokemon: Metallic Silver
           
          Join Date: Oct 2005
          Gender: Male
          Nature: Rash
          Posts: 517
          Looks a little similar to something I made years ago

          You didn't post any code so I have no idea what all you've actually changed from my engine besides the color of the positioning font.

          All of the listed bugs I have fixed in my latest version but I have not updated the source on Google Code in a long time nor do I plan to.

          Good luck, I grew tired of working on my Java Engine a long time ago and I'd love to finish it but I'm just far too busy these days.
          __________________
          Current Project: Pokemon Engine for Android
          Reply With Quote
            #8    
          Old September 7th, 2012 (8:30 PM).
          Yuoaman's Avatar
          Yuoaman Yuoaman is offline
          Legen- wait for it...
          • Silver Tier
           
          Join Date: Jul 2005
          Location: Ontario, Canada
          Age: 25
          Gender: Male
          Nature: Relaxed
          Posts: 4,675
          Quote:
          Originally Posted by hansiec View Post


          Honestly, I only have 1 account.
          Come on, Ho-oh 112, we shouldn't have to play these games anymore. I thought we had moved past this. You disappoint me, son.
          __________________

          Suit Up!
          Awesome REGULAR MEMBER THAT OCCASIONALLY FREQUENTS FORUMS.

          "pps new screenie" - No, really shut up yuoaman.

          Haaave you read my LP?
          Pokémon Quartz - The only one of mine really worth reading.

          What about my [Un]Abridged series?
          Aquaman the Unabridged Parody Series - Language warning.

          The Playbook: My Anime List | Raptr | BackLoggery | Twitter


          83% of this signature is empty space.

          -dary!
          Reply With Quote
            #9    
          Old September 8th, 2012 (6:37 AM). Edited September 8th, 2012 by ☆Rei☆.
          ☆Rei☆'s Avatar
          ☆Rei☆ ☆Rei☆ is offline
          • Platinum Tier
           
          Join Date: Aug 2009
          Location: Nearby my feet.
          Age: 20
          Gender: Female
          Nature: Calm
          Posts: 1,749
          Quote:
          Originally Posted by Yuoaman View Post
          Come on, Ho-oh 112, we shouldn't have to play these games anymore. I thought we had moved past this. You disappoint me, son.
          I was seeing who here can tell the difference, looks like at least you have that perspective.


          although those are my only accounts.




          Quote:
          Originally Posted by Flameguru View Post
          Looks a little similar to something I made years ago

          You didn't post any code so I have no idea what all you've actually changed from my engine besides the color of the positioning font.

          All of the listed bugs I have fixed in my latest version but I have not updated the source on Google Code in a long time nor do I plan to.

          Good luck, I grew tired of working on my Java Engine a long time ago and I'd love to finish it but I'm just far too busy these days.

          nothing, it's all mine except the graphics and some small amounts of code.

          Also I have fixed all my bugs too.
          Reply With Quote
            #10    
          Old September 9th, 2012 (10:09 AM).
          ☆Rei☆'s Avatar
          ☆Rei☆ ☆Rei☆ is offline
          • Platinum Tier
           
          Join Date: Aug 2009
          Location: Nearby my feet.
          Age: 20
          Gender: Female
          Nature: Calm
          Posts: 1,749
          Alright I added a small pre-release to this.

          includes:
          Source of project (which has more features than listed above.)
          Source of Poke-Tiles

          Poke-tiles

          Basic/Collision tileset data
          Reply With Quote
            #11    
          Old September 10th, 2012 (2:16 PM).
          DOA_Hitomi's Avatar
          DOA_Hitomi DOA_Hitomi is offline
          Deadly Rocket Executive
             
            Join Date: Mar 2012
            Location: Rochester, New Hampshire, US
            Age: 28
            Gender: Male
            Nature: Lax
            Posts: 19
            Cool, is it possible to use more updated sprites? (Nothing against the 2nd Generation games) Almost every other starter kit uses graphics from atleast the 3rd Generation. lol
            __________________
            Tatty-Bye,
            Rocky Lincourt
            CEO, Charcoal Studios
            Charcoal Studios - Official Blog
            Reply With Quote
              #12    
            Old September 10th, 2012 (6:09 PM).
            DaSpirit's Avatar
            DaSpirit DaSpirit is offline
            Mad Programmer
               
              Join Date: Jul 2007
              Location: New York City
              Gender: Male
              Nature: Quiet
              Posts: 240
              It took me a while to compile lol. I'm too used to Visual Studio. lol

              Anyway, I have a few complaints about this game. It seems as if the player struggles to move. The player is supposed to bounce as he walks also. I am wondering why you stretched the sprites, it would look a lot better if you didn't. You should probably use HG/SS for the graphics instead of outdated 2nd and 3rd generation ones. Also, why don't the textbox messages scroll?
              Reply With Quote
                #13    
              Old September 11th, 2012 (8:00 AM).
              ☆Rei☆'s Avatar
              ☆Rei☆ ☆Rei☆ is offline
              • Platinum Tier
               
              Join Date: Aug 2009
              Location: Nearby my feet.
              Age: 20
              Gender: Female
              Nature: Calm
              Posts: 1,749
              Quote:
              Originally Posted by DaSpirit View Post
              It took me a while to compile lol. I'm too used to Visual Studio. lol

              Anyway, I have a few complaints about this game. It seems as if the player struggles to move. The player is supposed to bounce as he walks also. I am wondering why you stretched the sprites, it would look a lot better if you didn't. You should probably use HG/SS for the graphics instead of outdated 2nd and 3rd generation ones. Also, why don't the textbox messages scroll?

              1: Java's key listeners aren't that great
              2: graphics
              3: not me
              4: Alright, I think after I learn how to display the tiles using a depth system
              5: I am still working on that.
              Reply With Quote
                #14    
              Old September 11th, 2012 (10:19 AM).
              DaSpirit's Avatar
              DaSpirit DaSpirit is offline
              Mad Programmer
                 
                Join Date: Jul 2007
                Location: New York City
                Gender: Male
                Nature: Quiet
                Posts: 240
                Quote:
                Originally Posted by hansiec View Post
                1: Java's key listeners aren't that great
                2: graphics
                3: not me
                4: Alright, I think after I learn how to display the tiles using a depth system
                5: I am still working on that.
                Everything you described have solutions. I easily found a solution to your key problem. I suggest you fix your graphics. It's a 1 minute fix. I don't know how you did not notice it. You did stretch the sprites, I'm looking at your graphics folder now. A depth system shouldn't be hard. It should be a 3 dimensional array that determines which tile to use and which depth (depth would be your z, and you only need 3, ground, middle and top).
                Reply With Quote
                  #15    
                Old September 11th, 2012 (11:15 AM). Edited September 11th, 2012 by Flameguru.
                Flameguru's Avatar
                Flameguru Flameguru is offline
                Pokemon: Metallic Silver
                   
                  Join Date: Oct 2005
                  Gender: Male
                  Nature: Rash
                  Posts: 517
                  Quote:
                  Originally Posted by DaSpirit View Post
                  Everything you described have solutions. I easily found a solution to your key problem. I suggest you fix your graphics. It's a 1 minute fix. I don't know how you did not notice it. You did stretch the sprites, I'm looking at your graphics folder now. A depth system shouldn't be hard. It should be a 3 dimensional array that determines which tile to use and which depth (depth would be your z, and you only need 3, ground, middle and top).
                  I'm not quite sure how you can have so many gripes about graphical elements so early on in the development of hansiec's engine.

                  As to this whole stretched graphics, what are you talking about? All tiles are 32x32 and the player sprite is 32x42 due to a 10 pixel overlap to give a sense of depth when the player is in front of a building, sign, npc, etc. I know that because I'm the one he got those graphics from (although indirectly). If he was using 3rd gen tiles they would still be 32x32. Suggesting to use HG/SS Tiles is not a good idea and will severely complicate things and it really doesn't matter what tiles he provides, anyone who uses the engine should use their own custom ones so that their game is actually taken seriously and isn't just something they whipped up in 10 minutes.

                  As for actual depth, I am sure he implemented layers of tiles (probably amount of 3 layers) and if he hasnt, he will. Your point about the player bouncing really only shows that you have no intent to help with whats actually important (ie: the game logic and implementation) and is once again just another graphical gripe.

                  hansiec, good luck with the engine. If you ever need help let me know. I haven't looked over your code at all yet (only bothered to compile it and run it ) but if I find some free time I'll give it a look and see how you're handling everything.
                  __________________
                  Current Project: Pokemon Engine for Android
                  Reply With Quote
                    #16    
                  Old September 11th, 2012 (5:09 PM).
                  DaSpirit's Avatar
                  DaSpirit DaSpirit is offline
                  Mad Programmer
                     
                    Join Date: Jul 2007
                    Location: New York City
                    Gender: Male
                    Nature: Quiet
                    Posts: 240
                    Okay, before I start, I want to say that I'm not trying to be rude, I'm only saying my thoughts. People always get angry at me lol

                    Quote:
                    Originally Posted by Flameguru View Post
                    I'm not quite sure how you can have so many gripes about graphical elements so early on in the development of hansiec's engine.
                    You're right, it is VERY early in development. In my opinion, it's too early to be released. I've been working on a Pokemon engine for GameMaker 2 months now and I really don't think it's ready to be shown in public, but in terms of features, I have more than this one.

                    Quote:
                    Originally Posted by Flameguru View Post
                    As to this whole stretched graphics, what are you talking about? All tiles are 32x32 and the player sprite is 32x42 due to a 10 pixel overlap to give a sense of depth when the player is in front of a building, sign, npc, etc. I know that because I'm the one he got those graphics from (although indirectly). If he was using 3rd gen tiles they would still be 32x32. Suggesting to use HG/SS Tiles is not a good idea and will severely complicate things and it really doesn't matter what tiles he provides, anyone who uses the engine should use their own custom ones so that their game is actually taken seriously and isn't just something they whipped up in 10 minutes.
                    The tiles are stretched from their original resolution, that's what I meant. I think it will look better (albeit small) if kept in the normal resolution. I don't think that using HG/SS tiles is a bad idea. It's a bad idea to use the BW tiles on the other hand, because there are none. The HG/SS tiles are 2D and you can make a tileset very quickly by making a script that will delete all tiles that there are multiple of in a map. Visual presentation is very important, you can't deny that. You can have the game with the best gameplay, but if the graphics are bad, then no one will take interest in it.

                    Quote:
                    Originally Posted by Flameguru View Post
                    As for actual depth, I am sure he implemented layers of tiles (probably amount of 3 layers) and if he hasnt, he will. Your point about the player bouncing really only shows that you have no intent to help with whats actually important (ie: the game logic and implementation) and is once again just another graphical gripe.
                    Once he has made some sort of implementation or asks about one, I will try to help. Although my experience with OOP is mostly on the C++ side, the concepts are the same with Java.

                    One thing I'd like to suggest is to use a system such as Deoxygen. It really helps with other people who are trying to read your code. I didn't even know which file to start looking in.
                    Reply With Quote
                      #17    
                    Old September 12th, 2012 (9:58 AM).
                    ☆Rei☆'s Avatar
                    ☆Rei☆ ☆Rei☆ is offline
                    • Platinum Tier
                     
                    Join Date: Aug 2009
                    Location: Nearby my feet.
                    Age: 20
                    Gender: Female
                    Nature: Calm
                    Posts: 1,749
                    Quote:
                    Originally Posted by DaSpirit View Post
                    Everything you described have solutions. I easily found a solution to your key problem. I suggest you fix your graphics. It's a 1 minute fix. I don't know how you did not notice it. You did stretch the sprites, I'm looking at your graphics folder now. A depth system shouldn't be hard. It should be a 3 dimensional array that determines which tile to use and which depth (depth would be your z, and you only need 3, ground, middle and top).
                    Alright the graphics are not mine it's from flame guru's engine I honestly don't feel like moving to C++ and thanks for the tip on the 3D array (I will start on this)
                    Reply With Quote
                      #18    
                    Old September 29th, 2012 (1:46 PM).
                    UnderMybrella's Avatar
                    UnderMybrella UnderMybrella is offline
                    Some Programmer
                       
                      Join Date: Jan 2011
                      Location: Australia
                      Gender: Other
                      Nature: Calm
                      Posts: 280
                      Cool! I'm making my game in Java, but I've promised myself I would make the majority of my code myself, when possible.

                      However, this sounds great!

                      Also, in terms of compiling (I assume you are talking about saving), use a file class, but make sure to somehow encrypt the compiled stuff, or else it would be easy to modify the save file.
                      Reply With Quote
                        #19    
                      Old September 30th, 2012 (10:04 AM).
                      ☆Rei☆'s Avatar
                      ☆Rei☆ ☆Rei☆ is offline
                      • Platinum Tier
                       
                      Join Date: Aug 2009
                      Location: Nearby my feet.
                      Age: 20
                      Gender: Female
                      Nature: Calm
                      Posts: 1,749
                      Quote:
                      Originally Posted by Anglican View Post
                      Cool! I'm making my game in Java, but I've promised myself I would make the majority of my code myself, when possible.

                      However, this sounds great!

                      Also, in terms of compiling (I assume you are talking about saving), use a file class, but make sure to somehow encrypt the compiled stuff, or else it would be easy to modify the save file.

                      Yeah, making code yourself is much better than relying on other's code because it's easier for you as an individual to understand.

                      Also I do encrypt my saves. (I can improve the saving though)

                      I also need to update the first post to the newest data, I just felt too lazy to do so.
                      Reply With Quote
                        #20    
                      Old October 24th, 2012 (1:26 PM).
                      Dying Light's Avatar
                      Dying Light Dying Light is offline
                      Pegasus Knight
                         
                        Join Date: Jun 2011
                        Location: Exiled
                        Gender: Male
                        Nature: Hardy
                        Posts: 368
                        Ya know what I just realized?

                        If this project were to be completed, implementing a Java game into a web page is easy. So you could thus make a fully web-capable Pokémon game that doesn't require a download.

                        In the instance of Minecraft, they allow browser-based gaming and allow someone to download the .exe, which the same could be done here. It's purely amazing!
                        __________________
                        None

                        “Our only limits are the ones we place on ourselves.”
                        Reply With Quote
                          #21    
                        Old October 25th, 2012 (6:38 AM).
                        ☆Rei☆'s Avatar
                        ☆Rei☆ ☆Rei☆ is offline
                        • Platinum Tier
                         
                        Join Date: Aug 2009
                        Location: Nearby my feet.
                        Age: 20
                        Gender: Female
                        Nature: Calm
                        Posts: 1,749
                        Quote:
                        Originally Posted by Musketeer View Post
                        Ya know what I just realized?

                        If this project were to be completed, implementing a Java game into a web page is easy. So you could thus make a fully web-capable Pokémon game that doesn't require a download.

                        In the instance of Minecraft, they allow browser-based gaming and allow someone to download the .exe, which the same could be done here. It's purely amazing!
                        Thanks, I do work on this little by little, but not enough these days, but I do plan on completing this, maybe switching graphics displays to open GL for possible 3D support.
                        Reply With Quote
                          #22    
                        Old October 25th, 2012 (7:35 AM).
                        Dying Light's Avatar
                        Dying Light Dying Light is offline
                        Pegasus Knight
                           
                          Join Date: Jun 2011
                          Location: Exiled
                          Gender: Male
                          Nature: Hardy
                          Posts: 368
                          Quote:
                          Originally Posted by hansiec View Post
                          Thanks, I do work on this little by little, but not enough these days, but I do plan on completing this, maybe switching graphics displays to open GL for possible 3D support.
                          I definitely support and encourage this project. I also think switching to OpenGL would be a very nice feature, as even Minecraft uses it. Good luck on this!
                          __________________
                          None

                          “Our only limits are the ones we place on ourselves.”
                          Reply With Quote
                            #23    
                          Old October 25th, 2012 (8:41 AM).
                          ☆Rei☆'s Avatar
                          ☆Rei☆ ☆Rei☆ is offline
                          • Platinum Tier
                           
                          Join Date: Aug 2009
                          Location: Nearby my feet.
                          Age: 20
                          Gender: Female
                          Nature: Calm
                          Posts: 1,749
                          Quote:
                          Originally Posted by Musketeer View Post
                          I definitely support and encourage this project. I also think switching to OpenGL would be a very nice feature, as even Minecraft uses it. Good luck on this!
                          Alright, I've already done the switch to OpenGL, but I am re-writing my engine as of I didn't think the way this was originally written was most optimal at all.
                          Reply With Quote
                            #24    
                          Old October 25th, 2012 (1:16 PM).
                          Xavier_PokeNation's Avatar
                          Xavier_PokeNation Xavier_PokeNation is offline
                             
                            Join Date: Sep 2011
                            Gender: Male
                            Posts: 50
                            Quote:
                            Originally Posted by hansiec View Post
                            Alright, I've already done the switch to OpenGL, but I am re-writing my engine as of I didn't think the way this was originally written was most optimal at all.
                            When you switched to opengl, didn't it start using more CPU?
                            __________________

                            Reply With Quote
                              #25    
                            Old October 25th, 2012 (4:29 PM).
                            DaSpirit's Avatar
                            DaSpirit DaSpirit is offline
                            Mad Programmer
                               
                              Join Date: Jul 2007
                              Location: New York City
                              Gender: Male
                              Nature: Quiet
                              Posts: 240
                              Quote:
                              Originally Posted by Xavier_PokeNation View Post
                              When you switched to opengl, didn't it start using more CPU?
                              I don't use Java, but I know about OpenGL. If this happens then it is because of your OpenGL implementation does not use hardware acceleration. Most beginners use the fixed pipeline which is bad and old but everyone's computer supports. A good OpenGL implementation (but which older computers do not support) relies on shaders (generally versions 3.x and up). Shaders are done on the GPU rather the CPU which makes it a whole lot faster and less CPU intensive like which you are seeing.

                              Under research, I found that the default Java 2D library uses hardware accelerations based on what is supported. The code probably makes it so that it chooses whichever highest OpenGL version you support and uses it. Your implementation probably only uses a single version.
                              Reply With Quote
                              Reply

                              Quick Reply

                              Join the conversation!

                              Create an account to post a reply in this thread, participate in other discussions, and more!

                              Create a PokéCommunity Account

                              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

                              Forum Jump


                              All times are GMT -8. The time now is 7:36 AM.