Go Back   The PokéCommunity Forums > Creative Discussions > Game Development

Notices
For all updates, view the main page.

Game Development Your number one stop for anything related to creating games (except ROM hacks). You can even make your own!



Reply
 
Thread Tools
  #1    
Old July 12th, 2012 (11:01 AM). Edited October 18th, 2012 by m.vit.
m.vit's Avatar
m.vit
 
Join Date: Jul 2006
Nature: Adamant
PokeClone: A Pokémon engine coded in Python


Introduction

PokeClone is developed by tpw_rules, sonicrules1234 and m.vit, it's intended to be an engine base (like Pokemon Essentials) however coded in Python, allowing for more expandability and variety, the current version is v 0.1 and supports many overworld features. We're using this engine to create Pokemon Bronze, which is currently looking for team members.

Features

As of v 0.15 PokeClone supports:
  • Basic overworld movement
  • Warps
  • Cutscenes
  • Trainer spotting
  • NPC dialog
  • Self dialog
  • Choice dialog
  • Basic surf support
  • Animated tiles
  • Attack System (not battle system)
  • Black/White-like animation
  • Saving

Media





(More updated screenshots coming soon, feel free to submit your own and I'll gladly add them here)

Dependencies

To be able to use Pokeclone you need:
  • Python 2.6+
  • Pygame
  • PyOpenGL

FAQ

Quote:
I want to create my own map, where should I start?
If you want to make maps, open up Tiled, select your sizes and go! Make sure you have a "Collisions" layer and use the collisions tileset provided to use them.
Quote:
What about NPCs/Trainers/Cutscenes?
In the data/maps folder in the source you can find some xmls that share the map's name, for now use those as reference.
Quote:
I found a bug! What do I do?
In your .exe folder or source folder you'll find a file called exception.txt, paste the contents in Pastebin or a similar service and post the link here.
Quote:
Where can I find more info about doing (insert here)?
PokeClone's source includes some basic documentation, and in the source link you will be able to find a wiki which will be edited to fit your knowledge needs

Downloads

Developer Channel

If you want to look for some help, discuss about code or new features, feel free to join us on IRC, we're on #pokeclone in Freenode.

Help Wanted!

We're looking for Rom Hackers who can help us translate ROM data into XML files (like Pokémon B/W Animations) and developers who know OpenGL!

Credits

Nintendo and GameFreak for Pokemon
Pokemon-Diamond, Thunderdove and Serebii08 for their amazing tiles
Sonicrules1234 for ROM to XML conversions
Reply With Quote
  #2    
Old July 12th, 2012 (11:20 AM). Edited July 12th, 2012 by khkramer.
khkramer's Avatar
khkramer
 
Join Date: Apr 2010
Gender: Male
Nice!
I'm going to give this a try right away

Edit: I lol'd at the jesus boots xD
__________________

Check out the MMORPG I'm developing:

• Trading • PvP • Co-Op
Reply With Quote
  #3    
Old July 12th, 2012 (09:34 PM).
Spira
Coder for Pokemon Eternity
 
Join Date: Jun 2009
Send a message via AIM to Spira
Well done. Almost makes me want to continue working on the Python Pokemon game I was helping to create! Hope to see more in the future from you!
__________________
Coder for Pokemon Eternity... development halted.
Reply With Quote
  #4    
Old July 14th, 2012 (10:42 PM).
m.vit's Avatar
m.vit
 
Join Date: Jul 2006
Nature: Adamant
Remember you guys can fork the source and implement your own maps and features!
__________________
Reply With Quote
  #5    
Old July 15th, 2012 (10:33 AM).
Dragonite Ernston's Avatar
Dragonite Ernston
I rival Lance's.
 
Join Date: May 2010
Gender: Male
I'd fork and help if I knew the slightest thing about what you guys were doing. I've never used PyGame before, and it took me a while to figure out that pokeclone.py was the startup file. D:
Reply With Quote
  #6    
Old July 17th, 2012 (09:40 PM).
godo156's Avatar
godo156
All Hail the Glow Cloud
 
Join Date: Aug 2010
Location: The Night Vale Car Lot
Gender:
Nature: Lax
Send a message via Skype™ to godo156
Seems interestin'. Well good luck on this ya two. I might make a game from this eventually, if ya don't mind.
Reply With Quote
  #7    
Old July 18th, 2012 (03:31 AM).
KingCharizard's Avatar
KingCharizard
C++ Developer Extraordinaire
 
Join Date: Dec 2009
Location: Pennsylvania
Age: 26
Gender: Male
Nature: Bold
This is interesting but I'd love to see some screens or maybe a video... if you have as much done as you say media shouldn't be a problem.....
__________________
My personal website. UPDATED 8/29/2013
Reply With Quote
  #8    
Old July 18th, 2012 (11:05 AM).
m.vit's Avatar
m.vit
 
Join Date: Jul 2006
Nature: Adamant
I'll add some screenshots of earlier builds since I'm not near my desktop at the moment, would be nice to have user submitted screenshots with custom content
Reply With Quote
  #9    
Old July 31st, 2012 (11:08 AM).
godo156's Avatar
godo156
All Hail the Glow Cloud
 
Join Date: Aug 2010
Location: The Night Vale Car Lot
Gender:
Nature: Lax
Send a message via Skype™ to godo156
Don't know if this counts,

but here's proof that the player sprite can and has been edited.
Can't edit the game itself because I have no idea how to install python or pygame on my windows 7 computer...
Reply With Quote
  #10    
Old August 4th, 2012 (08:59 AM). Edited August 4th, 2012 by DOA_Hitomi.
DOA_Hitomi's Avatar
DOA_Hitomi
Deadly Rocket Executive
 
Join Date: Mar 2012
Location: Rochester, New Hampshire, US
Age: 25
Gender: Male
Nature: Lax
This should work on windows then?

Quote originally posted by godo156:
Don't know if this counts,

but here's proof that the player sprite can and has been edited.
Can't edit the game itself because I have no idea how to install python or pygame on my windows 7 computer...
You can get python on windows here:
Get Python 2.7.3 for Windows
Reply With Quote
  #11    
Old August 4th, 2012 (11:57 AM).
Whitney's Shaymin's Avatar
Whitney's Shaymin
Creator Of Pokemon Grace
Community Supporter
 
Join Date: Apr 2012
Location: Goldenrod, Johto
Gender: Male
Nature: Timid
This cool but when can we make our own game out of it?
Reply With Quote
  #12    
Old August 8th, 2012 (10:03 AM).
godo156's Avatar
godo156
All Hail the Glow Cloud
 
Join Date: Aug 2010
Location: The Night Vale Car Lot
Gender:
Nature: Lax
Send a message via Skype™ to godo156
Quote originally posted by pokemoner2500:
This cool but when can we make our own game out of it?
When they get to a point where it's possible. Just work with what you can at the moment really. Oh, and thank you person with the python link. I'll download it when I get to a computer.
Reply With Quote
  #13    
Old August 12th, 2012 (01:26 AM).
nuzamaki90's Avatar
nuzamaki90
Knight of The Volt
 
Join Date: Feb 2008
Location: North Carolina
Age: 21
Gender: Male
Nature: Relaxed
Jesus Boots XD

I played with the engine a bit and it's actually really nice, just needs a few more things added to it.

Excited for the next release.
Reply With Quote
  #14    
Old September 11th, 2012 (06:37 PM). Edited September 14th, 2012 by m.vit.
m.vit's Avatar
m.vit
 
Join Date: Jul 2006
Nature: Adamant
Quick update to keep this thread from being dead!

We've started OpenGL implementation! (woo!) what does this mean?

Firstly, a new dependency, PyOpenGL.

For now it's implemented in the animation system (yet it's only in the tool, not in the very early battle screen), it brings higher frames per seconds, amazing fluidity in animations (I truly mean it!) and hopefully will make our lives easier with adding bigger content (bigger maps, battle tweens, battle animations) without consequences (frame drops mostly)!

