The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

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.


Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old September 17th, 2012, 11:08 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Has anyone been working on making a Pokémon TCG system in RMXP (either for Essentials or stand-alone)? If so, what kind of progress have you made? I feel like helping out with a project like that.

Otherwise, this can be a thread for the discussion of creating a Pokémon TCG system for RMXP. It's a big task, certainly, but I'm interested to see how much active support it could get (and by "active" I mean actually helping out, not "I'd like to see that" messages).
__________________
Reply With Quote
  #2    
Old September 18th, 2012, 01:11 PM
Whitney's Shaymin's Avatar
Whitney's Shaymin
Creator Of Pokemon Grace
 
Join Date: Apr 2012
Location: Goldenrod, Johto
Gender: Male
Nature: Timid
Im not sure how we could do this but that would be pretty cool. I'm supporting!
Reply With Quote
  #3    
Old September 18th, 2012, 04:30 PM
~JV~'s Avatar
~JV~
Dev of Pokémon Uranium
 
Join Date: Aug 2007
Location: Rio de Janeiro
Age: 20
Nature: Relaxed
Send a message via Skype™ to ~JV~
I fully support this, I already thought about making a tcg game some years ago! Well, I can't help being a main developper or something because I don't have time and also because my coding is ugly and I'm not good at coding from scratch, I'm used to make modifications (heavy or not) to scripts. But you have my assistance on this if it gets started!
__________________
Sig in maintenance!
Reply With Quote
  #4    
Old September 18th, 2012, 05:25 PM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
I saw some adepts on the past, but I don't know any that is still active. Maybe you can reuse some code from http://code.google.com/p/shoddytcg/ (isn't RPG Maker related).

Do you plan to cover which expansions? My TCG knowledge is limited, but I suggest you to use the Basic, Jungle and Fossil at first. You can find the resources from the two game boy games in http://www.spriters-resource.com/gam...tcg/index.html and http://www.spriters-resource.com/gam...cg2/index.html, but I suggest you to use the real card pictures.
__________________
Reply With Quote
  #5    
Old September 19th, 2012, 11:50 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
I told myself I wasn't going to start anything until discussion had happened and any previous attempts came to light. I told myself that was the sensible thing to do.

...Which is why I've started making my own code. Yeah.

So far I've come up with a compiler script which can read multiple PBS txt files (all txt files within the PBS\Cards folder), and compiles all the information in them. I've also created a card entity class, which is pretty pointless unless you want to make some cards 1st Edition or otherwise special (I wouldn't, and that will probably be discarded later for convenience). A card is referred to by its ID, which is the name of the txt file it appears in followed by its number (e.g. BASE42 for the card numbered 42 in the file BASE.txt); the ID is functionally identical to a Pokémon's internal name.

Now, much of a card's information isn't currently accepted by my scripts. So far, a card's PBS information looks like this:

Code:
[1]
CardType=BasicPokemon
CardSubtype=Dark
Name=Bulbasaur
Species=BULBASAUR
HP=4
Type=Grass
Weakness=Fire,0
Resistance=Water,1
RetreatCost=1
We need to come up with a decent layout for this, and make sure all the information is included.

The next thing to do will be to create a library (like $PokemonBag), a library viewer, and a way to create decks. Then we can worry about making the duel scene.


Quote:
Originally Posted by FL . View Post
I saw some adepts on the past, but I don't know any that is still active. Maybe you can reuse some code from http://code.google.com/p/shoddytcg/ (isn't RPG Maker related).

Do you plan to cover which expansions? My TCG knowledge is limited, but I suggest you to use the Basic, Jungle and Fossil at first. You can find the resources from the two game boy games in http://www.spriters-resource.com/gam...tcg/index.html and http://www.spriters-resource.com/gam...cg2/index.html, but I suggest you to use the real card pictures.
Some of the information on that website was useful, although I'd already thought about it myself by now.

