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.
V's Gambling Man v1.1

0 Members and 1 Guest are viewing this topic.

*
Rep:
Level 52
RMRK Junior
V's Gambling Man
Written by Vindaca

Introduction

This script allows you to call a min-game via a script call. The mini-game is a very basic game, if the dealer ties or beats your hand you loose, otherwise "You Won!". I've allowed you to call the game whatever you want and select between the number of cards used(up to 5), set the costs, and the rewards, The card images and background can be found at the same link as the screenshot or you can download the demo. If you can't find the script call in the script then here it is SceneManager.call(GambleScene) . hope you have fun.

Features
Spoiler for:

- v1.0

In v1.0, this script allows you play a card mini-game

- v1.1   

In v1.1, I've added more to the winning and losing screens. I added a option
to show the lead party members face. I've also added winning/losing phrases.
you can add as many as you want, just remember to add "" marks before and
after each one and add a "," after every phrase except the last one.
 

Screenshots


Here is a link to the window.


How to Use

Copy and paste the script under the Materials section and above the Main section and import the card images and bg from the link in the "Screenshot" spoilers into the Graphics/Pictures folder.  I will make a demo for it shortly if needed. You can access the game by using SceneManager(GambleScene)
in a script call.

Script

This script is too long for now, so here is a link to the script

Demo

Here is a link to the Demo

FAQ

Q: I keep getting an error?

A: Make sure you have imported all of the card and background pictures into the Graphics/Pictures folder.

Q: Where can I find the pictures I need to use this script?

A: http://imageshack.us/g/1/10092620/

Q: What is the script call to use this mini-game

A: SceneManager.call(GambleScene)
Credit and Thanks
- Vindaca here saying thank you to all who have inspired someone. If you plan on using this script please credit me in your games credits. This script was not intended for commercial use.

- Special Thanks to:

Diamondandplatinum3 on youtube for the great tutorials
Tsukihime for helping with a few questions


 
 
Quote
Most of the things we write down, we should say out loud. Most of the things we say out loud we shouldn't say at all.
« Last Edit: April 06, 2013, 03:44:00 AM by vindaca »
Spoiler for "More About Vindaca":

Spoiler for "General Prices":
You can also build packages containing multiple resources. (Package prices are not included.)


Music

Basic Songs = $20 - $50 USD
Advanced Songs = $100+


Graphics
32 x 32, 4 Directional Sprite = $7 USD each / $50 USD per sheet
64 x 32, 4 Directional Sprite = $10 USD each / $60 USD per sheet
Backgrounds = $10 - $40 USD
Tilesets = $5 each / $20 - $50 USD per group
(depending on types of tilesets)
Iconset = $5 each / $35 - $80 if buying more then 10
(depending on quantity)
Windowskins = $7 each


Animations
Titles = $20+ USD (Depending on complexity)
Backgrounds= $20+ USD (Depending on complexity)
Regular Evented Scenes = $40+ USD each (Depending on complexity)
Parallax Scenes = $60+ USD each (Depending on complexity)
CG  = $300+ USD (Depending on complexity)
Maps

Basic Map Design = $7 USD each
Advanced Map Design = $10+ USD (Depending on complexity)
Scripts

Basic Custom Menu Script = $60 - $100 USD
More Advanced Menu Script = $120 - $300 USD (Animated, ext.)
Mini-games = $100 - $300 USD (Depending on complexity)
I am willing to build a custom card game if specifications are given Commissioned out E.T.A. 3 - 6 months
Battle Systems = $100 - $300 USD (Depending on complexity) Commissioned out E.T.A. 3 - 6 months
Others Scripts = $80 - $300 USD (Depending on complexity)

We are also willing to build games for you with as little or as much direction as you want. (Prices vary depending on complexity of game)
If you want to use your resources in multiple titles there is an additional charge of half the cost of the resource. (Prices vary depending on packages)
I require half of the total cost of any projects up front and the other half before completion.
If a project is finished and not picked up within 1 month of notification,
your resources will be resold and no money will be refunded.


