03/01/2014

One Script Pong Game Example

Hello! I've made an example of how to make a diverse remake of the classic Pong game in GM, using only one script!

        This example has the following:      
        -Player vs AI
        -Two Player Game
        -AI vs AI
        -Individual Scoring
        -Customizable Colours

        -Customizable Pong and Players
        -Customizable Map
        -Difficulty
        -Speed Managing
        -Key Mapping
        -Pausing
     
        And they are all easy to customize, so you can make a pong game of your own, since the script is heavily commented!

Have fun!
Shadowrend

2 comments:

  1. I tried this, it seems nice, but the ball got stuck in the wall first try.

    ReplyDelete
    Replies
    1. Yes I've seen that happen. It is because the ball is travelling faster than the collision check radius is. It's an easy fix, just using <=, >= instead of ==.

      Delete