The project should be able to accept every kind of card, which means all existing cards can be included. The only issues then are the graphics and the effects of moves/PokéPowers/etc. While things are being invented, we'll use various cards which showcase a particular feature (e.g. Pokémon-ex cards, Stadium cards, etc.), and not be restricted to certain sets.



What we really need now is art. Preferably designs for the duel and library/deck-builder screens. What should they look like? Card pictures are not important at the moment.

Another question to think about is: how accurate should it be? For example, Pokémon cards used to have Pokémon Powers, but they were then split into PokéPowers and PokéBodies. Should this kit support Pokémon Powers at all, or should the older cards be reworked to make them match the most current system? Another example is whether Stadium/Supporter cards should be their own types or a subtype of Trainer cards.
__________________
Reply With Quote
  #6    
Old September 19th, 2012, 12:12 PM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Near a laptop
Age: 17
Gender: Male
Nature: Quiet
To create a shuffled deck

Code:
# create deck here

deck = deck.shuffle

Why create a new PB file for the cards? Why not use the PBSpecies data and manipulate the stats there, more cards can be created faster like that. Although for stadium/Supporter cards would be the only use for this as items can also be taken out of the PBItems data.

and a card's id can be made like so:

Code:
# create a base 42 character code here
id = [put all needed statistics here].pack("42 chararacter string here")
main_id = "" 

# get the main id with the XXXX-XXXX-XXXX (and so forth)
for i in 0..id.length-1
  main_id += " "
  main_id[main_id.length-1] = id[i]
  if i % 4 == 0
    main_id += "-"
  end
end
I hope this helps a little bit.


I really am not a graphics designer so no help designing
__________________
Things I'm working on:
Pokemon Essentials GTS System
Pokemon Essentials Mach & Acro Bike Script
PvP Script
Random Battle Generator

If you wish to donate to me you can do so here:
https://www.paypal.com/cgi-bin/websc...if%3aNonHosted
Reply With Quote
  #7    
Old September 19th, 2012, 01:25 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
I think you've very much misunderstood what this project is about. It's a video game recreation of the Pokémon Trading Card Game (TCG), not a made-up little thing I'm inventing myself. Everything you said (except for mentioning the shuffle method) is irrelevant.
__________________
Reply With Quote
  #8    
Old September 19th, 2012, 01:37 PM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Near a laptop
Age: 17
Gender: Male
Nature: Quiet
Quote:
Originally Posted by Maruno View Post
I think you've very much misunderstood what this project is about. It's a video game recreation of the Pokémon Trading Card Game (TCG), not a made-up little thing I'm inventing myself. Everything you said (except for mentioning the shuffle method) is irrelevant.
I thought you were implementing this into essentials, the id generation thing was because I thought the TCG had a key id which most card games have to determine a card.
__________________
Things I'm working on:
Pokemon Essentials GTS System
Pokemon Essentials Mach & Acro Bike Script
PvP Script
Random Battle Generator

If you wish to donate to me you can do so here:
https://www.paypal.com/cgi-bin/websc...if%3aNonHosted
Reply With Quote
  #9    
Old September 19th, 2012, 02:35 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
If it does, those long codes are just passwords used to unlock particular cards, and they're that long to discourage people from just trying out random combinations.

This project needs clear IDs, so the user will know which cards they're working with. The set name plus number is the best solution.
__________________
Reply With Quote
  #10    
Old September 19th, 2012, 03:17 PM
mewlover22's Avatar
mewlover22
Pokemon Creator
 
Join Date: Oct 2008
Gender: Male
Nature: Quiet
this sounds like a good idea count me in.
__________________
My first two Pokemon games.

Reply With Quote
  #11    
Old September 19th, 2012, 06:26 PM
yaywalter
Unhatched Egg
 
Join Date: May 2010
Gender: Male
I was working on a Pokemon TCG game a while back, but have sadly abandoned it. I was using Game Maker though, not RPG Maker.
Reply With Quote
  #12    
