For this week’s homework, I just modify the game we designed in the class, add several components as below:
- 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
- Take usage of UI.Text to generate count information
- Make the left and right wall, but it seems not work?
- 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…