Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 07 Jun 2012
Offline Last Active Feb 24 2015 01:27 AM

Posts I've Made

In Topic: Subtraction Problem in Java

23 February 2015 - 11:55 PM

Okay so floating point arithmetic in Java is an approximation. Understood, thanks guys. Thanks for the link, Glass_Knife.

In Topic: Any cool books out there on Game Programming tips

04 February 2015 - 09:51 PM

I would actually go against reading any book on game programming until you have at least 5 games of different genre under your belt that you wrote on your own. Just because building your own systems with your own creativity is like doing your own homework. Only reading the other books just as supplementals or until you have lived in the trenches in your projects. 

In Topic: Best Way to Save Player Information?

28 January 2015 - 05:07 PM

From my experience, I would suggest implementing the load/save system should be the highest priority on the to-do list. This approach makes the code implementation more readable. 


I remember implementing the load save feature for my 2D rpg. But that was the last feature I implemented of all the many things I coded for the game. It took me 3-4 days to implement the feature and on top of having duplicated code. 

In Topic: OO where do entity type definitions go?

27 January 2015 - 06:41 PM


As for where you put the data when you want it in memory... where ever you want.


so there is no best method then?


I would recommend where it is easy to modify and find the data. This allows you to iterate quickly.

In Topic: Would this be considered duplicate code?

23 January 2015 - 04:46 PM

But the key test for me is, if I ever need to modify one of the blocks, am I likely to need to modify the other blocks in the same way


oh yeah. I never questioned that. But I always have the thought of it. That is a great way to identify duplicate code.


Say, is producing duplicate code off the start a bad habit? I find myself doing it a lot.