Old September 20th, 2012, 03:08 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Even so, do you have any resources or concept art or notes or code you want to share?


Quote:
Originally Posted by mewlover22 View Post
this sounds like a good idea count me in.
And what exactly will you be bringing to this project if I count you in? Did you mean to say "I'm looking forward to seeing what you come up with" instead?
__________________
Reply With Quote
  #13    
Old September 20th, 2012, 03:20 PM
mewlover22's Avatar
mewlover22
Pokemon Creator
 
Join Date: Oct 2008
Gender: Male
Nature: Quiet
Sorta i have a lot of knowledge on the Pokemon tcg and can give you an idea on what sets to use and more ideas like that i have played both gbc games and own of 500 Pokemon cards.
__________________
My first two Pokemon games.

Reply With Quote
  #14    
Old September 20th, 2012, 05:20 PM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Quote:
Originally Posted by Maruno View Post
And what exactly will you be bringing to this project if I count you in? Did you mean to say "I'm looking forward to seeing what you come up with" instead?
You're smart, so you can find some use for these supporting people. If you can't, simply use them as testers. This without counting that Mewlover22 also has TCG knowledge that can be very useful. Even the feedback/opinions can be useful. The most important is the intention.
__________________
Reply With Quote
  #15    
Old September 20th, 2012, 05:23 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
At the moment I need two main things: an idea of how things should look, and an idea of how things should work. The two are related, of course; one design for a Library screen will mean it should work in one way, while a different design will require it to work in a different way.

I need direction, a guide to what people want it to be like. Is the way the GBC game works suitable, or maybe a different approach inspired by Yu-Gi-Oh! or something? My only reference is the GBC game, which is obviously old stuff, and I want to know if there's a better way to go about it.

I don't want to waste a whole load of time making a questionnaire about as many facets of the game as I can think of, not least because I'll miss parts, and half of it will be technical. I just need to know what it should end up like, so that I know what I'm aiming for. I need a design document, which means I need to make a lot of decisions about how the game will work.

If you have any opinions about how any aspect of the game should be (card-acquiring, Library, deck-building, duels, AI, defining opponents, etc.), please let me know.
__________________
Reply With Quote
  #16    
Old September 20th, 2012, 05:23 PM
mewlover22's Avatar
mewlover22
Pokemon Creator
 
Join Date: Oct 2008
Gender: Male
Nature: Quiet
thanks i will do what ever i can.
__________________
My first two Pokemon games.

Reply With Quote
  #17    
Old September 20th, 2012, 05:34 PM
~JV~'s Avatar
~JV~
Dev of Pokémon Uranium
 
Join Date: Aug 2007
Location: Rio de Janeiro
Age: 20
Nature: Relaxed
Send a message via Skype™ to ~JV~
Quote:
Originally Posted by Maruno View Post
At the moment I need two main things: an idea of how things should look, and an idea of how things should work. The two are related, of course; one design for a Library screen will mean it should work in one way, while a different design will require it to work in a different way.

I need direction, a guide to what people want it to be like. Is the way the GBC game works suitable, or maybe a different approach inspired by Yu-Gi-Oh! or something? My only reference is the GBC game, which is obviously old stuff, and I want to know if there's a better way to go about it.

I don't want to waste a whole load of time making a questionnaire about as many facets of the game as I can think of, not least because I'll miss parts, and half of it will be technical. I just need to know what it should end up like, so that I know what I'm aiming for. I need a design document, which means I need to make a lot of decisions about how the game will work.

If you have any opinions about how any aspect of the game should be (card-acquiring, Library, deck-building, duels, AI, defining opponents, etc.), please let me know.
Maruno, I think the old GBC game worked well enough, BUT there is a japan-only TCG game for the DS. Take a look: http://www.youtube.com/watch?v=U1_nqYeBU40

