Match Card Lottery

● ARCHIVED · READ-ONLY
Started by mjshi 86 posts Page 2 of 5 View original ↗
  1. I must not have all the files, or I am putting the assets in the wrong place. The plugin starts, but when the game tries to load I get this error message, "Failed to load image match card_back.png. (I don't see any card images in the assets that were provided.)
  2. @Teacha Drolet

    Shoot
    . It seems Weebly is terrible at managing their filenames. The .zip file was overwritten when I uploaded another zip file for a different minigame plugin onto my site.

    Use this for now, I'll update my site accordingly. https://www.dropbox.com/s/kdnp286lu47n80m/MCLassets.zip?dl=1

    edit The site has been updated accordingly with that link I gave you.
  3. Wow, thanks for the quick response! It worked perfectly. This is such a cool mini game!
  4. this is very cool thanks for sharing.

    the customization options are perfect ^_^
  5. Just a tip for people, if you also want to use the SlotMachine plugin from 1.1, you'll need to put that after this plugin. took me a long while to figure out where the conflict was but now things are all good ^_^
  6. @erikmidnatt Strange-- That shouldn't be an issue o.o Could you send your error logs? (press F8 to open the console, then either screenshot or copy the text on there and post it here).
  7. thanks for asking.

    for clarity, the card match lottery plugin always works regardless of order. Slots is the one that doesn't work if it is above card match, slots won't run if it is. But does not give any error message either.

    there is no error message in game nor anything in the logs. The console output looks the same regardless of the order, giving no clues.
  8. @erikmidnatt Thanks for the report! I initially thought MCL might've been overwriting something in Slots, but that's impossible because if you flip the order Slots would be overwriting something in MCL and MCL shouldn't work. Oh well, if it works it works xD I'll make a note of it on the main post.
  9. Yeah its got to be slots, I just checked the gacha from the same developer and its the same scenario. Both of those plugins need to go after yours.

    @mjshi Sorry, found something new I was hoping you could help with. I am working with a 1080p game resolution, and now see the Prizes and their respective card groups are not in alignment with each other.

    EDIT: NVM, I found the alignment control and made the Header text and other text left aligned ^_^ now I am golden.

    I am going to put a pretty picture on the right hand side to make it fancy .

    thx again.
  10. update 1.01a
    Fixes to plugin command, should work now with gatcha/slots etc.
  11. @mjshi I'm running into an issue with the spacing on the "success" text. The you lost text works fine. Also if the player only wins gold, it seems OK. but when they win other items there is clipping

    see attached. Any ideas?
    cardmat2.jpg

    I hacked a few lines to prevent the clipping, but it does look a tad odd still that gold is the only one that appears centered and the rest are left aligned. (well im sure they are all centered it just doesn't look that way.)

    I did change some other text from centered to left aligned, so I guess this box inherits that?
  12. @erikmidnatt Could you give me a full list of what changes you made, or send over your modified version of my plugin? I can't really tell what the issue is because this doesn't happen with a fresh plugin on a new project.

    Edit: What would help even more is if you sent over a test project that displays this issue, so I can get to work right away.
  13. Thanks, I think I fixed things up nicely enough at this point. Sorry for bothering you.

    I haven't tracked down what is causing it, but its not my edits. I took those out and it still happened. So its either a plugin conflict, my fonts, my resolution or something random ^_^

    But I fixed the issue enough by using magic numbers in lines 498 and 499

    Code:
            this.drawIcon(item.iconIndex, x + 60, y + 2);
            this.drawText(item.name + " x " + item.number, x + iconBoxWidth*3, y, width - iconBoxWidth);

    looks real pretty now.
    fixed.jpg

    thanks again for your plugins, they are very helpful!
  14. Thanks for the great plugin!

    Is it possible to make an event give a quest like "win 3 games at the MCL"?
  15. @worshipme Nothing built-in, but if you have a conditional branch that checks if the player has the prize items you could probably set up a quest that way!

    I'd recommend Conditional Branch+ if you have a lot of different kinds of prizes though, just to make the checking easier.
  16. That gave me a lot of possible quest events!
    Thank you very much @mjshi !
  17. Hi there! First off, this is amazing and perfect!! My game has been needing some fun minigames and this fits right in!! I'm having a small problem though because I have my game set to a high res using the Yanlfy Core Engine so the card game is squished to the upper left of my screen which looks odd. I am using a custom bg and card images I made myself, and wasnt sure if just editing those would do anything or if there was some way in the plugin to center the game on the screen?

    I'll add a screenshot of my problem. Also if you want, I'll give the image files for my custom cards and bg :D

    Edit: Also I cant seem to figure out how to make the Prizes and matches line up with my bg, idk if that would be fixed along with the centering issue or not.
    l44rxAR.png

    l44rxAR
  18. @xXAinSophAurXx Using the parameters for Card Window Offset and Personal Space, you should be able to move the card window around. I think there are also similar parameters for the prize window, but I'm not 100% sure.

    As for finer prize window control-- see a post I made earlier on this thread: https://forums.rpgmakerweb.com/index.php?threads/match-card-lottery.73955/#post-698538

    Just edit the lines indicated by the red text and you should be good to go ^^

    Edit: as for centering the BG, your BG would have to be centered manually in an image editor. The plugin doesn't center anything.
  19. mjshi said:
    @xXAinSophAurXx Using the parameters for Card Window Offset and Personal Space, you should be able to move the card window around. I think there are also similar parameters for the prize window, but I'm not 100% sure.

    As for finer prize window control-- see a post I made earlier on this thread: https://forums.rpgmakerweb.com/index.php?threads/match-card-lottery.73955/#post-698538

    Just edit the lines indicated by the red text and you should be good to go ^^

    Edit: as for centering the BG, your BG would have to be centered manually in an image editor. The plugin doesn't center anything.

    Thank you!! I got it all working just the way I want it now! :D