This week's book giveaway is in the Java in General forum.
We're giving away four copies of Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework and have Michael Redlich on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Java Game Development Doutes

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello i am learning java game development by myself and am facing some doutes as follows

1. we can create basic games using java graphics objects
2. To create complex games we need a game engine and a popular free one is libgdx
3. To create game user interface we need a game UI , can use gimp
4 .To animate we can use animating program like sysfig , tupi

so the gaming process will be like

create the visual components in gimp >> animate them >> use them in java using game engine ,

so am i thinking correct , or missing something ,
 
Marshal
Posts: 80071
410
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Consider what you are going to do before you think about how to do it. You need the logic and algorithms for the game before you create the graphics.
 
Rancher
Posts: 1093
29
Netbeans IDE Oracle MySQL Database Tomcat Server C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

siddharth sekhar wrote:hello i am learning java game development by myself and am facing some doutes as follows
1. we can create basic games using java graphics objects


Absolutely. I suggest you look up in the tutorials how to use a basic animation loop.

siddharth sekhar wrote:
2. To create complex games we need a game engine and a popular free one is libgdx


No, that is not correct. You do not "NEED" a game engine, Java is well capable of doing what ever it is that you want to do for a game, but
you may "WANT" to use a game engine. Be aware that when you choose to use 3rd party software for development you also give up some
of your autonomy--you have to follow their rules, accept their flaws, follow their update schedule, and etc.

siddharth sekhar wrote:
3. To create game user interface we need a game UI , can use gimp


No, that is also not correct. Your UI is going to be a unison of graphics and complex algorithms implemented in what ever language, and possibly
3rd party tools, you choose. That graphics can be done in any appropriate graphics package from Gimp to Photoshop and beyond.

siddharth sekhar wrote:
4 .To animate we can use animating program like sysfig , tupi


How you choose to package your animation graphics is up to you, but realistically it is going to depend largely on decisions you made in your previous steps.

siddharth sekhar wrote:
so the gaming process will be like

create the visual components in gimp >> animate them >> use them in java using game engine ,

so am i thinking correct , or missing something ,


That is a simplistic ideology. Reality is going to slap you fairly big time when you get going and try to integrate all of those pieces together.

Start small, make some very simple animations. Get them to work in a basic animation loop. I would suggest making them even along a bean idea--where you make an animation container and all you have to do is include the animations in the project and add them to the container. Once you have that going, then look what you need to turn that basic animation loop into a game loop. Once again start simple building on your previous work. Get one of your animated object to follow keyboard and/or mouse input, then can you make the animation objects selectable? Try it. You will need to do so in a full game.

Once you are this far you are ready to start adding things to your game--NPC/Character interaction, character/object interactions, do you need the ability to have projectiles? Yep, those are character/object interaction or object/object interaction.

Now you have mastered all of that, then do you have a story line, Characters and NPC lore? Credits--these should can just be an object to add to your animation loop. Have you taken the time to fully develop your story, back story, game objectives, and etc? Will all of what you have done in your coding work so far, support your grad gaming idea? Oh, and do you want to have NPC that incorporate AI? and should they learn as you play the game? How do you represent knowledge/lore in the game and how is it disseminated to PC's and NPC?

Ya, there is a lot of stuff to consider. Have fun, and if you get stuck on any of it, ask specific questions and I am sure there will be many willing to help you out.

Les
 
siddharth sekhar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Les Morgan wrote:. . .



thanks for the reply , my aim is to make simple 2d games , but in the beginning things are confusing , i am searching for a broad view of game development and where all these pieces fit together : )
 
Les Morgan
Rancher
Posts: 1093
29
Netbeans IDE Oracle MySQL Database Tomcat Server C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Simple 2D games can easily be done with just Java and a good graphics editor. Rather complex 2D games can be done exactly the same.

I am of the opinion that until you need a 3D world, Java will do anything you need to do, and I have done some fairly simple to moderately advanced game development in Java. I am currently deciding if I want to do an AI module for my games or just how far I want to go with a pure Java model in 2D.

siddharth sekhar wrote:

Les Morgan wrote:. . .



thanks for the reply , my aim is to make simple 2d games , but in the beginning things are confusing , i am searching for a broad view of game development and where all these pieces fit together : )

 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic