#1,864 in Computers & technology books

Reddit mentions of Fundamental 2D Game Programming with Java

Sentiment score: 2
Reddit mentions: 3

We found 3 Reddit mentions of Fundamental 2D Game Programming with Java. Here are the top ones.

Fundamental 2D Game Programming with Java
Buying options
View on Amazon.com
or
    Features:
  • O'Reilly Media
Specs:
Height9.25 Inches
Length7.75 Inches
Weight2.8219169536 Pounds
Width1.75 Inches

idea-bulb Interested in what Redditors like? Check out our Shuffle feature

Shuffle: random products popular on Reddit

Found 3 comments on Fundamental 2D Game Programming with Java:

u/blindluke · 4 pointsr/gamedev

Your question is a bit ambiguous, and while you're clear about the fact that you know software architecture and building architecture are different things, it's unclear whether you realise that game architecture is essentially game engine architecture.

Creating a game engine organically usually starts with creating the game, and then moving the bits that aren't reausable away. What's left is the engine with specific empty spaces to fill. The shape of those empty spaces will largely determine how the non-engine parts will be organized.

Let's grab an example - this is a relatively simple Java 2D engine. In this engine, your primary building block is a sequence. A sequence will have its own game loop within it, and will roughly correspond to a game state (overworld, dungeon, battle, cutscene). If you decide to use this engine to build your game, this will be your basic building block. You will organize your game in sequences.

There are engines that make things very simple - they leave you a very defined space. Love2D assumes you have a file called conf.lua which it's executed before everything else is loaded, and then you need a main source file where you provide contents for three defined functions: love.load, love.update and love.draw. That's it - you're free to fill in three blank spaces provided by the engine.

If you want to understand how a game project is organized, read on how the engine is built. The best source here is the GEA bible. Your second best bet would be to find a book that describes how a complete game is structured, start to finish - not an unfinished tutorial example, but something real, with a menu screen, saving the game or storing high score. Sound, music, all the moving parts. There are not many books like this, but some that I would recommend are:

u/SproedAsfalt · 1 pointr/linux4noobs

As the other guy said you can use JavaFX if you want to use Java.

If you want to make games in Java, this book takes you through making your own framework and making a few games/editors with it. I learned a lot from that.

If you want to make small games, Java will be fine. If you want to eventually move on to bigger projects, you might as well just move to C++ now and save yourself the trouble later.