<Version 1.2> Whatever else needs to be fixed at this point.
Description This script allows you to play an old retro game called pong in your game. It would generally be used as a mini game of some sorts, or just a plain old easter egg.
Pong is a game featuring two players and a ball, the ball moves back and forth from one player to the other and the objective is to never miss the ball. If you miss the ball, your opponent will score a point and the same goes for you, should the opponent miss the ball. The first person to score 6 points will win the match.
Minigame to add for your actual game, can be used for multiple things. A game master challenge using this script along with others comes to mind.
Can set your own sprites and music to be used for the minigame, you also chose the sprite dimensions, which means that you can play against a brick wall if you so desire.
A command list that can be accessed in the minigame at any time, allowing you to make changes if you're losing to gain that edge you need to win (or to make the game harder if you swing that way).
Allows you to set a variable count which you can use in other events to give items or ridicule to the player depending on how they're fairing in the minigame.
Instructions Instructions are inside the script, but for immediate need to know:
Paste the script under Materials but above Main in your script editor
Either copy the sprites in the attachments or create your own and place them in the pictures folder where your game is located on your computer.
You can change the names of the sprite images in the editable region.
You can use In Game Variable to manage the wins and losses count conditions the same way you would use a variable in an event.
Call the game by using a script command with this line of code. $scene = Pong_Scene.new
Script Too Large to put in a code box. Get it at Pastebin
Modern Algebra - for helping me with sprite dimensions (I didn't think using 'zoom_x / zoom_y' could be used to zoom out of a sprite )
Support Post in this thread or PM me.
Known Compatibility Issues There should be no compatibility issues.
Demo A demo is unnecessary for a script such as this.
Author's Notes This script is pretty much a port of my C++ Pong Game code (albeit with much more stuff and better code), if you are interested in seeing what it looks like, it can be found here
This post has been edited by diamondandplatinum3: Sep 1 2012, 06:44 AM