**
Rep: +0/-0Level 55
RMRK Junior
Looks good! I wish you would just turn/expand this to a regular blackjack script, since I think many players would like to add blackjack instead of "some card game" (no offense, but even you haven't titled the game itself ;) to their projects =)

*
Rep:
Level 52
RMRK Junior
LOL. I'm going to make more types of card games, like 5 Card Poker, Blackjack, War, and maybe even Go Fish, that's why I didn't use "High or Low" for the title. I just wanted to see if I could do it, I like to challenge myself.
Now I need to focus on shorting my scripting code.
Spoiler for "More About Vindaca":

Spoiler for "General Prices":
You can also build packages containing multiple resources. (Package prices are not included.)


Music

Basic Songs = $20 - $50 USD
Advanced Songs = $100+


Graphics
32 x 32, 4 Directional Sprite = $7 USD each / $50 USD per sheet
64 x 32, 4 Directional Sprite = $10 USD each / $60 USD per sheet
Backgrounds = $10 - $40 USD
Tilesets = $5 each / $20 - $50 USD per group
(depending on types of tilesets)
Iconset = $5 each / $35 - $80 if buying more then 10
(depending on quantity)
Windowskins = $7 each


Animations
Titles = $20+ USD (Depending on complexity)
Backgrounds= $20+ USD (Depending on complexity)
Regular Evented Scenes = $40+ USD each (Depending on complexity)
Parallax Scenes = $60+ USD each (Depending on complexity)
CG  = $300+ USD (Depending on complexity)
Maps

Basic Map Design = $7 USD each
Advanced Map Design = $10+ USD (Depending on complexity)
Scripts

Basic Custom Menu Script = $60 - $100 USD
More Advanced Menu Script = $120 - $300 USD (Animated, ext.)
Mini-games = $100 - $300 USD (Depending on complexity)
I am willing to build a custom card game if specifications are given Commissioned out E.T.A. 3 - 6 months
Battle Systems = $100 - $300 USD (Depending on complexity) Commissioned out E.T.A. 3 - 6 months
Others Scripts = $80 - $300 USD (Depending on complexity)

We are also willing to build games for you with as little or as much direction as you want. (Prices vary depending on complexity of game)
If you want to use your resources in multiple titles there is an additional charge of half the cost of the resource. (Prices vary depending on packages)
I require half of the total cost of any projects up front and the other half before completion.
If a project is finished and not picked up within 1 month of notification,
your resources will be resold and no money will be refunded.


**
Rep: +0/-0Level 55
RMRK Junior
LOL. I'm going to make more types of card games, like 5 Card Poker, Blackjack, War, and maybe even Go Fish, that's why I didn't use "High or Low" for the title. I just wanted to see if I could do it, I like to challenge myself.
Now I need to focus on shorting my scripting code.
That's nice to hear (or read) !

I evented a whole functional blackjack game in a common event, but it's just such a hassle, especially if I think about the people who haven't had much experience with game creation software before and wanted to implement a game like this.

*
Rep:
Level 52
RMRK Junior
This game was actually a very complex common event, that i made when I first started making games. Now that i wanted to try scripting I figured I'd try to write a script for it. Like I said I'm still very new and I know a lot of it can be shortened, but I'm getting there. I'm still learning new things everyday. 
Spoiler for "More About Vindaca":

Spoiler for "General Prices":
You can also build packages containing multiple resources. (Package prices are not included.)


Music

Basic Songs = $20 - $50 USD
Advanced Songs = $100+


Graphics
32 x 32, 4 Directional Sprite = $7 USD each / $50 USD per sheet
64 x 32, 4 Directional Sprite = $10 USD each / $60 USD per sheet
Backgrounds = $10 - $40 USD
Tilesets = $5 each / $20 - $50 USD per group
(depending on types of tilesets)
Iconset = $5 each / $35 - $80 if buying more then 10
(depending on quantity)
Windowskins = $7 each


Animations
Titles = $20+ USD (Depending on complexity)
Backgrounds= $20+ USD (Depending on complexity)
Regular Evented Scenes = $40+ USD each (Depending on complexity)
Parallax Scenes = $60+ USD each (Depending on complexity)
CG  = $300+ USD (Depending on complexity)
Maps

Basic Map Design = $7 USD each
Advanced Map Design = $10+ USD (Depending on complexity)
Scripts

Basic Custom Menu Script = $60 - $100 USD
More Advanced Menu Script = $120 - $300 USD (Animated, ext.)
Mini-games = $100 - $300 USD (Depending on complexity)
I am willing to build a custom card game if specifications are given Commissioned out E.T.A. 3 - 6 months
Battle Systems = $100 - $300 USD (Depending on complexity) Commissioned out E.T.A. 3 - 6 months
Others Scripts = $80 - $300 USD (Depending on complexity)

We are also willing to build games for you with as little or as much direction as you want. (Prices vary depending on complexity of game)
If you want to use your resources in multiple titles there is an additional charge of half the cost of the resource. (Prices vary depending on packages)
I require half of the total cost of any projects up front and the other half before completion.
If a project is finished and not picked up within 1 month of notification,
your resources will be resold and no money will be refunded.


**
Rep: +0/-0Level 55
RMRK Junior
This game was actually a very complex common event, that i made when I first started making games. Now that i wanted to try scripting I figured I'd try to write a script for it. Like I said I'm still very new and I know a lot of it can be shortened, but I'm getting there. I'm still learning new things everyday.
That's the way to go =) I think those who use your scripts certainly appreciate that. The only thing keeping me from learning to script beyond my little bit of Ruby knowledge is that most scripts I would love to use are already out there and written by people who know what they're doing ^^

Sorry for spamming your thread, though! Will shut up now =)