Go ahead and try out the animation tool! It's very easy to load an animation, in your terminal type out the following
Quote:
python tools/animation_view.py pathtoanimation(must be in data folder) animationname(demo/battle, just check the xmls)
I'll be starting a PokeClone resource git...sometime... so that others can contribute with battle graphics, animations (we need all 649 pokémon!), new features, etc...

Also feel free to discuss features and their implementations here, I was thinking of a universal GTS, just send new fakemon data to a database and watch it sync across all pokeclone games? who knows! virtually anything is possible with python in comparison to other platforms!
Reply With Quote
  #15    
Old September 12th, 2012 (04:41 AM).
DaSpirit's Avatar
DaSpirit
Mad Programmer
 
Join Date: Jul 2007
Location: New York City
Gender: Male
Nature: Quiet
OpenGL sounds awesome! Which minimum version are you supporting?
Reply With Quote
  #16    
Old September 13th, 2012 (05:49 PM).
m.vit's Avatar
m.vit
 
Join Date: Jul 2006
Nature: Adamant
PyOpenGL supports from 1.1
Reply With Quote
  #17    
Old September 15th, 2012 (10:31 AM).
pokeMa7as
Unhatched Egg
 
Join Date: Sep 2010
Location: Argentina
Gender: Male
Cool, I like Python. Good luck!
Reply With Quote
  #18    
