Demo
http://filefactory.com/file/a2g188g/n/Tutorial.exe
(scroll down, click the DOWNLOAD NOW and wait a bit) I don't realy like this but it's the only site I found I could upload and download the demo...
Statement
I've made a neat little mini game for my game, thought I would share it. It is inspired from a very old game I once played, called something along the lines of "Winter Olympics"... I'm sure the concept has been done since many times, so here is my method of implementing it into RPG Maker XP (havn't touched VX, same principals could apply?)
If you use this, I would appreciate if you credit me and let me know via PM or posting in this topic.
Demo is available if I can find a place to upload it too. I tried the rpgrevolution upload thing but It doesn't work... so i'm afraid the true bueaty of this post wont be appreciated till people play the demo.
Mini-Game Concept
You have a cross hair that is darting around the screen randomly, and a target to hit. By using the arrow keys, try to get a bullseye! Possible uses include Hostage situations, Still targets (although not penned down, I could explaion how to do this for moving targets).
How it's done
1. Create a Cross Hair picture (call it "Cross Hair", and a Target picture called "Target") import these into the game as 'pictures'
2. Create 4 Variables;
~CrossHair X Position
~CrossHair X Neg or Pos
~CrossHair Y Position
~CrossHair Y Neg or Pos
3. Create a switch called "Assasination attempt"
Easy part done. Now here comes a harder part.
[Show/Hide] Click
Thats the second part done. But you need to find out where you want players to be shooting! (The Hardest Part)
Determine Where the Bullseye is
[Show/Hide] Click
Variations
As stated right up the top, you could do this with moving targets, it would mean the Bulls Eye has to move, and you should probably set up a variable for the 'Upper Left', 'Upper Right' etc, becuase it will be constantly changing, and have the Succes event refer to these variables
Why should the cursor be a little red circle? Perhaps it should be Iron sights of a gun, or a crossbow with a cross hair. This would mean the Cross Hair absolute center wouldn't count unless u made the picture to the right scale.
There could also be multiple "Bulls Eye" sections (like a Dart Board) so if your shot didnt qualify for a "bullseye", it might for the next ring, or ring after that etc. Also, a shot could leave an image of a bullet hole (if it hit the "Target")
Becuase my game is still in development stage, I point out these Variations becuase I may use them in my game or not, and I want to be able to take credit for them.
If this didn't make sense, I would be happy to answer questions.




