Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 07 Jun 2012
Offline Last Active Jul 26 2014 07:00 PM

Topics I've Started

Why Java games do not need installation

20 July 2014 - 01:58 PM

I never thought about this until now. The Java games I developed never need the installation treatment.

I can just distribute the Jar file executable (Java archive file) along with the src folder and the person can just click the jar file and the program gets loaded into ram and the user can play the game.

My games are all Java applications.

Does your game company do game jams and do they have to rebuild the code base?

10 July 2014 - 04:23 PM

I like to hear how everyone's game company jams work in terms of rules like how long they typically last and what you can and cannot do?

If you work in a triple a studio, do they do annual game jams?

Are hit boxes tweaked using an editor?

21 June 2014 - 07:07 AM

When I say editor, I am thinking the programmer performing an actual "shape wrapping" around the desired area of an entity in the game by selecting a collision object button. Whether or not this is true, I do not know but it is my reasonable guess that could be possible given my experience making games.

Do all 2D games do this?

03 June 2014 - 08:54 PM

The reason I ask is because I only want to drawn the tiles if their coordinates are "within" the screen. I figure this would improve performance of the game and be efficient code. I don't think I am optimizing...just making sure unnecessary things don't get drawn when the player is not going to see it.


I hear draw calls are expensive...so this is why I do this. I figure if I do not do this, the game might slow to a crawl when draw calls are being called even though the objects are not on the screen.


The game is a 2D platformer with a camera system. 


My Java code example:


update block:

if(getX() - camera.getX() < Screen.WIDTH)
draw = true;
draw = false;

draw block:


How to make a character fall off the block after it has been on it

03 June 2014 - 03:56 PM

Ignore the title: the actual title is here. How to prevent the character from jumping again if it is already in a "jumping state"?

state = ActionState.JUMPING;

public enum ActionState {

Code is in Java