1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Simple Ping-Pong game w/ AI

Discussion in 'Game Development' started by bear_369, Mar 25, 2016.

  1. bear_369

    bear_369

    Joined:
    Nov 30, 2013
    Messages:
    873
    Resources:
    6
    Maps:
    5
    Tutorials:
    1
    Resources:
    6
    It's not really special btw, I just want to show you my simple-made game. :)
    I made this game only because to testing out how far can I do it using my java skill. :p

    The .rar file contain the runnable jar and the source code. (Required Java to run it.)
    Fighting against AI is probably impossible to beat and there's no 2-player fight. EVIL!! xD

    Feedbacks or advices would be appreciated. ^_^
     

    Attached Files:

  2. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,688
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    Should board.tick() and ball.tick() not be called from inside the "update" method and not the "render" method? Seeing how they have nothing to do with graphics that is.
     
  3. bear_369

    bear_369

    Joined:
    Nov 30, 2013
    Messages:
    873
    Resources:
    6
    Maps:
    5
    Tutorials:
    1
    Resources:
    6
    Yes, board.tick() and ball.tick() are suppose to be called from the update method but when you said that, it turns out I misplaced them into the wrong method. Thanks for saying. :)

    I'm not good creating in Java in a advanced way anyway. That's why I make it simple first.