Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic Reply to topic  [ 5 posts ] 
    leadbelly
  Thu May 05, 2011 11:09 pm
www.myspace.com/arexthetrex
User avatar
Member


Location: Canada
Im making a mini-game where you have to click the direction key, depending on what the picture tells you to press.

Could you maybe use variables to randomly choose the image to pop up. ( the image being an arrow facing up, down, left, or right ) And than if the timer reaches 0, you lose the item that even let you begin to start the mini-game.

Can anyone help? :!: :heart: :!: :heart:

_________________
-Rextopher
Cannabis
Hash
Tobacco
K
MdMa
Shrooms
Sedative
Ecstasy
Acid
Meth
Morphine
Salvia
http://WWW.MYSPACE.COM/AREXTHETREX[/color][/size]<--- check out the music and add ! =D


Top Top
Profile      
 

    Amy
  Thu May 05, 2011 11:14 pm
User avatar
Staff

Big Dumb Guy
set variable - random value between 0 and whatever

conditional branch: if variable is 1
show picture 1
else if variable is 2
show picture 2

That's the long and tedious way.

It could be done faster with scripts but you'd have to know how to script or request it...

Timer - there's an event command for that, there's also an event command to remove an item; again conditional branch (timer is off).

Hope that helps.


Top Top
Profile      
 

    leadbelly
  Thu May 05, 2011 11:34 pm
www.myspace.com/arexthetrex
User avatar
Member


Location: Canada
didnt work properly...

_________________
-Rextopher
Cannabis
Hash
Tobacco
K
MdMa
Shrooms
Sedative
Ecstasy
Acid
Meth
Morphine
Salvia
http://WWW.MYSPACE.COM/AREXTHETREX[/color][/size]<--- check out the music and add ! =D


Top Top
Profile      
 

    Draycos Goldaryn
  Wed May 11, 2011 5:12 pm
The Goldyn Scaly One
User avatar
Member


Location: My own Phantasy Realm
try something like this:

event page


Obviously some modification will need to be made on your end, but what that should do, is set a random value from 1 to 4 to a variable. You can then make it Show a Picture based on the variable. then it will multiply the variable by 2 to match the required direction button that needs to be pressed. Then you start the timer. using a loop, you use Button Processing to assign the pressed button to a second variable. then check to see if that variable matches the first, if so, have it do whatever you want it to, stop the time, and break the loop. Also add a check in the loop to see if the timer is 0min, 0sec or less and if so, have it remove the required item and break the loop.

_________________
Scripts that I made

And now for some fun:
Popular Quotes with a Goldaryn Twist! (Updated 2011-08-25)


Top Top
Profile      
 

    Apidcloud
  Sun May 15, 2011 12:21 pm
User avatar
Member

Well, Moghunter did one minigame like that by scripting I guess...you should find at atelier rgss ^^

See you


Top Top
Profile      
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

We are an independent, not-for-profit game making community.
Homepage
Board Index
About Us
Downloadable Games
Free Browser Games
Games in Development
RPG Maker Support
Game Maker Support
Construct 2 Support
HBGames the eZine
Advanced RPG Maker
Site Announcements
Powered by phpBB © phpBB Group