Question about Sun Computers & Internet

1 Answer

How to make a program of games using java? - Sun Computers & Internet

Posted by on


1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points


    An expert that gotĀ 5 achievements.


    An expert who has written 50 answers of more than 400 characters.


    An expert whose answer gotĀ voted for 20 times.

  • Expert
  • 132 Answers

The Java Game Development Tutorial After a lot of hard work, we have made it to finish the English version of the tutorial. As I said, you should be already able to program in Java, although you don't have to be a expert! The tutorial will give you a very detailed introduction into the development of online games using Java. We will talk about Java Applets because everyone has a Internet browser, so everyone is able to play these games without installing the JDK! The first 5 chapters will lead you from the basic structure of a applet to the development of a whole (although pretty small) game. The next chapters (6 - ...) will give you solutions to problems like AI, level editors, random generation of landscapes... . At the end of every chapter you'll find a link to download the sourcecode of the applet we programmed in this chapter and you can take a look at the working applet too. Alright, here we go!

  • Basic structure of an applet
  • Animation
    1. Move a ball
    2. Double buffering
    3. Ball bouncing and change the direction
  • Sound and Gif's
    1. Using sound in applets
    2. Using pictures in applets
  • Event handling in applets
    1. Mouse events
    2. Keyboard events
  • The first complete game
    1. Outline of the program and structure of classes
    2. Random movement of the ball
    3. Hit a ball by clicking on it
    4. Count score and loose lifes
    5. Change the mouse pointer
    6. Start the game after double clicing on the applet
  • Advanced topics
    1. Artificial intelligence for a pong like game
    2. Generation of random 2D landscapes
    3. Leveleditor

    Posted on Aug 17, 2011


    1 Suggested Answer



    Hi there,
    Save hours of searching online or wasting money on unnecessary repairs by talking to a 6YA Expert who can help you resolve this issue over the phone in a minute or two.

    Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.

    Here's a link to this great service

    Good luck!

    Posted on Jan 02, 2017


    Add Your Answer

    Uploading: 0%


    Complete. Click "Add" to insert your video. Add



    Related Questions:

    1 Answer

    Canr play pogo ongoogle chrome

    You need to install Java (from to be able to play Pogo games. After installation you might need to restart your browser and/or computer before it works.

    But please be aware that Java is frequently used to attack your computer with malware. So always update Java as soon as possible and also make sure you're always running an up-to-date antivirus program. At least make your AV program update once a day ...

    Apr 12, 2014 | Google Chrome

    1 Answer

    Remove old Java and Install new Java

    to remove java you must go into control panel and find either add/remove programs or uninstall programs. then click remove or uninstall on all Java platforms that show up in the list of programs. JRe is also Java, don't forget those. then goto to install the latest version.

    Dec 03, 2013 | Video Game Consoles & Games

    1 Answer

    Java will not run Windows 7 64 bit

    It depends on the program you are opening, you didn't say? Some software or games don't work on the latest java updates, or 64bit versions. For instance, POGO, a game will not. Limewire, will not. There are many others. It's the program, older software usually, not always.

    Jan 11, 2013 | Sony VAIO Computers & Internet

    1 Answer

    I need to write a java code for a one player snakes and ladders game
    if you go to the website it will teach you how to do it

    Feb 27, 2011 | Sun Java Programming Language (cdj-275)

    1 Answer

    My java is not working correctly with my games that uses it . I have installled and uninstalled my java accoroding to the instructions given by the game website (Pogo) and I still can't get the java to...

    Go to C:\Program Files\Java, if there is more than one folder version listed
    then use the Control Panel's ADD/Remove Programs option to remove the older
    versions and then delete any leftover files and folders that may still exist
    for the older versions.
    reinstall Java from

    Oct 08, 2009 | Microsoft Windows Vista Home Premium with...

    1 Answer

    Install games for china mobiles!!!!

    First of all let u know that chinese mobile doesn't supports java utilities. for that first of all you have to download a utility that will help other java programs to run on ur system.
    It will provide base to run other java......
    witout it you can not run those java programs
    pls search from the net and download it first.

    Jun 17, 2009 | Cell Phones

    1 Answer

    Cant get a game to load

    YOU HAVE A Choice of using 4 kinds of Javas 1. the default Java,2. SunJava, 3. unsigned version of the default Java. 4. Microsoft Java. I have also found this problem., it happens after you rebooted your computer after installing 6u1 version of java.

    To fix this go to your controll panel>Add or Remove programs then look for java, you should have two different versions there, 5u11 and 6u1 uninstall 6u1 and reboot you computer.

    Hope this helps.

    Sep 30, 2008 | Sun Computers & Internet

    1 Answer

    How do i download java applications to my phone

    for that, u need to download the java games to your PC first.
    after that connect to your PC through data cable or bluetooth.
    start the samsung application loader software.
    and rest u ll understand on your own.

    Mar 20, 2008 | Samsung SGH-D820 Cellular Phone

    Not finding what you are looking for?
    Computers & Internet Logo

    Related Topics:

    241 people viewed this question

    Ask a Question

    Usually answered in minutes!

    Top Sun Computers & Internet Experts

    Rob Hill
    Rob Hill

    Level 3 Expert

    1414 Answers

    Sunny Solanki

    Level 2 Expert

    264 Answers


    Level 3 Expert

    13434 Answers

    Are you a Sun Computer and Internet Expert? Answer questions, earn points and help others

    Answer questions

    Manuals & User Guides