Trump vs Jigglypuff

For this week’s homework, I just modify the game we designed in the class, add several components as below:

  1. Instead kill the Trump in the TrumpScript, I kill Trump in Jigglypuff script, with a judgement of collide with objects have tag “Trump”, in order to keep a count for achievement
  2. Take usage of UI.Text to generate count information
  3. Make the left and right wall, but it seems not work?
  4. Compare the WebGL and WebPlayer’s performance.

The WebGL version can be found here

The WebPlayer version can be found here

*JavaScript in Unity really sucks…