The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: dricc on June 30, 2011, 08:57:55 AM

Title: [A Scripter Tool]heads or tails scene
Post by: dricc on June 30, 2011, 08:57:55 AM
I would like a to have a "Heads or Tails" scene for one of my script (a card game) . Like the classic game , nothing more . If it is animated , it will be perfect .
The result will be stored for exemple in $game_temp (or anywhere else i can take the result : a switch or variable) .

I can make this myself but i will be quicker if someone already made this .
If you have something not finished , i am also interested .
And if you just have the coin in picture , also .
Title: Re: [A Scripter Tool]heads or tails scene
Post by: dricc on July 13, 2011, 04:56:58 PM
UP .
Really , nobody has ever seen this kind of scene ?
OK , maybe something like a shifumi scene ? Or anything i can use to choose which player start first .
Title: Re: [A Scripter Tool]heads or tails scene
Post by: modern algebra on July 13, 2011, 06:59:25 PM
Well, it would be very easy to script, but I have never seen one before. Zeriab's Dialog System (http://rmrk.net/index.php/topic,24828.0.html) would be ideal for the task. I can do it just after work if you want it. The hardest part would be getting the graphic.
Title: Re: [A Scripter Tool]heads or tails scene
Post by: Countdown on July 13, 2011, 08:00:28 PM
Sounds pretty easy thing to do with a common event and a couple animations and a variable.

Have a variable set to a random number between 1 and 2, and depending on which it is, have it play the proper animation and just use the variable as your set thing.
Title: Re: [A Scripter Tool]heads or tails scene
Post by: modern algebra on July 13, 2011, 08:40:36 PM
It is very easy to do with an event, but I think dricc wants it available inside other scripted scenes, such as menus and the like. Doing it with an event would require it to be in battle or on the map.
Title: Re: [A Scripter Tool]heads or tails scene
Post by: Countdown on July 13, 2011, 09:03:56 PM
Right you are. But yeah, it would be easy with an event. How easy would it be to script, just curious?
Title: Re: [A Scripter Tool]heads or tails scene
Post by: Sashikinaroji on July 14, 2011, 06:17:25 AM
just as easy. it's just a matter of getting it where it needs to go that gets tough... although I am not quite sure what the OP wanted this for, it doesn't seem like it would take much more than what the event would take... The only difference is that the event would be easier for playing the animation.

As for the graphic: if you tell me what coin it is, I may or may not (RE: read my siggy) help you with making the graphic. That is, if you want a custom coin, tell me and I'll try and make it if I don't forget/decide not to do it.
Title: Re: [A Scripter Tool]heads or tails scene
Post by: dricc on August 03, 2011, 02:12:06 PM
Thanks for your help .
Ok , i will made it myself . this is an easy scene ... but it takes time .
For my card game , this is the only thing missing now (with a less predictable AI) .
Title: Re: [A Scripter Tool]heads or tails scene
Post by: Sashikinaroji on August 03, 2011, 08:12:02 PM
yeah... I did do it, but I forgot what your topic was called...


soo.... yeah.

Anyways, I have two versions because I honestly forgot which version you were using... And I tried to implement it, but I haven't had any luck thus far with using an event... You might need to actually animate it manually...
Title: Re: [A Scripter Tool]heads or tails scene
Post by: dricc on August 04, 2011, 08:34:31 AM
I use VX .
Thanks .
Title: Re: [A Scripter Tool]heads or tails scene
Post by: Countdown on August 04, 2011, 01:51:08 PM
I was thinking that the coin might actually work better as a battle animation?
Title: Re: [A Scripter Tool]heads or tails scene
Post by: dricc on August 04, 2011, 02:42:08 PM
I am still thinking about "how i will do this" .
My first idea was to have 2 pictures : heads and tails and use the "stretch_blt" function in a scene (with this function, i can gradually reduce the height) .
But Sashikinaroji pictures have a nice shadow effect i cannot have with my first idea .