• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Script: [v13+] Ball Catch Game

FL

Pokémon Island Creator
  • 2,545
    Posts
    14
    Years
    • Seen today
    [PokeCommunity.com] [v13+] Ball Catch Game
    [PokeCommunity.com] [v13+] Ball Catch Game

    Simple minigame where the player must pick the balls that are falling at screen.

    Link

    Tested on Essentials v13 and v21.1. If this script isn't working on latest Essentials version, please inform on this thread.

    A little script that I made in around 3 hours (the first version). Upgrade suggestions: A "bomb" ball and balls that gives different scores.
     
    Last edited:
    This game is so amazing, i hope if you can add differernt kinds of balls into the system it would be better !
    And can you teach me what should i do to make player get prize if they catch enough balls (eg.total balls is 50,when player catched 45 balls,then it give player some money or an important item)
    thanks!
     
    This game is so amazing, i hope if you can add differernt kinds of balls into the system it would be better !
    And can you teach me what should i do to make player get prize if they catch enough balls (eg.total balls is 50,when player catched 45 balls,then it give player some money or an important item)
    thanks!
    The script line '$game_variables[80]=pbCatchGame(50)' will put the result at variable 80, so you can do a conditional branch that give things to the players if this variable has a certain number.
     
    The script line '$game_variables[80]=pbCatchGame(50)' will put the result at variable 80, so you can do a conditional branch that give things to the players if this variable has a certain number.

    Thanks, I will try ,I mean ,i'll try to understand what you say ,due to my pool ruby foundation and Englishi:)
    Thanks a lot !

    The script line '$game_variables[80]=pbCatchGame(50)' will put the result at variable 80, so you can do a conditional branch that give things to the players if this variable has a certain number.

    Thanks again, i succeed in getting my goal , it works well !
     
    Last edited:
    Great job but i need help i wanna place the images in another folder called BallCatch in pictures but i think i know how to could you tell me if i am rigth ill change this lines
    @sprites["background"].setBitmap("Graphics/Pictures/backgroundcatch")
    @sprites["player"].setBitmap("Graphics/Pictures/catcher")
    to this
    @sprites["background"].setBitmap("Graphics/Pictures/BallCatch/backgroundcatch")
    @sprites["player"].setBitmap("Graphics/Pictures/BallCatch/catcher")
    also were would i change the ball
     
    Last edited:
    Great job but i need help i wanna place the images in another folder called BallCatch in pictures but i think i know how to could you tell me if i am rigth ill change this lines
    @sprites["background"].setBitmap("Graphics/Pictures/backgroundcatch")
    @sprites["player"].setBitmap("Graphics/Pictures/catcher")
    to this
    @sprites["background"].setBitmap("Graphics/Pictures/BallCatch/backgroundcatch")
    @sprites["player"].setBitmap("Graphics/Pictures/BallCatch/catcher")
    also were would i change the ball
    Yep, this works (just test before). Also, change the '@sprites["ball#{i}"].setBitmap("Graphics/Pictures/ballcatch")' to '@sprites["ball#{i}"].setBitmap("Graphics/Pictures/BallCatch/ballcatch")' or '@sprites["ball#{i}"].setBitmap("Graphics/Pictures/BallCatch/ball")'.
     
    I don't understand how I have to create the conditional branch that give things to the players if this variable has a certain number.
    Can you tell me how with and image or something?

    Thanks!
     
    I don't understand how I have to create the conditional branch that give things to the players if this variable has a certain number.
    Can you tell me how with and image or something?

    Thanks!
    Attached an image.

    2022 EDIT: Reupload the image.
     

    Attachments

    • [PokeCommunity.com] [v13+] Ball Catch Game
      Event commands for prize in Ball Catch.png
      5.5 KB · Views: 15
    Last edited:
    I think quite a bit can be done with this! Very neat and cute concept, I adore it. An idea for anybody out there reading this is adding some kind of intro text or something similar to the start of the game so that there's a small pause for the player to brace themselves. For example, you could add text saying "Ready?" followed by "Set..." and then "GO!" (or simply skip the "Set..." and go straight to "GO!").

    An idea I pose to FL is creating a way to configure the ball speed (and other settings of the minigame) without altering the main script for it (assuming such a method doesn't already exist). For instance, say you want to allow the player to choose from multiple difficulties to play the minigame in and each difficulty has a difference in speed for the falling balls. That way, the event that calls the script can be structured to where each difficulty has a command that configures the settings in CatchGameScene correspondingly. It's simply an idea.

    Overall, it's good and a neat addition that adds a little flavor to any fan game I'd say.
     
    An idea I pose to FL is creating a way to configure the ball speed (and other settings of the minigame) without altering the main script for it (assuming such a method doesn't already exist). For instance, say you want to allow the player to choose from multiple difficulties to play the minigame in and each difficulty has a difference in speed for the falling balls. That way, the event that calls the script can be structured to where each difficulty has a command that configures the settings in CatchGameScene correspondingly. It's simply an idea.
    Good idea. Added! I also added initial and final ballSpeed and FramesPerLine as parameters. In other words, the ball speed can increase as the game progress.
     
    Last edited:
    Back
    Top