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.
[A Scripter Tool]heads or tails scene

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 83
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 .
« Last Edit: June 30, 2011, 03:31:27 PM by dricc »
You can use my scripts freely . but not for commercial use .
:ccbync:
Don't encrypt your game !!!
Want to give me credit ? Easy ,add me in your game :

**
Rep:
Level 83
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 .
You can use my scripts freely . but not for commercial use .
:ccbync:
Don't encrypt your game !!!
Want to give me credit ? Easy ,add me in your game :

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Well, it would be very easy to script, but I have never seen one before. Zeriab's Dialog System 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.
« Last Edit: July 13, 2011, 07:05:56 PM by modern algebra »

****
Rep:
Level 84
3...2...1...
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.

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
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.

****
Rep:
Level 84
3...2...1...
Right you are. But yeah, it would be easy with an event. How easy would it be to script, just curious?

****
Hey... my name's... Sashikinaroji...
Rep:
Level 83
fear me...
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.
Ok, DON'T EXPECT HELP FROM ME~! I will perhaps rant a bit, but don't expect me to do graphics for you, even if I say I will... I won't.

**
Rep:
Level 83
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) .
You can use my scripts freely . but not for commercial use .
:ccbync:
Don't encrypt your game !!!
Want to give me credit ? Easy ,add me in your game :

****
Hey... my name's... Sashikinaroji...
Rep:
Level 83
fear me...
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...
Ok, DON'T EXPECT HELP FROM ME~! I will perhaps rant a bit, but don't expect me to do graphics for you, even if I say I will... I won't.

**
Rep:
Level 83
I use VX .
Thanks .
You can use my scripts freely . but not for commercial use .
:ccbync:
Don't encrypt your game !!!
Want to give me credit ? Easy ,add me in your game :

****
Rep:
Level 84
3...2...1...
I was thinking that the coin might actually work better as a battle animation?

**
Rep:
Level 83
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 .
« Last Edit: August 04, 2011, 02:45:58 PM by dricc »
You can use my scripts freely . but not for commercial use .
:ccbync:
Don't encrypt your game !!!
Want to give me credit ? Easy ,add me in your game :