Permalink
Commits on Aug 25, 2012
  1. Up the versions and use the Part3_4_5.java as the main driver. The de…

    …mo will create SoundPart5.jnlp.
    committed Aug 25, 2012
  2. Up the version

    committed Aug 25, 2012
  3. Replaced the media player to use low latency AudioClip for sound effe…

    …cts. Media is for music.
    committed Aug 25, 2012
  4. Create a game world with sound. This class will load the sound resour…

    …ce's location not the actual media file.
    committed Aug 25, 2012
  5. When user chooses weapon using a '1' or '2' small or large respective…

    …ly the missiles will be launched relative to the nose tip of the ship. With the smaller diameter missile you would multiply the vector with a smaller scale so when launched it is closer to the nose tip. If using the larger missiles you want to multiply the vector with a larger scale to move missle further from the ship nose. Since the ship flies fast the inner collision circles can hit the missiles. May have to revisit collision algorithm to skip the ships hull.
    committed Aug 25, 2012
  6. When user chooses weapon using a '1' or '2' small or large respective…

    …ly the missiles will be launched relative to the nose tip of the ship. With the smaller diameter missile you would multiply the vector with a smaller scale so when launched it is closer to the nose tip. If using the larger missiles you want to multiply the vector with a larger scale to move missle further from the ship nose. Since the ship flies fast the inner collision circles can hit the missiles. May have to revisit collision algorithm to skip the ships hull.
    committed Aug 25, 2012
Commits on Aug 12, 2012
  1. updated comments. It used to pool media players. Now it just loads th…

    …em individually as separate media and media players to be spawned.
    committed Aug 12, 2012
  2. New ability to allow game to sound to play mp3 files located in the r…

    …esource directory of the demo project.
    committed Aug 12, 2012
Commits on Jun 11, 2012
  1. Added a hitBounds member variable (Jfx Circle) for collision detectio…

    …n. The initHitZone() method creates the collision bounded region of the ship. Also, I've scaled or translate the missile closer to the nose of the ship which is beyond the hit zone. If both regions are in the center you are shooting yourself. So beware when increasing the size of the hit zone. To make things better update the collide() method. Lastly, I've updated the shieldUp() method now called shieldToggle(). This method will swap the hitBounds or the shield.
    committed Jun 11, 2012
Commits on Jun 9, 2012
  1. Update version of the project and start up files. The code now includ…

    …es part 3 and part 4.
    committed Jun 9, 2012
  2. Added 3 members shieldOn, shield, shieldFade. The shieldOn is a flag …

    …when the player hit the space bar. The shield is the green force field used to protect ship. The shieldFade is the animated effect to pulsate the shield.
    
    A method is added to respond when the player is pressing the space bar on the keyboard to toggle the shields.
    committed Jun 9, 2012
  3. Include a collision area (Circle). Updated the default collide() meth…

    …od to observe collision using the distance formula.
    committed Jun 9, 2012
Commits on May 19, 2012
  1. Added comment to remind developer about the JNLP file needs the URL t…

    …o where the jnlp file will reside.
    
    Example:
    gradle -DhostUrl=http://mysite/games/game1
    committed May 19, 2012
  2. Initial revision.

    committed May 19, 2012
Commits on May 18, 2012
  1. Initial revision.

    committed May 18, 2012
  2. Initial revision.

    committed May 18, 2012
  3. Initial revision.

    committed May 18, 2012
  4. Initial revision.

    committed May 18, 2012
  5. Initial revision.

    committed May 18, 2012
  6. Initial revision.

    committed May 18, 2012
  7. Initial revision.

    committed May 18, 2012
  8. Initial revision.

    committed May 18, 2012
Commits on Apr 22, 2012
  1. Merge github.com:carldea/JFXGen

    committed Apr 22, 2012