Monday 2 December 2013

Programming Revision

Below are some of the programming works I have done during my free time.



The below code shows the movements of the bullet when it is fired from a gun.


Below shows the codes for 4 directional scrolling.



Below shows the codes for dragging an object using a mouse. (imagine the object is a map, will it remind you of some games with this scrolling mechanics?)


Below shows the codes for enemy chasing player based on the difference between their distance.


No comments:

Post a Comment