Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 16 of 16

Thread: How do i make

  1. #1
    Member coderxx0's Avatar
    Join Date
    Feb 2013
    Location
    England, UK
    Posts
    61
    My Mood
    Cool
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Question How do i make

    i am recently new to Java Programming and i have written a basic space invaders game and i cannot figure out how to write the client and i also need help with a simple java compiler i have a basic client from somebody else's game they write but i don't know how to write it myself

    Untitled-1.jpg


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: How do i make

    That' a big question. Can you be more specific? What have you done so far and where are you having problems?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Member coderxx0's Avatar
    Join Date
    Feb 2013
    Location
    England, UK
    Posts
    61
    My Mood
    Cool
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: How do i make

    i have written the base code of the game the ship moves and fires and aliens move
    i need help with the client to run the game its self
    and i need help with making a compiler

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: How do i make

    help with making a compiler
    That sounds like a big project. What language is the compiler for?
    i need help with the client to run the game
    There are lots of samples of client code here on the forum. They are usually paired with server code.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Member coderxx0's Avatar
    Join Date
    Feb 2013
    Location
    England, UK
    Posts
    61
    My Mood
    Cool
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: How do i make

    Quote Originally Posted by Norm View Post
    That sounds like a big project. What language is the compiler for?
    it is Java Programming i need

    and thanks ill have a look at clients

  6. #6
    Member coderxx0's Avatar
    Join Date
    Feb 2013
    Location
    England, UK
    Posts
    61
    My Mood
    Cool
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: How do i make

    BUMP!

  7. #7
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: How do i make

    What is the status of your project? What does "BUMP" mean?
    You need to ask some specific questions.
    If you don't understand my answer, don't ignore it, ask a question.

  8. #8
    Member coderxx0's Avatar
    Join Date
    Feb 2013
    Location
    England, UK
    Posts
    61
    My Mood
    Cool
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: How do i make

    bump is just putting new post on the thread to get peoples attention

    and the status is i have written all the base codes i just need a compiler so i can start to edit images and codes to what i need

  9. #9
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: How do i make

    i just need a compiler
    What do you mean by "compiler"? The javac program is a compiler.
    Please explain what kind of compiler you need?
    If you don't understand my answer, don't ignore it, ask a question.

  10. #10
    Member coderxx0's Avatar
    Join Date
    Feb 2013
    Location
    England, UK
    Posts
    61
    My Mood
    Cool
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: How do i make

    i have got the coding for a space invaders game and i need the compiler to convert the graphics and change the original ship to a heart that pumps blood to kill the aliens and then s i can edit the code correctly. i was wondering how i would make the compiler do this.

    also i am not using any sort of program to code the game i am just using notepad++ for the structure of the game

  11. #11
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: How do i make

    i need the compiler to convert the graphics and change the original ship to a heart
    Do you have a definition for the language of the source file your compiler will read and a definition for the format of the output file the compiler will create?

    There are no requirements for what kind of editor is used to create a java source file. notepad should be ok.
    If you don't understand my answer, don't ignore it, ask a question.

  12. #12
    Member coderxx0's Avatar
    Join Date
    Feb 2013
    Location
    England, UK
    Posts
    61
    My Mood
    Cool
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: How do i make

    the source file is written in Java, the image is a GIF and i need to integrate the two
    i used Notepad++ to wire the file in Java

  13. #13
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: How do i make

    If the source file is java, then what problems are you having using the javac compiler?
    If you are getting errors, copy the full text of the error messages and post it here.

    need to integrate the two
    Are you asking how to display an image in the GUI of a java program?
    If you don't understand my answer, don't ignore it, ask a question.

  14. #14
    Member coderxx0's Avatar
    Join Date
    Feb 2013
    Location
    England, UK
    Posts
    61
    My Mood
    Cool
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: How do i make

    Quote Originally Posted by Norm View Post
    If the source file is java, then what problems are you having using the javac compiler?
    If you are getting errors, copy the full text of the error messages and post it here.


    Are you asking how to display an image in the GUI of a java program?
    were do i get the Javac compiler and i don't know how to display the image in the GUI

  15. #15
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: How do i make

    The javac program is part of the JDK that is a free download from the Oracle site.

    how to display the image in the GUI
    You will have to learn how to write java code to do that.
    Start with the tutorial:
    Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
    If you don't understand my answer, don't ignore it, ask a question.

  16. The Following User Says Thank You to Norm For This Useful Post:

    coderxx0 (February 18th, 2013)

  17. #16
    Member coderxx0's Avatar
    Join Date
    Feb 2013
    Location
    England, UK
    Posts
    61
    My Mood
    Cool
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: How do i make

    Quote Originally Posted by Norm View Post
    The javac program is part of the JDK that is a free download from the Oracle site.


    You will have to learn how to write java code to do that.
    Start with the tutorial:
    Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
    ok thanks for your help

Similar Threads

  1. How can I make a JDialog to make main Frame to "sleep"
    By piulitza in forum AWT / Java Swing
    Replies: 1
    Last Post: May 11th, 2012, 08:00 AM
  2. Do you make backups?
    By person287 in forum Totally Off Topic
    Replies: 4
    Last Post: November 29th, 2011, 01:50 AM
  3. how do i make my program to....
    By andys in forum Object Oriented Programming
    Replies: 2
    Last Post: November 26th, 2010, 10:31 AM
  4. How to make it???
    By Subhasis Banerjee in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: October 29th, 2009, 02:49 PM
  5. Java algorithm for bank program to connect database
    By araujo3rd in forum Algorithms & Recursion
    Replies: 1
    Last Post: December 10th, 2008, 01:34 PM