Galv's MV Invader Mini Game
In Development
Howdy, all. I am working on a rather large plugin project and I thought I would share for those interested in it's progress and for people to post any suggestions or questions about it.
The Grand Plan
I wrote a top-down shooter mini game for VX Ace. It was very simple and didn't offer much in the way of customization. My plan for the MV version, however, is to make it significantly more advanced - to the point where it could be used for more than just a "mini game". I'll talk about my plans for the plugin below, which could change as development continues so I shall edit accordingly.
Detailed Customization Rundown
Spoiler
Levels
Levels will be made up of "Phases" (further below). You can set up these phases individually to either have a time limit or enemy kill requirement before it moves onto the next phase.
Once all the phases have been completed, the level will end and take the player back to the main RPG where MV user can use data from the mini game in eventing.
Each level can have individual settings:
- Level name displayed on level start
- Splash image that displays with name
- Victory/failure messages
- Victory/failure ME's
- Timer delays - before first phase and before mini game end results
- Continue map music Yes/No
- Level records such as time taken, score, kill count, wins/losses
Phases
Each phase will have it's own settings to control what happens when the player is in that phase of a level:
- Phase name displayed when the phase begins
- Splash image that displays with name
- Specify SE, BGM and BGS to play on phase start
- Layer data - layer graphics displayed during phase (above or below ships) which can have their own movement settings.
- Boundry Damage - if player hits side of screen, optionally bounce off and take damage
- Length - Specify how long the phase will last before next phase
- Enemy Limit - Specify how many enemy kills will trigger next phase
- Timer delays - delay before next phase starts, random delay between enemy spawns
- Enemy/Powerup - random frequency of spawns, specify enemy and powerup lists to randomize between
Objects
Objects refers to pretty much anything that can appear while playing a mini game (Player ships, enemies, powerups, inanimate objects such as asteroids).
- Name/Description/Id - used in scenes where the objects are viewed
- Animated graphic filesheet - set up in 3 rows with frames (columns) and animation speed specified individually for each object.
- Hit box - rectangle that will cause collision with opponents.
- x/y starting locations, x/y screen movement limitations (to keep certain objects on certain parts of screen)
- Movement AI (controls how object/enemy moves around)
- Collide settings (animation played, damage taken, item received, score increase, and more when player collides with)
- Destroyed settings (similar settings to collide but used when player destroyes object with a weapon and not collision)
- Power supply - controls how much energy output worth of modules it can equip
- Equip slots
Equip slots have x,y coords for equipment or 'module' graphics to display at on the object.
They can also have size and type settings which control which modules a player can equip to each slot
Modules
- Name/Description/Id - used in scenes where the objects are viewed
- Animated graphic filesheet - to be set up to match the ship object they are equipped to.
- Size and type - used to determine which ship slot it can be equipped to.
- Energy requirement - Amount of energy used from the Power Supply to determine if it can be equipped to ship
- Hit points, shield points, speed bonus, energy bonus for ship
- IF MODULE IS A WEAPON:
- Projectile graphic, speed, amount of projectiles fired, what angles they are fired at
- Damage to shields, damage to hit points
- Ignore shields and go straight for hit points setting
- Rate of fire
Modules can range from weapons, armor, power supplies, shield generators, and more - you create the them using all the above settings so it's up to you!
Levels
Levels will be made up of "Phases" (further below). You can set up these phases individually to either have a time limit or enemy kill requirement before it moves onto the next phase.
Once all the phases have been completed, the level will end and take the player back to the main RPG where MV user can use data from the mini game in eventing.
Each level can have individual settings:
- Level name displayed on level start
- Splash image that displays with name
- Victory/failure messages
- Victory/failure ME's
- Timer delays - before first phase and before mini game end results
- Continue map music Yes/No
- Level records such as time taken, score, kill count, wins/losses
Phases
Each phase will have it's own settings to control what happens when the player is in that phase of a level:
- Phase name displayed when the phase begins
- Splash image that displays with name
- Specify SE, BGM and BGS to play on phase start
- Layer data - layer graphics displayed during phase (above or below ships) which can have their own movement settings.
- Boundry Damage - if player hits side of screen, optionally bounce off and take damage
- Length - Specify how long the phase will last before next phase
- Enemy Limit - Specify how many enemy kills will trigger next phase
- Timer delays - delay before next phase starts, random delay between enemy spawns
- Enemy/Powerup - random frequency of spawns, specify enemy and powerup lists to randomize between
Objects
Objects refers to pretty much anything that can appear while playing a mini game (Player ships, enemies, powerups, inanimate objects such as asteroids).
- Name/Description/Id - used in scenes where the objects are viewed
- Animated graphic filesheet - set up in 3 rows with frames (columns) and animation speed specified individually for each object.
- Hit box - rectangle that will cause collision with opponents.
- x/y starting locations, x/y screen movement limitations (to keep certain objects on certain parts of screen)
- Movement AI (controls how object/enemy moves around)
- Collide settings (animation played, damage taken, item received, score increase, and more when player collides with)
- Destroyed settings (similar settings to collide but used when player destroyes object with a weapon and not collision)
- Power supply - controls how much energy output worth of modules it can equip
- Equip slots
Equip slots have x,y coords for equipment or 'module' graphics to display at on the object.
They can also have size and type settings which control which modules a player can equip to each slot
Modules
- Name/Description/Id - used in scenes where the objects are viewed
- Animated graphic filesheet - to be set up to match the ship object they are equipped to.
- Size and type - used to determine which ship slot it can be equipped to.
- Energy requirement - Amount of energy used from the Power Supply to determine if it can be equipped to ship
- Hit points, shield points, speed bonus, energy bonus for ship
- IF MODULE IS A WEAPON:
- Projectile graphic, speed, amount of projectiles fired, what angles they are fired at
- Damage to shields, damage to hit points
- Ignore shields and go straight for hit points setting
- Rate of fire
Modules can range from weapons, armor, power supplies, shield generators, and more - you create the them using all the above settings so it's up to you!
Latest Development Demonstration Video (Video #4)
Future plans
Player Interaction Scene
An in-game scene to allow the player to view and select ships from the ship objects he/she has collected during your RPG (or you have given via script commands) and to equip/unequip modules to their ships.
This scene is still pending design.
Interactive Setup
As the setup of levels, phases, modules/weapons, layers, objects, etc. is going to get quite complicated, I plan on writing a javascript app that can be run in a web browser that will allow people to set up these things using a button-pressing interface.
This will output code for players to copy/paste over into script calls. The design of this is also pending.
Graphics
I want to add a decent amount of default graphics for people to use with the plugin.
I will be creating these but if anyone wants to contribute some for others to use, please let me know and I'll see add some example templates to use here.
Keep in mind, however, I do plan on making this plugin not free for commercial projects.
Support This Project
This project has already taken a fair amount of time and there's still a lot to do. If you're interested in supporting me in the development, please consider becoming a patron.
Any patrons who choose the 'Protagonist' tier (for at least 1 month during development) will have permission to use the plugin in all of their own commercial projects.
ALPHA plugin demo released
http://galvs-scripts.com/project-invader-mini-game/