*
Rep:
Level 52
RMRK Junior
I added a demo if anyone is interested.
Spoiler for "More About Vindaca":

Spoiler for "General Prices":
You can also build packages containing multiple resources. (Package prices are not included.)


Music

Basic Songs = $20 - $50 USD
Advanced Songs = $100+


Graphics
32 x 32, 4 Directional Sprite = $7 USD each / $50 USD per sheet
64 x 32, 4 Directional Sprite = $10 USD each / $60 USD per sheet
Backgrounds = $10 - $40 USD
Tilesets = $5 each / $20 - $50 USD per group
(depending on types of tilesets)
Iconset = $5 each / $35 - $80 if buying more then 10
(depending on quantity)
Windowskins = $7 each


Animations
Titles = $20+ USD (Depending on complexity)
Backgrounds= $20+ USD (Depending on complexity)
Regular Evented Scenes = $40+ USD each (Depending on complexity)
Parallax Scenes = $60+ USD each (Depending on complexity)
CG  = $300+ USD (Depending on complexity)
Maps

Basic Map Design = $7 USD each
Advanced Map Design = $10+ USD (Depending on complexity)
Scripts

Basic Custom Menu Script = $60 - $100 USD
More Advanced Menu Script = $120 - $300 USD (Animated, ext.)
Mini-games = $100 - $300 USD (Depending on complexity)
I am willing to build a custom card game if specifications are given Commissioned out E.T.A. 3 - 6 months
Battle Systems = $100 - $300 USD (Depending on complexity) Commissioned out E.T.A. 3 - 6 months
Others Scripts = $80 - $300 USD (Depending on complexity)

We are also willing to build games for you with as little or as much direction as you want. (Prices vary depending on complexity of game)
If you want to use your resources in multiple titles there is an additional charge of half the cost of the resource. (Prices vary depending on packages)
I require half of the total cost of any projects up front and the other half before completion.
If a project is finished and not picked up within 1 month of notification,
your resources will be resold and no money will be refunded.