Match Card Lottery

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
943
Reaction score
764
First Language
English
Primarily Uses
N/A

Match Card Lottery v1.01a
by mjshi- OK for use in all projects with credit

Get it here!

A scratch-card-lottery-type minigame for your projects. Play and win epic prizes!
Generously donated to the community by the wonderful tale of these very forums.
Features
- Match three cards of the same type to win!
- Specify a type to be the "wild card"-- this card will now change to match other card types. Read help for more information.
- Ability to change game rules and prize pools mid-game via plugin commands
- Includes graphics assets drawn by yours truly

Make sure that the assets are placed in the correct folders! Otherwise, this minigame will not run.

Video Demo


Alternate Graphics - download here
Thanks to @Zael for creating these! Full credit info and instructions in the zip file.



Version History
1.0-pre plugin completed
1.0 plugin released, mouse input support added
1.01 added option to use a custom background and change the replay window's command text.
1.01a bugfixes

Credit
mjshi
 
Last edited:

Lionheart_84

Veteran
Veteran
Joined
Oct 27, 2015
Messages
493
Reaction score
44
First Language
Italian
Primarily Uses
Beautiful plugin !!! Just one thing ... you can not quit the mini game when you want !!! ... by pressing ESC !!!


Or you can only win or lose !!! You can take a chance to exit from mini game???
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
943
Reaction score
764
First Language
English
Primarily Uses
N/A
@Lionheart_84 You can't do that because when you replay the minigame it consumes a ticket, and whenever you open the minigame it consumes a ticket. So in order to prevent players from accidentally wasting tickets, I force them to either win or lose before allowing them to quit.


Also, if you flip over two cards and they don't match, if I allowed quitting the player could simply quit the minigame and try again, giving players a way to cheat and get better prizes. 
 

Lionheart_84

Veteran
Veteran
Joined
Oct 27, 2015
Messages
493
Reaction score
44
First Language
Italian
Primarily Uses
Ok ... it is lawful your answer !!! You have done a really good job !!!


And if I can give you a hint ... you can even set a graphic background for the right side of the plugin ???


maybe choice ??? Understand in what sense ???
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
943
Reaction score
764
First Language
English
Primarily Uses
N/A
@Lionheart_84 If I'm understanding you correctly, you want me to add a parameter that allows you to add a background to the minigame, right?


The answer for now is "we'll see", I'm a bit busy today but I might get back to you in three days or so about that.
 

LxCharon

I'm the best hyperbole writer in the world.
Veteran
Joined
Jun 17, 2014
Messages
137
Reaction score
139
First Language
English
Primarily Uses
RMMV
This looks great! Good Job!
 

Lionheart_84

Veteran
Veteran
Joined
Oct 27, 2015
Messages
493
Reaction score
44
First Language
Italian
Primarily Uses
@Lionheart_84 If I'm understanding you correctly, you want me to add a parameter that allows you to add a background to the minigame, right?


The answer for now is "we'll see", I'm a bit busy today but I might get back to you in three days or so about that.


Yes good, it was just what I wanted !!! :D  A picture like a wallpaper in the background !!!! :)  and ok ... Go ahead calmly !!! ;)


I wait from you soon !!! Still great job !!! :guffaw:
 

Gabrelik

Almighty Maker of Sandwiches
Veteran
Joined
Aug 29, 2015
Messages
772
Reaction score
1,285
First Language
English
Primarily Uses
RMMV
An excellent mini-game, to be sure. Well done! :)  I would also second the request for the option of placing a background on the game. If you have time, of course. 
 

Gabrelik

Almighty Maker of Sandwiches
Veteran
Joined
Aug 29, 2015
Messages
772
Reaction score
1,285
First Language
English
Primarily Uses
RMMV
Awesome. I will definitely test this out as soon as I can. Thank you for this contribution! 
 

Lionheart_84

Veteran
Veteran
Joined
Oct 27, 2015
Messages
493
Reaction score
44
First Language
Italian
Primarily Uses

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
943
Reaction score
764
First Language
English
Primarily Uses
N/A
@Lionheart_84 


You can't, not yet. I made this with English-speakers or English-based games in mind, I suppose if you were making a game in another language you'd want the option to change that. 


Will work on it.
 

Lionheart_84

Veteran
Veteran
Joined
Oct 27, 2015
Messages
493
Reaction score
44
First Language
Italian
Primarily Uses
@Lionheart_84 


You can't, not yet. I made this with English-speakers or English-based games in mind, I suppose if you were making a game in another language you'd want the option to change that. 


Will work on it.


Ah, ok ... !!! I changed a little bit all the words ... but just could not find the word "REPLY" !!! :D


So ... will be your next update ???  ;)
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
943
Reaction score
764
First Language
English
Primarily Uses
N/A
update 1.01


Added option to use a custom background and change the replay window's command text.


The main download has been updated.
 
Last edited by a moderator:

nandaron

currently doing voice work
Member
Joined
Jan 22, 2017
Messages
12
Reaction score
6
First Language
English
Primarily Uses
RMMV
Hi mjshi, Hi all, this is my first post on the forums, so hopefully all goes well.


First off, really enjoy this plugin. I am however running into some issues with the Prize Window. I am using a whole slew of plug-ins, two of which I think are causing some issue with your plug-in. The first is Yanfly's core engine, particularly the screen resolution bit. And the second is Masked' ScreenZoom. 


Your plug-in works as intended. The only issue is that the Prize Window alignment and spacing are really spread out. The cards would also be like this, however you've added nifty setting for the x and y offset, and personal space. As a request, would it be a lot to add alignment controls for the prize window as well? or is there a simple bit of code I could add to this part of the code: "Scene_MatchCardLottery.prototype.createPrizeWindow = function() {"


I am new to programming so I am a little lost on how to modify things.


Any help anyone could provide would be appreciated. Thanks![
 
Last edited by a moderator:

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
943
Reaction score
764
First Language
English
Primarily Uses
N/A
@nandaron


I'll add plugin parameters for that when I have time (currently, the next two, three weeks will be a bit busy) but for now, here you go!


It's an annotated picture of the prize window things. The red text is the stuff that might be relevant to you in terms of editing it.


 

Lionheart_84

Veteran
Veteran
Joined
Oct 27, 2015
Messages
493
Reaction score
44
First Language
Italian
Primarily Uses
update 1.01


Added option to use a custom background and change the replay window's command text.


The main download has been updated.




Thank you!!! :guffaw: I appreciate very much that you have accepted my advice !!! :guffaw:


Thanks for updating the command window !!! :guffaw:
 

nandaron

currently doing voice work
Member
Joined
Jan 22, 2017
Messages
12
Reaction score
6
First Language
English
Primarily Uses
RMMV
@nandaron


I'll add plugin parameters for that when I have time (currently, the next two, three weeks will be a bit busy) but for now, here you go!


It's an annotated picture of the prize window things. The red text is the stuff that might be relevant to you in terms of editing it.


This is very, very helpful. Thanks and again, thanks for the plugin!
 

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

Latest Threads

Latest Profile Posts

Hi, there.
I'm Creta Park, as Software engineer and Indie game developer.

Profile : creft.me/cretapark
GitHub : github.com/creta5164
Blog : creta5164.tumblr.com


My stuff

Who shares/sells their scripts/plugins on itch.io? Can I pick your brain?
If you ever need fantasy names and you're bored, make a fictional alphabet. Switch around the letters and see what you get :p
I JUST GOT PROMOTED TO 9TH GRADE BOIS!

Forum statistics

Threads
98,168
Messages
949,923
Members
129,455
Latest member
DeathByPiercing
Top