codes starting with int is a integer,
this set of codes is an easy equation, it's using the integers to tell the computer what to do.
in this case, it's ammo+ (ammoPickup * ammoPickUpDouble)) / ammoPickUpReduce
so (100 plus ( 10 times 2)) divide by 10 which is 12
Debug.Log is what makes the codes/results show on the console
My progress is kind of slow this week, but I will be starting to building my first level very soon, i will probably get to it after the winter vacation since there is still a lot of learning to do before i can start it.

No comments:
Post a Comment