The game I made is anti-cheating Rock Paper Scissors game.
The control are:
Z, X, C — rock, paper, scissors for player 1
B, N, M — rock, paper, scissors for player 2
SPACE — replay
V — show/hide debug line (Debug version only)
I make this game so that there won’t be cheating in rock, paper, scissors game any longer! And I find it’s a good way to use the knowledge we use in this class.
Basically, this final project is a combination of the whole semester’s knowledge, including building assets, writing shaders, changing objects with constants, lighting, etc.
To save the resource, I simply make the scale x -1 change on the right objects. I use a singleton class called GameStates to control the whole game’s states and tell the computer when to draw what. Also, the sprite we learnt a few weeks ago is used to display the game info like the win/lose/draw information. Also it’ll change the light direction when the game state is win or lose, so that the winner will look brighter and loser will be darker.
This is a very helpful class for a technical artist like me. The class solved many of my questions I had in my mind before, like what the hard/soft normal are in Maya and why they look so different, on the other hand, I learnt a lot about the game engine’s structure, though it’s a pain in the first several weeks, it’s quite useful later in this semester. We can use it to import assets easily.
exe file: http://junyuan.me/GraphicHomework/Assignment13_exe_DEBUGandRELEASE.zip
time cost: 18 hrs