RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
How to do a "5 card-draw Poker" & slot-machine casino game event?

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 80
RMRK Junior
Does anyone know how to do a "5 card-draw Poker" & slot-machine casino mini-game event?
I need it for my Dragon Warrior 4 remake. And please don't respond with "figure it out yourself!"
I wouldn't be asking for help if it were that simple. Remember, I'm a noob.

*
A Random Custom Title
Rep:
Level 96
wah
Figure it out yourself. >_> If you know ANYTHING about eventing, you should be able to do this albeit inefficiently or not right on the first time (given that you're fairly bad at eventing). I won't tell you how to do it completely, but I'll at least guide you.

Just take it in steps:
- For your poker game, just start out by creating a system that registers which card you have in your hand. Think of ways on your own and expand your own knowledge and experience. Then, you'll need to find visuals to represent that and event that part of the system.

Then run conditional branches for checks to see what cards you have in your hand and what kind of pairs or three-of-a-kinds or straights or whatever you have.

- For your slot machine, start out the same way. Set up a certain order for each slot machine reel and start out with eventing and designing (the visuals) the reels themselves; just try to make it so you can see the icons on the reel and can have RPG Maker return a value that corresponds to the icon.

Then, you can run conditional branches into your system to check for icons that are three in a row. Obviously doing just one row would be easiest, but you can do diagonals and whatever else you want.

If you didn't understand what I said, I suggest you learn eventing.

**
Rep: +0/-0Level 80
RMRK Junior
As for graphics, I found a set of sprites for the cards, including flipping animations, and they came with
both poker & slot screens. But I don't know what to store them & use them as. The 2 screens came with the sprite set, so the whole thing is pretty huge. But the biggest problem is that even when I saved it as a 256 color Bitmap, it still gave me the finger & said "unsupported PNG image". What the hell is up with that? It's supposed to support 256 color PNG images & it's saying it's unsupported? Any way to get around this? And what should I use the sprites as; char sets, pictures, etc.?

***
Rep:
Level 87
Embrace the stillness of eternity.
But the biggest problem is that even when I saved it as a 256 color Bitmap, it still gave me the finger & said "unsupported PNG image". What the hell is up with that? It's supposed to support 256 color PNG images & it's saying it's unsupported?

Save it as a PNG, not a bitmap.