Results 1 to 4 of 4
  1. #1
    kammce's Avatar
    kammce is offline Senior Member
    Join Date
    Dec 2010
    Location
    California
    Posts
    194
    Rep Power
    4

    Question Graphic Approach

    I am starting (well technically, I am restarting) a game project. It is called "Kingdom Vs Dynasty 2.0." I was content with the older version until one day when I was updating java and was using the newer version of java to test it out.

    Aside from my inspiration, I am wondering about my approach to drawing the layout of my game. My method before that I have become quite comfortable with was using Swing combined with absolute positioning layout in such a way that allowed me to make seamless game objects and have them interact with each other in a manner that was familar to me when I used to make Flash games.

    I was going to use this method again, but I remember someone on a much less desirable forum telling me that I should be using nothing but Java Paint in order to draw my graphics and my interfaces, and using Swing would be stupid to use for a Java game in general. As i did before, I ignored that bit of advise because it was too late to make the switch and I did not feel like taking advise from someone who considered my method of getting a job done stupid.

    Well, now I am on a new-ish project and I want to know what the Java community of this forum thinks about using JavaX Swing vs Java 2D's Paint.

    My other purpose of making the switch to Java 2D Paint is from what I heard about Android programs. I would not have to worry about porting over as much stuff if I use the Java 2D Paint function and just switch the words to the Android SDK keywords. But this could always be wrong.

    Thank you for reading!
    My API:
    Java Code:
    cat > a.out || cat > main.class

  2. #2
    kammce's Avatar
    kammce is offline Senior Member
    Join Date
    Dec 2010
    Location
    California
    Posts
    194
    Rep Power
    4

    Default Re: Graphic Approach

    Well, I went with the swing layout again. But even though I have already invested my time in using Swing, I would still like to know if Java2D Paint would be a better means of achieving my goal.
    My API:
    Java Code:
    cat > a.out || cat > main.class

  3. #3
    Daryn is offline Senior Member
    Join Date
    Oct 2012
    Posts
    176
    Rep Power
    3

    Default Re: Graphic Approach

    programming is like someones signature no two programs are written exactly alike and everyone has there own unique style.So as like as it works i would stick with doing what your comftoravle with

  4. #4
    kammce's Avatar
    kammce is offline Senior Member
    Join Date
    Dec 2010
    Location
    California
    Posts
    194
    Rep Power
    4

    Default Re: Graphic Approach

    Lol, Daryn. This is an old Thread. And thank you. At this point, I am thinking about making my own components and painted components for the game. Just a thought.
    My API:
    Java Code:
    cat > a.out || cat > main.class

Similar Threads

  1. How to approach this problem?
    By Zigster in forum New To Java
    Replies: 16
    Last Post: 04-27-2012, 06:53 PM
  2. ArrayList with Objects the right approach?
    By scheffetz in forum New To Java
    Replies: 1
    Last Post: 03-25-2011, 10:26 AM
  3. Regex approach
    By karlito in forum Lucene
    Replies: 1
    Last Post: 11-04-2009, 06:53 PM
  4. Please suggest me the correct approach!
    By rjuyal in forum Advanced Java
    Replies: 6
    Last Post: 05-05-2008, 03:54 PM
  5. Opinions on best approach for objects
    By spikey in forum Advanced Java
    Replies: 1
    Last Post: 04-11-2008, 06:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •