Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [-VX-] Pong Minigame, A Minigame for your Game
diamondandplatin...
post Jun 30 2012, 02:52 PM
Post #1


Level 5
Group Icon

Group: Member
Posts: 72
Type: Writer
RM Skill: Skilled
Rev Points: 45




My first game that I ever made in C++ was Pong, so it seems only fitting that my first ever Ruby script be Pong as well smile.gif

Pong Game

Version: 1.1
Author: DiamondandPlatinum3
Date: July 1, 2012



Planned Future Versions
  • <Version 1.1> Input a menu and Score. Check laugh.gif
  • <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.



Features
  • 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.




Screenshots
screenshots








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



Credit
  • DP3 / DiamondandPlatinum3




Thanks
  • mcf_10 - for requesting the script
  • Zylos - Because I used his Mastermind Script as a template for my own.
  • 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. smile.gif



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



Terms of Use
If you can find a use for it, this script is free to use in non-commercial games. If you want to use this script in a commercial game, please understand that I expect a free copy (that's means you PM me and let me know that you plan on using it for a commercial game).


This post has been edited by diamondandplatinum3: Sep 1 2012, 06:44 AM
Attached File(s)
Attached File  Ball_Sprite.png ( 149.38K ) Number of downloads: 7
Attached File  Background.PNG ( 117.63K ) Number of downloads: 7
Attached File  LeftPaddle_Sprite.png ( 21.69K ) Number of downloads: 0
Attached File  RightPaddle_Sprite.png ( 61.17K ) Number of downloads: 7
 


__________________________
Go to the top of the page
 
+Quote Post
   
Kaleb Daub
post Jun 30 2012, 03:12 PM
Post #2


Level Up!
Group Icon

Group: Revolutionary
Posts: 300
Type: Artist
RM Skill: Beginner




I think someone wanted this actually great job I will try it out.


__________________________
My games.
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th May 2013 - 08:23 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker