Triple Triad - FF8 Mini-game

Raizen

Veteran
Veteran
Joined
Oct 24, 2012
Messages
381
Reaction score
660
First Language
Portuguese
Primarily Uses
RMMV
Triple Triad

Introduction
This is the Triple Triad Script!, 
For those who never played, here is a big chance, it puts the card game in your project as a side mini-game, really addictive, and thanks a lot for square for the marvelous mini-game x).

Features
- Card Shop
- Artificial Inteligence
- Card Album
- Key activation events, for side talk about the triple triad
- Aftermatch Scene

Portuguese user? Access the portuguese script here

Screenshots and videos
 





How to Use
Put it above main and configure the script as necessary

Script

http://www.mediafire.com/download/49764d9d68kx0db/Triple_Triad_English+1.1.rar

FAQ
Will there be future add-ons for the script?
Yes
Will you make Tetra Master?
Probably No

Credit and Thanks
- Raizen for the script
- RyanKamos for design if used
- Nintendo for the cursor if used
- Magic the Gathering for card back image if used
 
And of course, Square for Final Fantasy 8 and everything needed for the game 
 
Last edited by a moderator:

Mithran

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
404
Reaction score
217
First Language
English
Primarily Uses
Good work. I did notice a couple things during a short playtest though:


1. The card album runs at 1 FPS for me. This is because you are redrawing the text in the right window every frame; you only need to after the cursor changes positions.


2. When you are in a match and your cards are laid out in a vertical position, the bottom numbers of each card are obscured by the card just below it. This is fine, but the 'selected' card should probably be brought to the front when playing so you can see the whole thing.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Ooh, seems nice... XD...


I'm really curious as to why draw_text is actually slow... XD
 

Raizen

Veteran
Veteran
Joined
Oct 24, 2012
Messages
381
Reaction score
660
First Language
Portuguese
Primarily Uses
RMMV
Good work. I did notice a couple things during a short playtest though:

1. The card album runs at 1 FPS for me. This is because you are redrawing the text in the right window every frame; you only need to after the cursor changes positions.

2. When you are in a match and your cards are laid out in a vertical position, the bottom numbers of each card are obscured by the card just below it. This is fine, but the 'selected' card should probably be brought to the front when playing so you can see the whole thing.
Hey friend, thanks for the comments :D .

1. for some reason I found it very difficult to just update the album, I'll try to remake that script, in here it didn't lag, thats why I kept it that way :/, thanks for the tip.

2. Oh, yeah but that is only changing one of the variables in the config, I should have done that before xD, increasing the distance between the cards, I can bring it up also, but I find bringing up not so fluid for the animations.

Thanks for both tips, I'll try to correct 1, and change the Var from 2. :) .

Edit: Oh wait, you gave me an idea xD, yeah I probably will make something about the nº 2, thanks!

Ooh, seems nice... XD...

I'm really curious as to why draw_text is actually slow... XD
Same as above, I'll check what I can do about, thanks for the comment :)
 
Last edited by a moderator:

Probotector 200X

Probotect and Serve
Veteran
Joined
Mar 14, 2012
Messages
913
Reaction score
168
Primarily Uses
Looks pretty cool, nice having Triple Triad in Ace!!

One thing that concerns me though, making custom cards seems...very time-consuming. One would have to manually arrange a character picture, the card frame, the card background (red and blue), as well as the numbers/letters, in a separate program. I've seen a Triple Triad script for a different RPG Maker before, that allowed you to simple get the character picture, in the right size, and everything worked out from there, the picture automatically had the right background and border, and the numbers from the script generated in-game. It made adding custom cards much, much easier and faster. Just a suggestion.
 

Raizen

Veteran
Veteran
Joined
Oct 24, 2012
Messages
381
Reaction score
660
First Language
Portuguese
Primarily Uses
RMMV
Looks pretty cool, nice having Triple Triad in Ace!!

One thing that concerns me though, making custom cards seems...very time-consuming. One would have to manually arrange a character picture, the card frame, the card background (red and blue), as well as the numbers/letters, in a separate program. I've seen a Triple Triad script for a different RPG Maker before, that allowed you to simple get the character picture, in the right size, and everything worked out from there, the picture automatically had the right background and border, and the numbers from the script generated in-game. It made adding custom cards much, much easier and faster. Just a suggestion.
Hey! Thanks for the suggestion x), Well it does take more time, but after you make a template, I found it pretty fast to make cards... The demo cards I made in like 15min with the template, and having code-like images makes the card less pretty xD, but I can add that function later on, I think it might be easy to do it, if it is I'll update so the maker can choose between full image, or part code x). Thanks for the suggestion again :D
 

Misaki

Pikalyze
Veteran
Joined
Apr 21, 2013
Messages
156
Reaction score
26
First Language
English
Primarily Uses
RMMV
Nice work... though I'm not sure... maybe a few people might make a game solely on Triple Triad....

Who knows :)

Anyways, gonna try this out now.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I don't mean specific to your project... draw_text being slow is more of an RGSS thing, it's even indicated on the help file that it's not advisable to use it every frame... :)
 

Mithran

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
404
Reaction score
217
First Language
English
Primarily Uses
@Engr. Shana