Old September 19th, 2012 (07:23 PM).
m.vit's Avatar
m.vit
 
Join Date: Jul 2006
Nature: Adamant
I'm officially announcing the first PokeClone-powered game!

So what is it? Well well well, think about it as a Pokémon Prism 2, a new adventure in the region of Naljo!

I already asked Koolboyman and he said yes, hence why I'm making this announcement.

So, to show the power of PokeClone it will expand upon Prism's features, right now I have a working Pokemon-controlling area and a 2D sidescrolling area, which will be further expanded than Prism's appearance, it will feature new/reworked areas, new dialogs/characters/gym leaders, and hopefully 3D!

Here's a quick teaser, yet i'm sure you saw the titlescreen already in the current PokeClone build ;)


(Note, even if it's an OSX screenshot, it's Python so it will run on Windows/Linux/OSX! How's that for cross-platform huh?)
Reply With Quote
  #19    
Old September 21st, 2012 (09:43 PM).
pokeMa7as
Unhatched Egg
 
Join Date: Sep 2010
Location: Argentina
Gender: Male
Very nice work m.vit! Is that in github.com?
Reply With Quote
  #20    
Old September 29th, 2012 (04:10 PM).
m.vit's Avatar
m.vit
 
Join Date: Jul 2006
Nature: Adamant
Pokemon Bronze is being mantained by me directly, to try out PokeClone's current flexibility, it's easy to add tiletypes like ladders so far, and adding NPC animations even more. Scripts are an easy deal. But no, it's all private for now and is as advanced as PokeClone, everything I've done so far is easy to reproduce in PokeClone vanilla :)
Reply With Quote
  #21    
Old October 11th, 2012 (05:27 PM).
sonicrules1234
Python Programmer
 
Join Date: Oct 2012
Gender: Male
Hi everyone. I've been hanging out in the IRC channel lately, and have generated some pokemon xml files from firered. It's got pretty much all the info in it besides tm's and hm's.
Attached Files
File Type: zip pokemonxmlfirered.zip‎ (241.2 KB, 4 views) (Save to Dropbox)
Reply With Quote
  #22    
Old October 12th, 2012 (11:37 AM). Edited October 12th, 2012 by m.vit.
m.vit's Avatar
m.vit
 
Join Date: Jul 2006
Nature: Adamant
PokeClone Content Update!

Now this should look fancier, anyways time for the first content update where I'll be showing what's new/recent.

First thing, Sonicrules1234, who posted the awesome xml files for all of the first 251 Pokémon is joining the PokeClone main team! *claps*

Alright, so since the screenshots don't tell much and are kind of outdated (kind of being an understatement) I've decided to record a video!



Now, this is the internal Pokémon Bronze build, so there's a map in there that isn't in the final version, but it should show how easy it was to make a custom movement tile, in this case, climbing ladders.

And finally, here's a gif showing how smooth OpenGL animations are, expect more OpenGL integration soon!

Click on it to see it.

Also, we're looking for an OpenGL coder who can help out on the conversion from SDL, please pm me or go in the channel for more info
Reply With Quote
  #23    
Old October 12th, 2012 (01:06 PM).
DaSpirit's Avatar
DaSpirit
Mad Programmer
 
Join Date: Jul 2007
Location: New York City
Gender: Male
Nature: Quiet
Nice to know you got OpenGL working. Does the game render each individual body part like how you wanted?
Reply With Quote
  #24    
Old October 12th, 2012 (01:42 PM).
m.vit's Avatar
m.vit
 
Join Date: Jul 2006
Nature: Adamant
Yeah, still supports odd numbers weirdly
Reply With Quote
  #25    
Old October 12th, 2012 (01:59 PM).
Fraot's Avatar
Fraot
Researcher & Game Developer
 
Join Date: Jun 2008
Location: Somewhere on earth...
Gender: Male
Nature: Quiet
I like the fact that the screenshots are from Mac; which means it runs natively on Mac.
__________________
Pokémon Pure Version. It's gone now. Buh-bye Nohmen Region! Nobody will miss you because no one had the chance to meet you.

And also... a new Megaman X game is coming. Megaman X: Maverick Wars.
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 05:50 PM.