Duck Hunt (LibGDX)

Hello JGO

To get to know how it is to make a game (the structure and everything), i have re-writen this classic NES game.

It took me from December 2013 to 17th February 2014, about 2 hours a day, even weekends.

http://4.bp.blogspot.com/-iDLZYGxceJc/UXl04DaDffI/AAAAAAAAATM/7_8N0GUGinU/s1600/duck-hunt.jpg

Desktop Version:
https://docs.google.com/file/d/0BziW53Fw7ZDqRU1PMDczNGl5TjQ/edit

Android Version:
https://docs.google.com/file/d/0BziW53Fw7ZDqYy1qNWtHemJEdkk/edit

Missing Features:
-Types of Ducks
-Ducks flying animation top and top-right-left
-?

Bugs:
-You can shoot ducks on Game Mode B after they have already flyed away and even without shots available.
-On some android screens the strings showing “Round” “Fly away” “Game Over” are shown at a wrong position.
-?

Source Code:

Thanks everyone.
Sebastián

Yes share the source code.

It is a clone/remake of a classic, I am presuming the graphics are already public domain so really you have nothing to fear in terms of theft.

Also about the bug, the text being written in the wrong places. This is due to different resolutions and is a common problem, try using a fixed viewport with your camera or read up on DIPs ( think that is the right acronym )

That is really good!

Only one issue; and this is a fatal flaw with the game. In the end, when it says ‘fly away,’ you cannot kill the dog! I clicked, tried the all the common cheat codes, but nothing worked! I think this may be a bug with your coding. I would suggest checking if you are disabling the gun during cutscenes. This seems to be a common issue with duck-hunt remakes…

Other than that horrible part, it is good! I love that you got good music to flow well into the different parts of the game. It seems you took the same assets from the original. Overall, it seems very true to the original!

I love it! But fix that bug. It just… breaks the game.
-wes

PS:
Just let out the source code. I probably won’t use it, but maybe someday a person new to libGDX will come and say “hey, I want to make an arcade game in libGDX! I wonder where I should look for help!”

K. Thanks!

haha! thanks!

yeah, that was the main objective of sharing the code, for jgo, for beginners, to thank the forum.

will do after i ask one more thing!