If we do it using the mouse it will be very easy to mimic the mechanics shown in the video. Graphics wise, we should go for the regular 4th gen style I guess... We are already used to it and it's pretty easy to edit etc.
__________________
Sig in maintenance!
Reply With Quote
  #18    
Old September 20th, 2012, 09:46 PM
P-Sign's Avatar
P-Sign
Pokémon Nova Luna Lead Dev.
 
Join Date: Jun 2011
Location: The Netherlands
Age: 17
Gender: Male
If you need my help, just send me a message. I've been playing the Pokémon TCG competitively (playing tournaments :p) for the past three years.
__________________

Reply With Quote
  #19    
Old September 21st, 2012, 05:08 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
I'll have a look at Asobikata. The main issue with mimicking that is that it's very much made for a dual screen. Some kind of mixture of that and the GBC game may be the way forward.

P-Sign, I'm sure I'll have a lot of questions for you. Mostly mechanics-based, I think.
__________________
Reply With Quote
  #20    
Old September 21st, 2012, 05:11 PM
yaywalter
Unhatched Egg
 
Join Date: May 2010
Gender: Male
Quote:
Originally Posted by Maruno View Post
Even so, do you have any resources or concept art or notes or code you want to share?



And what exactly will you be bringing to this project if I count you in? Did you mean to say "I'm looking forward to seeing what you come up with" instead?
I don't have any real useful code to share... I only got as far as making the general movement and the card library/deck builder. And it was in Game Maker, so it wouldn't be useful to somebody trying to make an RPG Maker game. And to be honest, I don't know where the files for it are anymore or if I've even still got them.

But I was able to find these 3 screenshots in the thread I made for it:




The game was going to have a structure more similar to a traditional Pokemon game, rather than the structure of the GBC TCG game. You'd earn money from defeating trainers and gym leaders, which you'd be able to use at stores to buy booster packs or individual cards. There would be 8 gym leaders, as well as an Elite Four.
Reply With Quote
  #21    
Old September 22nd, 2012, 05:08 AM
the__end's Avatar
the__end
Pixel Artist
 
Join Date: Apr 2010
Gender: Male
ok i am done with about 75% of the library screen...
i think today i can show the first results...
hope you will like it...
__________________
Reply With Quote
  #22    
Old September 22nd, 2012, 09:57 AM
Rayquaza.'s Avatar
Rayquaza.
Lead Dev in Pokémon Chaos
 
Join Date: Sep 2011
Location: United Kingdom
Age: 17
Gender: Male
Nature: Adamant
This sounds like a good project. I was planning on making a TCG-based game (Not pokemon) and started looking for RPG maker kits, this may be a pokemon kit but if this becomes an official project its definitely something to go on.
__________________
"Souls Will Fall, Darkness Will Spread, Chaos Will Rise"

Pokémon Chaos
12th January 2014




My Youtube Channel | Pokémon Chaos Thread | My DeviantArt | Mystery Dungeon Starter Kit Discussion Thread
Reply With Quote
  #23    
Old September 22nd, 2012, 11:52 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
I have created the first draft of what I think is a design document. The process is as new to me as it is to many of you.

Everyone, please have a look through it and comment on anything you find. Is what has been described suitable for every reasonable possibility and usage?


Quote:
Originally Posted by yaywalter View Post
I don't have any real useful code to share... I only got as far as making the general movement and the card library/deck builder. And it was in Game Maker, so it wouldn't be useful to somebody trying to make an RPG Maker game. And to be honest, I don't know where the files for it are anymore or if I've even still got them.

But I was able to find these 3 screenshots in the thread I made for it:


The game was going to have a structure more similar to a traditional Pokemon game, rather than the structure of the GBC TCG game. You'd earn money from defeating trainers and gym leaders, which you'd be able to use at stores to buy booster packs or individual cards. There would be 8 gym leaders, as well as an Elite Four.
I remember seeing those screenshots ages ago. I have a bit of a soft spot for TCG games, but on the rare occasions they're mentioned they always fall through (like most other games, actually, but unlike them the TCG games have a good reason for failing). It's always interesting to see how people envisage these kinds of things.


