A downloadable game

1. Summery 

I think the second assignment is mainly about how to design your own coding structure and make good interface. By doing this assignment, I think I got a better understanding about how to deal with  platform-specific codes.

And by separating geometry and effect parts, I learned how to make useful interfaces to my engine that it will be easier for future use. After doing this, we can draw more that one shape or use different effects on same shape easily.


2. Codes










3. Screenshots






4.  Others

About how to use platform-independent code to eliminate differences from two platforms, I will make the same interface (initialize, draw, effect ), and put the interface function in the Graphics.cpp file. Then users don't need to worry about which platform they use.

Download

Download
Assignment02.zip 166 kB

Leave a comment

Log in with itch.io to leave a comment.