New to Java, want to create a game any help appreciated.

I just downloaded java Studio. I would like to create Java games. Not sure where to start.. Do i need more programs? Any info would be of great help thanks....

Hey,
If you want to know which software you need to program java games (or any other java application for that matter), I'm guessing you don't have much experience using java.
First, to answer your question, Studio will certainly do to create java. But even notepad will suffice. The only thing you really need to have is a SDK, you can get it from the Sun site.
Second, You should ask yourself if java is the language to program in. Java is well suited for developing games. But it is also a very powerful general purpose language, so it can be very overwhelming. Maybe you should think of the alternatives?
Flash: Has much better browser support than applets, so if you want to make an online game, this is probably a better choice. Don't be afraid of the possibilities in flash, unless you want to do 3d. You don't want do to 3d yet.
PHP: if your game is text based, you might want to program it in PHP. It is mostly used for multi-user-"dungeons"(fill that in as you want).
If you really want to learn how to program in java, I suggest you don't start on your game just yet. Try this PDF for starters: http://www.mindview.net/Books/TIJ/. The java tutorial is also pretty good, but cover the basics first: http://java.sun.com/docs/books/tutorial/ . I also suggest you don't start programming in an IDE(for you: Sun studio) until you start working with multiple classes. I suggest JEdit for "basic"(it has a million features, don't worry) programming. Later you can start to learn Sun Studio (Or Eclipse, if I can lodge in my preference), but be careful: these programs are excellent, and will spare you hours of work, but only if you spend (a lot) of time on how to use them properly.
As a final thought: the web is your friend. There are tons of good resources on the web for developing games, and lots of them focus on java. A good place for info is http://www.gamedev.net/, lots of articles, and helpful hints on choosing language, tile games, etc... Another specific one is http://www.brackeen.com/javagamebook/. It has working code for a tile-based game, and it even has a software 3d engine. It also has good for for detecting mouse and keyboard actions. Get more experience before you start with these ones, though.
Good luck!

Similar Messages

  • TS1363 iphone 5c not displayed as a device in itunes.  Therefore unable to sync this new phone from a backup made yesterday. Any help appreciated.

    Unable to get new iphone 5c recognized as a device in itunes for syncing purposes. Backup from old phone made yesterday and now would like to sync new phone from that backup.  Any advice appreciated.

    Golfslave wrote:
    Even if I enable the new phone to backup automatically with the cloud? Wouldn't that keep everything up to date? And if I use the software, couldn't I choose to copy just the music & messages to I tunes, and not select anything else to keep the data from the new phone intact? Sorry, this is confusing. I like these products, but Apple really fails on portability. I had this same issue with Ipod years ago, and it ****** me off then too. They sold me (the last time I lost everything) on the icloud, telling me it backed EVERYTHING up. I'm a bit upset at store personnel right now to say the least.
    Sorry I was under the impression you still wanted to restore from your old phone backup.
    yes if you enable backup on your new phone everything will be up to date.
    Yes you can use the software to move music and message to your computer - you would need to add the music back to your iTunes media library.
    I provided a link with what is backup to icloud.  YOur purchased item is always tied to your apple id.

  • My contacts on my old Iphone I gave a family member were deleted then synced to icloud.  My current iphone lost all its contacts when it next synced.  I retreived a 6mth old backup to get my contacts, but I want my recent messages back, any help?

    My contacts on my old Iphone I gave a family member were deleted then synced to icloud.  My current iphone lost all its contacts when it next synced.  I retreived a 6mth old backup to get my contacts, but I want my recent messages back, any help?

    The "system" performed as designed. All devices syncing to one iCloud account are kept in common sync. The idea is that all such devices belong to one user. Different users should have different iCloud accounts.  Once your contacts were edited, all devices were updated as well and subsequent backups (from yours and her device) reflected the changed contacts (and any other data that may have been edited like calendars). Your first task is to change your daughter over to a new account before she makes other changes.
    The only way I see for getting back contacts is to restore them from a time machine backup, assuming you also have a Mac included in the account which syncs the contacts. However, I'm not sure whether time machine includes contacts from iCloud along with those that are local, "on my Mac".
    Otherwise the deleted contacts are gone.

  • HT1320 I have a new IPod Touch 5G, 32 gb and suddenly it will not turn on, and will not restore using UTunes.  Any help appreciated.

    I have tried many times to restore my  new IPod Touch 5G in I Tunes and it will not allow me to do it.  My Ipod will not turn on at all even when on a fresh charge.  Only displays the arrow leading up to ITunes logo.  I have tried the method of holding the home button and on button and this does not work.  Any help appreciated.
    My I Pod was working fine until the day I updated the software to 6.0.1.

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar

  • My daughter's older Ipod Touch is having a problem with images becoming pixilated when taken from an e-mail and placed into her camera roll. ( She wants to put on Instagram ) Any help?

    My daughter's older Ipod Touch is having a problem with images becoming pixilated when taken from an e-mail and placed into her camera roll. ( She wants to put on Instagram ) Any help?

    I think that may be a consequence of the email provider she is using. Some services (AOL is one example) inspect and modify email attachments, particularly photos, resulting in reduced resolution compared to the email that was sent.
    The iPod does not do this. The resolution of the picture in the email she receives will be identical to what is imported.

  • I have downloaded Safari on to my PC( I recently bought an iPad and want some compatibility) However when I try to open and import bookmarks to Safari on my PC it shuts down the program.  Any help appreciated.

    I now own an iPad and want to load bookmarks from Firefox on my PC to my iPad.  I have downloaded Safari on to my PC and tried to import the bookmarks from Firefox but every time I try to open bookmarks in Safari it shuts down Safari.  As I siad I eventually want the bookmarks on my iPad.  Any help appreciated.
    KJ

    Are there any dialog boxes popping up behind your Yahoo screen?
    I have intermittent problems attaching files in Yahoo mail and this is usually the reason.  I'm also using an iMac (10.7.3) and this is likely the problem.
    It is generally a Yahoo issue rather than a Mac problem.

  • HT1014 I'm working with imovie 08 and converted movie originally from VHS tape to .m4v files imovie wouldn't recognize it.  I converted to .mov files and imovie generated thumbnails (for hours) and shows a New Event but there is nothing there. Any help?

    I'm working with imovie 08 on Macbook pro OS X and converted movie originally from VHS tape to .m4v files imovie wouldn't recognize it.  I converted to .mov files and imovie generated thumbnails (for hours) and shows a New Event but there is nothing there. Any help?

    markmc78 wrote:
    .. I'm really struggling with the concept of events/clips/projects.
    consider usage of a diff. editor.. iMovieHD6, you're entitled for a free downlaod at apple.com:
    http://www.apple.com/support/downloads/imovieHD6.html
    but IF you're relaxed, opened your mind, follow the bright light, ommmm.. for Events & Stuff:
    your intended workflow will add another step of quality-degradition (8mm>>avi>>mp4>>iM08) ..
    consider the free tool Mpeg Streamclip www.squared5.com for 'chopping' that 90min beast into pieces..
    rename these new chunks, follow advice given on my site:
    http://karsten.schluter.googlepages.com/im08changeeventdate
    there's the manual..
    http://manuals.info.apple.com/en/iMovie08_GettingStarted.pdf
    and the most recommended books from Mr Pogue's Missing Manual series..

  • Mail blocked on imac. Same message keeps appearing multiple times in the Recovered Messages folder but no new email gets through. Fine on ipad. Any help appreciated....

    Haven't received any new emails on imac since 4 Sept (all received fine on ipad) and online gmail account. We sent an oversized message on that date and it keeps appearing continually (literally hundreds of times) in the Recovered Messages folder. I'm assuming this is causing some sort of blockage?? Seem to be able to send mail OK, just not receive (apart from new versions of the 4th September message). Any help gratefully received. Thanks

    Hi,
    Since Outlook running on Windows works well, it seems an issue on the Mac side. I suggest ask Mac for help so that you can get more professional suggestions.
    More information for your reference:
    Please try to verify whether there is any expired certificate from the computer personal store.
    If it is the case, please remove them.
    Thanks
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Mavis Huang
    TechNet Community Support

  • I updated my mac from 10.6.5 to 10.6.8 and now my CS 3 doesent start, its asking for a new license, but i never changed anything. Any Help with that thanks

    I updated my mac from 10.6.5 to 10.6.8 and now my CS 3 doesent start, its asking for a new license, but i never changed anything. Any Help with that thanks

    I don't know if this update involved rewwriting the entire operating system whereby you essentially transferred the software from one system to another, but if so, then you need to uninstall and reinstall the software and reactivate it using your serial number.

  • New to java - glitch in my program/game? should be a simple fix :)

    hey everyone, I'm a student who's new to java programming :) It's is also the first programming language that I'm learning. I know the basics, but nothing very complicated.
    I'm making a pong-like game, in an applet.
    As I was making the paddle and using a mouselistener to make it move vertically, I came across this problem, the paddle will move vertically with the mouse's position, but one end of my paddle will grow abnormally (I want it to stay the same size as it moves up and down)
    Here's my code: (I'm not using most of the mouselistener and keylistener classes yet, so you can ignore them. I'm guessing the problem is probably in one of the last classes, at the bottom)
    ypaddle is the variable used for getting the co-ordinates of the mouse and transferring them to the paddle itself
    // The "Ping" class.
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    *Ping
    public class Ping extends Applet
        implements KeyListener, MouseListener, MouseMotionListener
        int width, height, x, ypaddle;
        Graphics g;
        char move;
         *Initializes variables
        public void init ()
            resize (700, 500);
            setBackground (Color.white);
            addKeyListener (this);
            addMouseListener (this);
            addMouseMotionListener(this);
        public void keyPressed (KeyEvent e)
        public void keyReleased (KeyEvent e)
        public void keyTyped (KeyEvent e)
        public void mouseEntered (MouseEvent e)
        public void mouseExited (MouseEvent e)
        public void mousePressed (MouseEvent e)
        public void mouseReleased (MouseEvent e)
        public void mouseClicked (MouseEvent e)
        public void mouseMoved (MouseEvent e)
            ypaddle = e.getY ();
            repaint();
        public void mouseDragged (MouseEvent e)
        public void paint (Graphics g)
            paddle (g, ypaddle);
         * Creates the paddle for hitting the ball
         *@param    y   value used to move the paddle vertically
        public void paddle (Graphics g, int y)
            g.fillRect (10, 10+y, 15, 60+y);
    } // Ping classI'm totally stumped, I've tried for 2 hours to find the problem, and I have a feeling it's something very simple that I'm passing over...
    If you have any questions about the variables or other things, please ask!
    And one last little quick question, is there a way I can restrict the movement of the paddle between two Y values? (i.e not higher than y=10 or lower than y=100)
    Thanks in advance :)

    soundweave wrote:
    I'm not exactly sure how to find out, Eh?
    You wrote this code:
    g.fillRect (10, 10+y, 15, 60+y);Do you understand what fillRect does? If I call fillRect(10, 20, 30, 40) where will that rectangle be drawn? If you don't know how to answer that, I don't see how you could have written that line of code.
    but here's some pictures of what happens ( I put in 0 and 80 as the y values in each picture, and left the code window open so you can see )I don't need to see them.
    Y at 0: [http://i731.photobucket.com/albums/ww314/len56/Untitled.jpg?t=1263077701|http://i731.photobucket.com/albums/ww314/len56/Untitled.jpg?t=1263077701]
    Y at 80: [http://i731.photobucket.com/albums/ww314/len56/Untitled2.jpg?t=1263077625|http://i731.photobucket.com/albums/ww314/len56/Untitled2.jpg?t=1263077625]
    So, given that the first one comes from fillRect(10, 10, 15, 60), (you get where that comes from I hope) and the second comes from fillRect(10, 90, 15, 150) (that too), does that not suggest that something is wrong with the numbers you're passing to fillRect? And since you have read the docs for fillRect and know what it does and what each of its parameters represents (right?), does it not suggest exactly what is wrong with those numbers?

  • How can a I copy from my disk a photo and paste it into a New -email I want to create?

    I get a lot of e-mails with pictures or other graphics embedded in the e-mail but I can't seem to be able to insert my photographs or any other graphic information into new e-mails I want to create. How do I do this?

    Firefox doesn't do email, it's a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
    If your problem is with Mozilla Thunderbird, see this forum for support.
    [http://www.mozillamessaging.com/en-US/support/] <br />
    or this one <br />
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • I want to create an applet, Please Help...

    HI all,
    I want to create an applet which should be able to display text and images...
    To display text in an applet I am using ...
    import java.awt.*;
    import java.applet.*;
    public class SimpleApplet extends Applet
        public void paint(Graphics g)
            g.drawString("A Simple Applet", 20, 20);
    }Now If I want to create few operators in a different class, and i want to use it from the SimpleApplet class what should be doing.

    HI all,
    I am creating an Gui: The code is here:
    import javax.swing.*;
    import java.awt.*;
    public class Tab extends JFrame
        JPanel p,p1,p2,p3,p4,p5;
        Frame f1,f2,f3;
        JTabbedPane tpane;
        public Tab()
            p = new JPanel();
            p1 = new JPanel();
            p2 = new JPanel();
            p3 = new JPanel();
            p4 = new JPanel();
            p5 = new JPanel();
            tpane = new JTabbedPane();
            p.setLayout(new GridLayout(1,1));
            tpane.addTab("File",p1);
            tpane.addTab("Edit",p2);
            tpane.addTab("Document",p3);
            tpane.addTab("View",p4);
            tpane.addTab("Help",p5);
            p.add(tpane);
            getContentPane().add(p);
            setVisible(true);
        public static void main(String[] args)
            // TODO Auto-generated method stub
            Tab t = new Tab();
    }I want to diaplay some text in the main area left. What should I do.
    How to add the Text.

  • In order to create space on my MBA I just bumped iTunes media to G drive linked through Time Capsule.  Now pointed iTunes at new iTunes libary on G drive and, even though all music files are there, iTunes can only 'see' 10 albums. Any help appreciated.

    Bit more detail...
    Mac Book Air has been struggling for space for a while so I bough at time capsule a) for back up and b) to host my itunes folder remotely.  This didnt' work.  I took it into the Genius bar and the genius there told me that time capsule is not designed for anything other than back up.  Instead I have to connect a G drive through the time capsule's wireless router to my MBA. 
    I followed his instructions - moved my files from the Time Capsule and MBA directly onto the G Drive - which took a heartening 2 hrs so something must have been happening - and the held down 'Alt' when starting iTunes and selected the new itunes folder as the location of my itunes libarary which I wanted iTunes to 'point at'.  When I opened iTunes only 10 albums are visible now.
    In ITunes advanced preferences it says it is pointing at the correct folder.  The files are all cleary there when I open the G Drive folder to take a look.  But I cannot get iTunes to find them.
    Any suggestions? 
    Secondary challenge - in spite of deleting the original itunes folder on my MBA I still get messages pop up telling me my start up disk is out of space and I need to clear some - I expected to stop getting this message now I had done this exercise above.  I have emptied Trash.  Again - any pointers appreciated.  I am new to this world of 'intuitive' macbooks.
    Cheers

    After admittedly only a quick read the one thing you don't say is how you are trying to make this move.  Most people with moving library issues do it the wrong way.  Plenty of web sites tell you how to do it the wrong way.
    If the iTunes application is started before the drive with the library is fully mounted and awake iTunes will revert back to the internal drive.

  • I have an MP4 home vid in itunes.  I cannot get it onto my ipad. I tried "create new version" to make it into a format suitable for ipad, but the options were greyed out.  Any help appreciated.

    I have created a home video, using my Panasonic Camera, and a high definition SD card.  It is now on my computer as anMTS file, which I converted into an MP4 as well.
    But I cannot get this file onto my ipad.  I have tried countless ways.  I finally today thought I had the answer..........the MP4 file is now in Itunes (I hate itunes, it is so user-unfriendly) and I read that I need to click on it, go to "create new version" and select the ipad version.  But those options were greyed out.  !!!  Aaargh!  Frustration!  Any help gratefully recieved.

    You can try and import your MP4 using free OPlayer HD Lite via File Sharing.
    https://itunes.apple.com/sg/app/oplayerhd-lite-best-free-video/id385896088?mt=8

  • I want to create a bsp page help me

    i want to create a page
    in which the following should be there,
    1.  A selection screen or a listbox for a pernr field from catsdb,
    2.  according to that pernr no i want to display all that week transaction done by him in catsdb.
    help me please,
    thank you,
    Points will be rewarded
    regards,
    Jagrut BharatKumar Shukla

    Look the following exaplmes for BSP developments.
    http://www.sapdevelopment.co.uk/webapps/bsp/washome.htm
    In your case you can use the HTMLB extensions like.
    dropDownListBox
    listBox
    to display list of PERNS in CATSDB.
    and display the CAT entries in a table view.
    Amandeep