Quote:
Originally Posted by the__end View Post
ok i am done with about 75% of the library screen...
i think today i can show the first results...
hope you will like it...
Looking forward to it.
Attached Files
File Type: doc Design document.doc‎ (52.0 KB, 45 views)
__________________
Reply With Quote
  #24    
Old September 22nd, 2012, 03:22 PM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Nice GDD for a minigame option in a engine. This is almost a profissinal one! A profissinal Design Document generally have more description (even more detailed) and diagrams. But for a draft this is excellent (excluding the lack of duel info). You're skilled at it, I can't believe that is your first time!

I agree with almost all items.

Quote:
Originally Posted by Design Document
Should Stadium/Support cards be completely separate types of cards, or variants of Trainer cards? The real TCG has flop-flopped over this matter.
I vote for Stadium/Support cards as separate types, but will be the same in some effects (just like real TCG). The real TCG can't edit the old cards.

Quote:
Originally Posted by Design Document
Subtype – The card’s subtype. Optional.
I suggest you to make this a string array defined in card rather that several subtypes defined in scripts.

Quote:
Originally Posted by Design Document
HP – The HP of this card, divided by 10.
I suggest you to use the actual number and only allow 10 multiples. I predict people having problems with this.

Quote:
Originally Posted by Design Document
There will not be a card shop.
Maybe in future?

Quote:
Originally Posted by Design Document
Duels will be possible using 3 or 6 Prize Cards (short or long).
Disagree. Put a number option (1-6) for more convenience

Quote:
Originally Posted by Design Document
Likely to have multiple pages, like the GBC game has
Disagree, Probably Isn't possible to put all in one page, so put two with the second page a continuation from the first one.

Quote:
Originally Posted by Design Document
The prize will be a list of one or more booster packs (usually one). This is the only possible form that the prize can take.
Put also a money/coins/card points option from buying boosters or cards.

Quote:
Originally Posted by Design Document
A Pokédex for cards. Effectively nothing more than a differently-arranged Library; used only for seeing completion percentages.
I prefer this as a mode for Library.



About the game board I prefer the Game Boy TCG one rather that the actual board. Try to mix some options and display the moves and Poké-power in the main duel screen (at least without the effect or even only the names). Try to display also the weakness, resistance and retreat cost.

Instead of Hand, Attack, Check, Pkmn Power, Retreat and Done, I suggest you to use Hand, Action (with Attack and Done options) and Board (with Pkmn Power and Retreat options).

I prefer that you use the pokémon card artwork rather that the entire card.
__________________
Reply With Quote
  #25    
Old September 22nd, 2012, 03:41 PM
yaywalter
Unhatched Egg
 
Join Date: May 2010
Gender: Male
Quote:
Originally Posted by Maruno View Post
I have created the first draft of what I think is a design document. The process is as new to me as it is to many of you.

Everyone, please have a look through it and comment on anything you find. Is what has been described suitable for every reasonable possibility and usage?



I remember seeing those screenshots ages ago. I have a bit of a soft spot for TCG games, but on the rare occasions they're mentioned they always fall through (like most other games, actually, but unlike them the TCG games have a good reason for failing). It's always interesting to see how people envisage these kinds of things.



Looking forward to it.
My TCG project fell through simply due to laziness and getting distracted by other projects. But the idea still appeals to me, so I might revisit it... I'm thinking about even integrating it into my current project, so it'll be like two games in one: A regular Pokemon game, and a Pokemon TCG game.

Anyway, well-done design document. I should probably start making 'em for my projects instead of just jotting down random notes. I wish you the best of luck with your TCG game, but we might just become rivals if I include the TCG in my Pokemon game. But that might even be beneficial...
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 10:01 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.