Triple Triad - FF8 Mini-game

● ARCHIVED · READ-ONLY
Started by Raizen 20 posts View original ↗
  1. 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
     

    Spoiler
    65CPfXm.png
    Spoiler
    7q5v7MH.png




    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 smile.png
  2. 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.
  3. Ooh, seems nice... XD...


    I'm really curious as to why draw_text is actually slow... XD
  4. Mithran said:
    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!

    Engr. Shana said:
    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 :)
  5. 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.
  6. Probotector 200X said:
    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
  7. 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.
  8. 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... :)
  9. @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.
  10. 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!
  11. 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.
  12. Pikalyze said:
    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
  13. I like Triple Triad but I love Tetra Master!!!

    Good work Raizen you beat DarthVollis in finishing this!

    Now to check out your work.
  14. 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
  15. ShinGamix said:
    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

    Eurgh said:
    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 .
  16. 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. :)
  17. 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. :)
  18. Fantastic script! A have a question: Is there a way to give a single card to the player?
  19. katsas14 said:
    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)
  20. 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!