Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8040905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T04:02:49+00:00 2026-06-05T04:02:49+00:00

If I was making a 2D game in Java, would using the default Graphics2D

  • 0

If I was making a 2D game in Java, would using the default Graphics2D be fast enough? Would I get good FPS if it’s just 2D? (even if there is a good amount of sprites and other things going on)
Or when your doing any kind of game programming, 2d or 3d, should you opt for opengl/directx?

Also when you render stuff with Graphics2D, is it all rendered on the CPU? Or is it hardware accelerated?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T04:02:53+00:00Added an answer on June 5, 2026 at 4:02 am

    You should use opengl/directx, or some java binding if you must use java (such as JMonkey). If you are new to game programming, I’d suggest using the XNA framework, as it simplifies a lot of things. I have used XNA, and it is fairly easy to use, and plug in different libraries. If you want a browser based game, javascript + HTML5 Canvas2d, or webgl may be the best route.

    You will always get better performance out of using direct binding libraries over a 2D Graphics API type library. The main thing to do is make sure you know how images and textures are being stored / rendered, so you aren’t making the framework do extra work. Extra work will result in low FPS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a game in Java, and I need a good file format to
I'm making a simple game in Java using swing and am having problems with
I'm making a simple card game server in Java using eclipse. I'm now trying
I'm making a small game in Java and would like to add a Quake
Little background.. I'm in the process of making an OpenGL game using Java and
I'm making a simple game with Java / .net as client and using php
Long story short, I'm making a racing game in Java. I'm self-taught using some
I'm making a multyplayer game and I'm using java sockets for the server, the
I am making a game in Java using the framework pulpcore, I keep getting
I'm making a little java game in which I would have two threads (well

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.