Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: coreystranick on June 13, 2009, 04:33:35 PM

Title: help with cooking game
Post by: coreystranick on June 13, 2009, 04:33:35 PM
Ok, well I am making a game that requires you tochop food and such. Then the quality is based off what you did.

how would I be able to make it so you can press the button lets say C, and record how many times you hit it, then if it is within a certain range it is great,good, bad,
Title: Re: help with cooking game
Post by: Prpl_Mage on June 13, 2009, 08:04:41 PM
This shouldn't be so hard.
Just have an event with key input thingy.
Have a conditional branch check if you pressed the right button.
If yes: Add 1 to a variable.
Wait command "0,2"(or something, based on the animation).

In the end of the thing(when the time runs out) have a conditional branch see if the variable is 'less than or equal to' a certain number for "Bad".  'Greater than or equal to' a certain value for "Great jorb!" and then the else handler for "Good".
In other words as an example:  If 5 or below: bad. If 10 or more: great. If none of those are right(6-9): good.

I hope you get it.
Title: Re: help with cooking game
Post by: coreystranick on June 14, 2009, 03:00:37 AM
yup got it, thanks Prpl.