Maybe you are looking for

  • Error when using Struts on Tomcat:

    Dear all, I am playing around with Struts a bit and after a long day of tweaking and bug-fixing I got stuck with the flollowing error: javax.servlet.ServletException: Cannot find bean termBean in any scope      org.apache.jasper.runtime.PageContextIm

  • Error in KMC installation. waiting 1800 seconds at 2nd phase and errors out

    Hi, I am installing KMC and on 2nd phase "Deploy Content Mangement and Collaboration Components " it hangs stating Portal Configuration upgrade (66 of 69 done.0 with warning Time elapsed <Number> seconds. waiting....... ". Note 779699 referred. In th

  • When do you urn off or put to sleep your macbook

    im just putting it to sleep at the end of the day.is it ok? Im almost never turn it of..... And during the day its always on and on power cord? What u do with your macbooks? Ive heard constantly turning off and on is not good for a computer? lol

  • Oracle table export ot Excel

    Dear folks, I am looking to export some oracle tables into excel format. I tried using sql developer but since the table has huge rows (>12L), it is taking too much time. I tried to export it in csv format also but not getting enough benefit. We do n

  • ABAP ERROR Message no. MC554

    Hi experts, Can any one please tell me the solution for the error message i am getting "Message no. MC554" This message i got when i am doing "VIEW"  hope to get the reply as soon as possible Regards, sasi vardhan