draw_text is slow because it is slow, since we can't look directly at the algorithm directly the reason can only be speculated. There is a lot going on in there, though, it has to dynamically draw for any given point size, dynamically "squeeze" it if necessary, as well as consider italics, bold, outline, color, transparency, shadow, and outline (with its own color and transparency), and it presumably has to do so pixel by pixel to to the actual Bitmap object within Ruby, with nothing cached for the subsequent draws. My Text Cache speeds this considerably by caching each unique character, but it is still a bad idea to redraw every frame.


@Raizen


How about instead of:

Code:
      @right_window.refresh(@old_index)
Do this instead?
Code:
      @right_window.refresh(@card_list.index) if @old_index != @card_list.index
The method itself could still use some restructuring, but that would solve the refreshing every frame issue.
 

nio kasgami

VampCat
Veteran
Joined
May 21, 2013
Messages
8,949
Reaction score
3,042
First Language
French
Primarily Uses
RMMV
HaHA! SUGOI! Amazing raizen-kun :3! is a pretty cool system..is look so funny '^'...When I think of that with that system I bet you can make a yo-gyo game xD....(eto for the Yugi-o i am not sure of the prononciation --'...) is pretty original!
 

Neo Soul Gamer

Veteran
Veteran
Joined
Aug 10, 2012
Messages
653
Reaction score
391
First Language
English
Primarily Uses
N/A
This is fantastic. A lot of people have been waiting for this. I still owe you a donation for going through with this script. Waiting on paypal details.
 

Raizen

Veteran
Veteran
Joined
Oct 24, 2012
Messages
381
Reaction score
660
First Language
Portuguese
Primarily Uses
RMMV
Nice work... though I'm not sure... maybe a few people might make a game solely on Triple Triad....

Who knows :)

Anyways, gonna try this out now.
Thanks friend, hope you like the work xD.

@Mithran: Thanks friend, I actually had done that condition, the problem was... I forgot to put the window inside kk :p , I had put only the pictures and left the window.refresh right above, I changed some things also, thanks I'll upload a new demo with some changes xD. Yeah that fixes the problem x).

@nio: I really would like to do a yu-gi-oh, but... the work on AI would be way too much D:, and the work would be way greater so ... maybe on a distant future.

@thechancellor: Oh thanks friend, I'll keep you updated xD
 

ShinGamix

DS Style 4Ever!
Veteran
Joined
Mar 18, 2012
Messages
3,905
Reaction score
451
First Language
April Fools
Primarily Uses
N/A
I like Triple Triad but I love Tetra Master!!!

Good work Raizen you beat DarthVollis in finishing this!

Now to check out your work.
 

Eurgh

Lord of the Reapers
Veteran
Joined
Oct 6, 2012
Messages
172
Reaction score
34
Primarily Uses
Would you think of adding more difficulty settings to it? I want to make a game based around it and, you know... what use is 'normal' difficulty if you're going up against a so called champion? :p
 

Raizen

Veteran
Veteran
Joined
Oct 24, 2012
Messages
381
Reaction score
660
First Language
Portuguese
Primarily Uses
RMMV
I like Triple Triad but I love Tetra Master!!!

Good work Raizen you beat DarthVollis in finishing this!

Now to check out your work.
Thanks x), Tetra is not on my plans, not until I get to know what exactly happens in Tetra k x).

Hope you like the script

Would you think of adding more difficulty settings to it? I want to make a game based around it and, you know... what use is 'normal' difficulty if you're going up against a so called champion? :p
I put the name normal, cause I'm working on a new AI to be harder xD, but you can still work with this script and when I finish the hard difficulty, just trade the new one with the old one. As you imagine, harder AI's mean more logic and work to make, and I didn't want to hold the script until I finish the hard one. x). But I don't know if you tested it, I think normal is not so bad x).

So yeah, it will have a hard AI :D .
 
Last edited by a moderator:

Eurgh

Lord of the Reapers
Veteran
Joined
Oct 6, 2012
Messages
172
Reaction score
34
Primarily Uses
Oh, I have tested it. And once you understand the basics of how to play, you can get around the tricks of that shady card master. But if you're going to have a real card master, you're going to want him to be alot harder to beat.

I understand that it's a lot of work, i wasn't trying to rush you. It was more, asking if you intended to put a harder difficulty in. :)
 

Confodere

Villager
Member
Joined
Oct 10, 2012
Messages
24
Reaction score
27
First Language
German
Primarily Uses
RMMV
This is a really nice script. Good Work. I am downloading it right now and i hope that i can add my own cards aswell. :)
 

katsas14

Warper
Member
Joined
Mar 3, 2014
Messages
1
Reaction score
0
First Language
English
Primarily Uses
Fantastic script! A have a question: Is there a way to give a single card to the player?
 

Raizen

Veteran
Veteran
Joined
Oct 24, 2012
Messages
381
Reaction score
660
First Language
Portuguese
Primarily Uses
RMMV
Fantastic script! A have a question: Is there a way to give a single card to the player?
Yeah check on General settings, there should be this written.

# gain_triad_card(id, num)

:) , id for card id and num for number of cards. (can be negative)
 

Zero2505

Veteran
Veteran
Joined
Mar 17, 2014
Messages
33
Reaction score
43
First Language
English
Primarily Uses
Thanks mate! I love your script, it works fantastic. Keep up the great work!  :D   Just a little note, the link you give for the demo is a little outdated, had to used the Portuguese link as that demo is updated.  Nothing major, just used google translater to translate the text over in the scripts.  :)

Thanks again mate! 
 

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,574
Latest member
nikisknight
Top