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